author | dermotm |
Mon, 11 Apr 2005 08:50:58 +0000 | |
changeset 5333 | 817fa62bc95d |
parent 5285 | 0adbc5030bb3 |
child 5370 | 06fd4677e6e3 |
permissions | -rw-r--r-- |
73 | 1 |
Name: eog |
220 | 2 |
License: GPL |
3 |
Group: System/GUI/GNOME |
|
2677 | 4 |
Version: 2.6.1 |
5333 | 5 |
Release: 37 |
4867
e8cfe7e64783
*.spec (almost): update Vendor and Distribution tags
dermotm
parents:
4860
diff
changeset
|
6 |
Distribution: Java Desktop System, Release 3 |
575 | 7 |
Vendor: Sun Microsystems, Inc. |
220 | 8 |
Summary: Eye Of GNOME Image Viewer |
2402 | 9 |
Source: http://ftp.gnome.org/pub/GNOME/sources/eog/2.6/eog-%{version}.tar.bz2 |
5277 | 10 |
Source1: eog-l10n-po-1.14.tar.bz2 |
4930
09d44a00403a
* eog.spec, file-roller.spec, gaim.spec, gedit.spec, ggv.spec,
dc144907
parents:
4867
diff
changeset
|
11 |
Source2: l10n-configure.sh |
1456 | 12 |
Source3: eog.1.gz |
5285 | 13 |
Source4: eog-l10n-online-help-ci-linux-1.1.tar.bz2 |
5182 | 14 |
Source5: eog_docs-0.3.tar.bz2 |
5180
184410ad597b
* eog.spec: 6233036: Add Source6 to specify Linux version of docs tarball.
dc144907
parents:
5172
diff
changeset
|
15 |
Source6: eog_docs-0.4linux.tar.bz2 |
2746 | 16 |
Patch1: eog-01-image-collection-viewer.diff |
3082 | 17 |
Patch2: eog-02-print-preview.diff |
3734 | 18 |
Patch3: eog-03-l10n-online-help.diff |
4780 | 19 |
Patch4: eog-04-g11n-i18n-ui.diff |
5172 | 20 |
Patch5: eog-05-multihead-functionality.diff |
5259 | 21 |
Patch6: eog-06-full-screen-show.diff |
73 | 22 |
URL: http://www.gnome.org |
23 |
BuildRoot: %{_tmppath}/%{name}-%{version}-build |
|
220 | 24 |
Docdir: %{_defaultdocdir}/doc |
185 | 25 |
Autoreqprov: on |
26 |
||
2402 | 27 |
%define libgnomeui_version 2.5.90 |
28 |
%define libgnomeprintui_version 2.6.0 |
|
1229 | 29 |
%define scrollkeeper_version 0.3.12 |
2402 | 30 |
%define eel_version 2.5.90 |
185 | 31 |
|
1073 | 32 |
Requires: libgnomeui >= %{libgnomeui_version} |
1242 | 33 |
Requires: libgnomeprintui >= %{libgnomeprintui_version} |
2185 | 34 |
Requires: eel > %{eel_version} |
1073 | 35 |
BuildRequires: libgnomeui-devel >= %{libgnomeui_version} |
1242 | 36 |
BuildRequires: libgnomeprintui-devel >= %{libgnomeprintui_version} |
2185 | 37 |
BuildRequires: eel-devel >= %{eel_version} |
1073 | 38 |
BuildRequires: scrollkeeper >= %{scrollkeeper_version} |
1556 | 39 |
BuildRequires: intltool |
2456 | 40 |
BuildRequires: javahelp-convert |
73 | 41 |
|
42 |
%description |
|
220 | 43 |
The "Eye of GNOME" is a very fast picture viewer, which can either be used as a |
44 |
plugin for Nautilus, or as a standalone application. This version of EOG is |
|
45 |
compiled for the GNOME 2.0 Desktop platform. |
|
73 | 46 |
|
47 |
%prep |
|
1456 | 48 |
%setup -q |
2746 | 49 |
%patch1 -p1 |
3082 | 50 |
%patch2 -p1 |
3734 | 51 |
%patch3 -p1 |
4780 | 52 |
%patch4 -p1 |
5172 | 53 |
%patch5 -p1 |
5259 | 54 |
%patch6 -p1 |
2746 | 55 |
|
1522 | 56 |
bzcat %SOURCE1 | tar xvf - |
4930
09d44a00403a
* eog.spec, file-roller.spec, gaim.spec, gedit.spec, ggv.spec,
dc144907
parents:
4867
diff
changeset
|
57 |
%ifos solaris |
09d44a00403a
* eog.spec, file-roller.spec, gaim.spec, gedit.spec, ggv.spec,
dc144907
parents:
4867
diff
changeset
|
58 |
bzcat %SOURCE5 | tar xvf - |
09d44a00403a
* eog.spec, file-roller.spec, gaim.spec, gedit.spec, ggv.spec,
dc144907
parents:
4867
diff
changeset
|
59 |
%else |
09d44a00403a
* eog.spec, file-roller.spec, gaim.spec, gedit.spec, ggv.spec,
dc144907
parents:
4867
diff
changeset
|
60 |
bzcat %SOURCE6 | tar xvf - |
09d44a00403a
* eog.spec, file-roller.spec, gaim.spec, gedit.spec, ggv.spec,
dc144907
parents:
4867
diff
changeset
|
61 |
%endif |
3734 | 62 |
bzcat %SOURCE4 | tar xvf - |
1556 | 63 |
|
1169 | 64 |
|
4930
09d44a00403a
* eog.spec, file-roller.spec, gaim.spec, gedit.spec, ggv.spec,
dc144907
parents:
4867
diff
changeset
|
65 |
bash -x %SOURCE2 |
4455 | 66 |
|
73 | 67 |
%build |
3263 | 68 |
%ifos linux |
69 |
if [ -x /usr/bin/getconf ]; then |
|
70 |
CPUS=`getconf _NPROCESSORS_ONLN` |
|
71 |
fi |
|
72 |
%else |
|
3846 | 73 |
CPUS=`/usr/sbin/psrinfo | grep on-line | wc -l | tr -d ' '` |
3263 | 74 |
%endif |
75 |
if test "x$CPUS" = "x" -o $CPUS = 0; then |
|
76 |
CPUS=1 |
|
77 |
fi |
|
78 |
||
1229 | 79 |
gnome-doc-common |
439 | 80 |
libtoolize --force |
2093 | 81 |
aclocal $ACLOCAL_FLAGS -I %{_datadir}/aclocal/gnome2-macros |
439 | 82 |
automake -a -c -f |
83 |
autoconf |
|
84 |
||
220 | 85 |
CFLAGS="$RPM_OPT_FLAGS" \ |
86 |
./configure --prefix=%{_prefix} \ |
|
87 |
--sysconfdir=%{_sysconfdir} \ |
|
88 |
--libexecdir=%{_libexecdir} |
|
3263 | 89 |
make -j $CPUS |
73 | 90 |
|
91 |
%install |
|
2439 | 92 |
rm -rf $RPM_BUILD_ROOT |
73 | 93 |
export GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1 |
220 | 94 |
make DESTDIR=$RPM_BUILD_ROOT install |
73 | 95 |
unset GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL |
1522 | 96 |
install -d $RPM_BUILD_ROOT%{_mandir}/man1 |
97 |
install --mode=0644 %SOURCE3 $RPM_BUILD_ROOT%{_mandir}/man1 |
|
1456 | 98 |
#Copy zh_HK from zh_TW |
99 |
#Fixes bug 4930405 |
|
1522 | 100 |
install -d $RPM_BUILD_ROOT%{_datadir}/locale/zh_HK/LC_MESSAGES |
101 |
install --mode=0644 $RPM_BUILD_ROOT%{_datadir}/locale/zh_TW/LC_MESSAGES/*.mo $RPM_BUILD_ROOT%{_datadir}/locale/zh_HK/LC_MESSAGES/ |
|
3572 | 102 |
chmod 644 $RPM_BUILD_ROOT%{_datadir}/gnome/help/eog/*/*.xml |
73 | 103 |
|
2362
ef2590f64b05
Javahelp conversion : surrounded by %ifos calls, until solaris specifics are resolved
mattk
parents:
2350
diff
changeset
|
104 |
javahelp-convert-install $RPM_BUILD_ROOT %{name} %{name}.xml |
ef2590f64b05
Javahelp conversion : surrounded by %ifos calls, until solaris specifics are resolved
mattk
parents:
2350
diff
changeset
|
105 |
|
73 | 106 |
%clean |
107 |
rm -rf $RPM_BUILD_ROOT |
|
108 |
||
109 |
%post |
|
110 |
export GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source` |
|
111 |
SCHEMAS="eog.schemas" |
|
112 |
for S in $SCHEMAS; do |
|
113 |
gconftool-2 --makefile-install-rule %{_sysconfdir}/gconf/schemas/$S >/dev/null |
|
114 |
done |
|
115 |
||
116 |
%files |
|
117 |
%defattr (-, root, root) |
|
220 | 118 |
%{_bindir}/* |
119 |
%{_datadir}/locale/*/LC_MESSAGES/*.mo |
|
73 | 120 |
%{_sysconfdir}/gconf/schemas/eog.schemas |
185 | 121 |
%{_datadir}/applications/eog.desktop |
122 |
%{_datadir}/pixmaps/gnome-eog.png |
|
1229 | 123 |
%{_datadir}/pixmaps/eog |
185 | 124 |
%{_datadir}/gnome-2.0/ui/* |
1229 | 125 |
%{_libdir}/bonobo/servers/*.server |
185 | 126 |
%{_datadir}/idl/Eog.idl |
220 | 127 |
%{_libexecdir}/* |
400 | 128 |
%{_datadir}/eog/* |
439 | 129 |
%{_datadir}/omf/eog/* |
130 |
%{_datadir}/gnome/help/* |
|
2362
ef2590f64b05
Javahelp conversion : surrounded by %ifos calls, until solaris specifics are resolved
mattk
parents:
2350
diff
changeset
|
131 |
%{_datadir}/gnome/javahelp/* |
1456 | 132 |
%{_datadir}/man/man1/* |
73 | 133 |
|
220 | 134 |
%changelog |
5259 | 135 |
* Mon Mar 21 2005 - [email protected] |
136 |
- Added eog-06-full-screen-show.diff to see that gtk_grab_add is |
|
137 |
done only when no other widget holds the grab. |
|
138 |
Fixes bug #6238888. |
|
139 |
||
5180
184410ad597b
* eog.spec: 6233036: Add Source6 to specify Linux version of docs tarball.
dc144907
parents:
5172
diff
changeset
|
140 |
* Mon Mar 07 2005 - [email protected] |
184410ad597b
* eog.spec: 6233036: Add Source6 to specify Linux version of docs tarball.
dc144907
parents:
5172
diff
changeset
|
141 |
* 6233036: Add Source6 to specify Linux version of docs tarball. |
184410ad597b
* eog.spec: 6233036: Add Source6 to specify Linux version of docs tarball.
dc144907
parents:
5172
diff
changeset
|
142 |
|
5172 | 143 |
* Thu Mar 03 2005 - [email protected] |
144 |
- Added eog-05-multihead-functionality.diff to |
|
145 |
make eog functional on a multihead system. |
|
146 |
Fixes bug #4893502. |
|
147 |
||
5121 | 148 |
* Tue Feb 22 2005 - [email protected] |
149 |
* Correct name of docs tarball. |
|
150 |
||
5113
e5612ab1673b
* eog.spec: Correct commit of Jan 25 to update docs tarball to 0.4. This fixes
dc144907
parents:
5082
diff
changeset
|
151 |
* Mon Feb 21 2005 - [email protected] |
e5612ab1673b
* eog.spec: Correct commit of Jan 25 to update docs tarball to 0.4. This fixes
dc144907
parents:
5082
diff
changeset
|
152 |
- Correct commit of Jan 25 to update docs tarball to 0.4. |
e5612ab1673b
* eog.spec: Correct commit of Jan 25 to update docs tarball to 0.4. This fixes
dc144907
parents:
5082
diff
changeset
|
153 |
|
5033 | 154 |
* Tue Feb 08 2005 - [email protected] |
155 |
- Updated eog-02-print-preview.diff to see that the print-preview window |
|
156 |
does not diminish in size when invoked multiple times. Fixes bug #6221186. |
|
157 |
||
4930
09d44a00403a
* eog.spec, file-roller.spec, gaim.spec, gedit.spec, ggv.spec,
dc144907
parents:
4867
diff
changeset
|
158 |
* Tue Jan 25 2005 - [email protected] |
09d44a00403a
* eog.spec, file-roller.spec, gaim.spec, gedit.spec, ggv.spec,
dc144907
parents:
4867
diff
changeset
|
159 |
- Update docs with Linux specific tarball from [email protected]. |
09d44a00403a
* eog.spec, file-roller.spec, gaim.spec, gedit.spec, ggv.spec,
dc144907
parents:
4867
diff
changeset
|
160 |
|
4844 | 161 |
* Fri Jan 14 2005 - [email protected] |
162 |
- Updated l10n help tarball for cinnabar-linux |
|
163 |
||
4780 | 164 |
* Wed Dec 22 2004 - [email protected] |
165 |
- Added eog-04-g11n-i18n-ui.diff to localize eog printer dialog. Fix bug 6174164 |
|
166 |
||
3734 | 167 |
* Wed Aug 25 2004 - [email protected] |
168 |
- Added l10n help contents with patch |
|
169 |
||
3572 | 170 |
* Mon Aug 16 2004 - [email protected] |
171 |
- Updated /usr/share/gnome/help/eog/*/*.xml to 0644 for Solaris integration |
|
172 |
||
3487 | 173 |
* Thu Aug 05 2004 - [email protected] |
174 |
- Incorporate new docs tarball from [email protected]. |
|
175 |
||
3279
5d64ee516a02
Bumped l10n tarball revision from 1.1 to 1.2 in all spec-files.
damiend
parents:
3263
diff
changeset
|
176 |
* Thu Jul 08 2004 - [email protected] |
5d64ee516a02
Bumped l10n tarball revision from 1.1 to 1.2 in all spec-files.
damiend
parents:
3263
diff
changeset
|
177 |
- Updated l10n content to eog-l10n-po-1.2.tar.bz2 |
5d64ee516a02
Bumped l10n tarball revision from 1.1 to 1.2 in all spec-files.
damiend
parents:
3263
diff
changeset
|
178 |
|
3263 | 179 |
* Wed Jul 07 2004 - [email protected] |
180 |
- added "-j $CPUS" to make to speed up builds |
|
181 |
||
3082 | 182 |
* Thu Jun 10 2004 - [email protected] |
3263 | 183 |
- Added patch for print preview. |
3082 | 184 |
|
2942
36dd168a11be
* eog.spec, file-roller.spec, gcalctool.spec,gnome-applets.spec,
dc144907
parents:
2777
diff
changeset
|
185 |
* Fri May 28 2004 - [email protected] |
36dd168a11be
* eog.spec, file-roller.spec, gcalctool.spec,gnome-applets.spec,
dc144907
parents:
2777
diff
changeset
|
186 |
- Incorporate new docs tarball from [email protected]. |
36dd168a11be
* eog.spec, file-roller.spec, gcalctool.spec,gnome-applets.spec,
dc144907
parents:
2777
diff
changeset
|
187 |
|
2746 | 188 |
* Thu May 13 2004 - [email protected] |
189 |
- Added patch eog-01-image-collection-viewer.diff to provide viewer_label |
|
190 |
for Image Collection Viewer. Fixes bugtraq bug#5043908. Also the changes |
|
191 |
have been committed to community CVS HEAD on May 12 2004 |
|
192 |
(bugzilla bug#142347) |
|
193 |
||
2736
bd6e69980863
Updated all spec files to reflect 1.1 version l10n tarballs delivered into
damiend
parents:
2677
diff
changeset
|
194 |
* Wed May 12 2004 - [email protected] |
bd6e69980863
Updated all spec files to reflect 1.1 version l10n tarballs delivered into
damiend
parents:
2677
diff
changeset
|
195 |
- Updated l10n content to eog-l10n-po-1.1.tar.bz2 |
bd6e69980863
Updated all spec files to reflect 1.1 version l10n tarballs delivered into
damiend
parents:
2677
diff
changeset
|
196 |
|
2677 | 197 |
* Fri May 07 2004 - [email protected] |
198 |
- Bump to 2.6.1 |
|
199 |
||
2485 | 200 |
* Sun Apr 18 2004 - [email protected] |
201 |
- enable javahelp conversion on Solaris |
|
202 |
||
2439 | 203 |
* Fri Apr 09 2004 - [email protected] |
204 |
- Change the way the build directory is cleaned so that eog and |
|
205 |
gthumb can be built into the same Solaris package. |
|
206 |
||
2402 | 207 |
* Tue Apr 06 2004 - [email protected] |
208 |
- Bump to 2.6.0 |
|
209 |
||
2362
ef2590f64b05
Javahelp conversion : surrounded by %ifos calls, until solaris specifics are resolved
mattk
parents:
2350
diff
changeset
|
210 |
* Thu Apr 01 2004 - [email protected] |
ef2590f64b05
Javahelp conversion : surrounded by %ifos calls, until solaris specifics are resolved
mattk
parents:
2350
diff
changeset
|
211 |
- Javahelp conversion |
ef2590f64b05
Javahelp conversion : surrounded by %ifos calls, until solaris specifics are resolved
mattk
parents:
2350
diff
changeset
|
212 |
|
2350 | 213 |
* Mon Mar 29 2004 - [email protected] |
214 |
- Updated l10n content to eog-l10n-po-1.0.tar.bz2 |
|
215 |
||
2093 | 216 |
* Mon Mar 01 2004 - <[email protected]> |
217 |
- add $ACLOCAL_FLAGS to aclocal args |
|
218 |
||
1589 | 219 |
* Fri Feb 06 2004 - <[email protected]> |
220 |
- Bump tarball to 2.5.4 because of intltool (OrigTree) Failures |
|
221 |
- Remove patch1 and patch2 no longer needed |
|
222 |
- bump l10n release |
|
223 |
||
1556 | 224 |
* Thu Jan 29 2004 - <[email protected]> |
225 |
- add patch 02 for intltool-merge and dep. on intltool |
|
226 |
||
1456 | 227 |
* Wed Dec 17 2003 - <[email protected]> |
228 |
- Bump to 2.5.1 |
|
229 |
||
1369 | 230 |
* Fri Oct 31 2003 - <[email protected]> |
231 |
- Remove potfiles patch [not needed] and Sun Support |
|
232 |
keyword patch, since we're no longer using the Extras |
|
233 |
menu. |
|
234 |
||
235 |
- Update to 2.4.0 |
|
1229 | 236 |
* Fri Oct 10 2003 - <[email protected]> |
237 |
- Update to 2.4.0 |
|
238 |
||
1169 | 239 |
* Fri Sep 26 2003 - <[email protected]> |
240 |
- Integrate Sun docs |
|
241 |
||
1017 | 242 |
* Fri Aug 07 2003 - <[email protected]> |
243 |
- Add mnemonics to some menu items. |
|
244 |
||
877 | 245 |
* Fri Aug 01 2003 - <[email protected]> |
246 |
- Add recent files support |
|
247 |
||
859 | 248 |
* Wed Jul 30 2003 - <[email protected]> |
249 |
- New tarball |
|
250 |
||
825 | 251 |
* Mon Jul 28 2003 - <[email protected]> |
252 |
- Change menu entry. |
|
253 |
||
506 | 254 |
* Wed Jul 09 2003 - <[email protected]> |
255 |
- add in sun po files |
|
256 |
||
400 | 257 |
* Wed Jul 02 2003 - [email protected] |
258 |
- Fix up the install of the glade file to stop things |
|
259 |
crashing |
|
260 |
||
73 | 261 |
* Wed May 14 2003 - [email protected] |
262 |
- initial release |