author | dcarbery |
Fri, 24 Nov 2006 16:37:59 +0000 | |
branch | 217update |
changeset 19096 | d542fc2c823e |
parent 19072 | 15e08f793877 |
child 8684 | 543ae37da19d |
permissions | -rw-r--r-- |
5518 | 1 |
# |
2 |
# spec file for package eog |
|
3 |
# |
|
4 |
# Copyright (c) 2005 Sun Microsystems, Inc. |
|
5 |
# This file and all modifications and additions to the pristine |
|
6 |
# package are under the same license as the package itself. |
|
7 |
# |
|
8529 | 8 |
# Owner: rickju |
9 |
# |
|
73 | 10 |
Name: eog |
220 | 11 |
License: GPL |
12 |
Group: System/GUI/GNOME |
|
19072 | 13 |
Version: 2.17.1 |
5518 | 14 |
Release: 1 |
15 |
Distribution: Java Desktop System |
|
575 | 16 |
Vendor: Sun Microsystems, Inc. |
220 | 17 |
Summary: Eye Of GNOME Image Viewer |
19072 | 18 |
Source: http://ftp.gnome.org/pub/GNOME/sources/eog/2.17/eog-%{version}.tar.bz2 |
5518 | 19 |
Source1: eog.1.gz |
20 |
Patch1: eog-01-full-screen-show.diff |
|
21 |
Patch2: eog-02-jpeg.diff |
|
6061
972fea89163b
* eog.spec: Add patch to link eog/shell with X11. Bugzilla 317828.
dc144907
parents:
5895
diff
changeset
|
22 |
Patch3: eog-03-shell-X11.diff |
8426 | 23 |
Patch4: eog-04-menu-entry.diff |
73 | 24 |
URL: http://www.gnome.org |
25 |
BuildRoot: %{_tmppath}/%{name}-%{version}-build |
|
220 | 26 |
Docdir: %{_defaultdocdir}/doc |
185 | 27 |
Autoreqprov: on |
28 |
||
2402 | 29 |
%define libgnomeui_version 2.5.90 |
30 |
%define libgnomeprintui_version 2.6.0 |
|
1229 | 31 |
%define scrollkeeper_version 0.3.12 |
2402 | 32 |
%define eel_version 2.5.90 |
185 | 33 |
|
1073 | 34 |
Requires: libgnomeui >= %{libgnomeui_version} |
1242 | 35 |
Requires: libgnomeprintui >= %{libgnomeprintui_version} |
2185 | 36 |
Requires: eel > %{eel_version} |
5518 | 37 |
Prereq: GConf |
1073 | 38 |
BuildRequires: libgnomeui-devel >= %{libgnomeui_version} |
1242 | 39 |
BuildRequires: libgnomeprintui-devel >= %{libgnomeprintui_version} |
2185 | 40 |
BuildRequires: eel-devel >= %{eel_version} |
1073 | 41 |
BuildRequires: scrollkeeper >= %{scrollkeeper_version} |
1556 | 42 |
BuildRequires: intltool |
73 | 43 |
|
44 |
%description |
|
220 | 45 |
The "Eye of GNOME" is a very fast picture viewer, which can either be used as a |
46 |
plugin for Nautilus, or as a standalone application. This version of EOG is |
|
47 |
compiled for the GNOME 2.0 Desktop platform. |
|
73 | 48 |
|
49 |
%prep |
|
1456 | 50 |
%setup -q |
2746 | 51 |
%patch1 -p1 |
3082 | 52 |
%patch2 -p1 |
6061
972fea89163b
* eog.spec: Add patch to link eog/shell with X11. Bugzilla 317828.
dc144907
parents:
5895
diff
changeset
|
53 |
%patch3 -p1 |
8426 | 54 |
%patch4 -p1 |
4455 | 55 |
|
7793 | 56 |
for po in po/*.po; do |
57 |
dos2unix -ascii $po $po |
|
58 |
done |
|
59 |
||
60 |
||
73 | 61 |
%build |
3263 | 62 |
%ifos linux |
6061
972fea89163b
* eog.spec: Add patch to link eog/shell with X11. Bugzilla 317828.
dc144907
parents:
5895
diff
changeset
|
63 |
if [ -3 /usr/bin/getconf ]; then |
3263 | 64 |
CPUS=`getconf _NPROCESSORS_ONLN` |
65 |
fi |
|
66 |
%else |
|
3846 | 67 |
CPUS=`/usr/sbin/psrinfo | grep on-line | wc -l | tr -d ' '` |
3263 | 68 |
%endif |
69 |
if test "x$CPUS" = "x" -o $CPUS = 0; then |
|
70 |
CPUS=1 |
|
71 |
fi |
|
72 |
||
1229 | 73 |
gnome-doc-common |
439 | 74 |
libtoolize --force |
6614 | 75 |
glib-gettextize -f |
6600 | 76 |
intltoolize --force --copy |
5518 | 77 |
aclocal $ACLOCAL_FLAGS |
439 | 78 |
automake -a -c -f |
79 |
autoconf |
|
80 |
||
220 | 81 |
CFLAGS="$RPM_OPT_FLAGS" \ |
82 |
./configure --prefix=%{_prefix} \ |
|
83 |
--sysconfdir=%{_sysconfdir} \ |
|
7705 | 84 |
--libexecdir=%{_libexecdir} \ |
85 |
--without-lcms |
|
3263 | 86 |
make -j $CPUS |
73 | 87 |
|
88 |
%install |
|
2439 | 89 |
rm -rf $RPM_BUILD_ROOT |
73 | 90 |
export GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1 |
220 | 91 |
make DESTDIR=$RPM_BUILD_ROOT install |
73 | 92 |
unset GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL |
1522 | 93 |
install -d $RPM_BUILD_ROOT%{_mandir}/man1 |
5518 | 94 |
install --mode=0644 %SOURCE1 $RPM_BUILD_ROOT%{_mandir}/man1 |
1456 | 95 |
#Copy zh_HK from zh_TW |
96 |
#Fixes bug 4930405 |
|
1522 | 97 |
install -d $RPM_BUILD_ROOT%{_datadir}/locale/zh_HK/LC_MESSAGES |
98 |
install --mode=0644 $RPM_BUILD_ROOT%{_datadir}/locale/zh_TW/LC_MESSAGES/*.mo $RPM_BUILD_ROOT%{_datadir}/locale/zh_HK/LC_MESSAGES/ |
|
3572 | 99 |
chmod 644 $RPM_BUILD_ROOT%{_datadir}/gnome/help/eog/*/*.xml |
73 | 100 |
|
2362
ef2590f64b05
Javahelp conversion : surrounded by %ifos calls, until solaris specifics are resolved
mattk
parents:
2350
diff
changeset
|
101 |
|
73 | 102 |
%clean |
103 |
rm -rf $RPM_BUILD_ROOT |
|
104 |
||
105 |
%post |
|
106 |
export GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source` |
|
107 |
SCHEMAS="eog.schemas" |
|
108 |
for S in $SCHEMAS; do |
|
109 |
gconftool-2 --makefile-install-rule %{_sysconfdir}/gconf/schemas/$S >/dev/null |
|
110 |
done |
|
111 |
||
112 |
%files |
|
113 |
%defattr (-, root, root) |
|
220 | 114 |
%{_bindir}/* |
73 | 115 |
%{_sysconfdir}/gconf/schemas/eog.schemas |
185 | 116 |
%{_datadir}/applications/eog.desktop |
400 | 117 |
%{_datadir}/eog/* |
439 | 118 |
%{_datadir}/gnome/help/* |
5518 | 119 |
%{_datadir}/locale/*/LC_MESSAGES/*.mo |
120 |
%{_datadir}/omf/eog/* |
|
121 |
%{_datadir}/pixmaps/* |
|
1456 | 122 |
%{_datadir}/man/man1/* |
5565
b1beceba7539
* vino.spec: Remove PATH setting as it is not used (info was wrong and
dc144907
parents:
5528
diff
changeset
|
123 |
%{_prefix}/var/scrollkeeper |
73 | 124 |
|
220 | 125 |
%changelog |
19072 | 126 |
* Mon Nov 20 2006 - [email protected] |
127 |
- Bump to 2.17.1. |
|
8385 | 128 |
* Fri Oct 20 2006 - [email protected] |
129 |
- Bump to 2.16.1.1. |
|
8232 | 130 |
* Mon Oct 02 2006 - [email protected] |
131 |
- Bump to 2.16.1. |
|
8052 | 132 |
* Mon Sep 04 2006 - [email protected] |
8060 | 133 |
- Bump to 2.16.0.1. |
134 |
* Mon Sep 04 2006 - [email protected] |
|
8052 | 135 |
- Bump to 2.16.0. |
7950 | 136 |
* Tue Aug 22 2006 - [email protected] |
137 |
- Bump to 2.15.92. |
|
7878 | 138 |
* Tue Aug 08 2006 - [email protected] |
139 |
- Bump to 2.15.91. |
|
7793 | 140 |
* Thu Jul 27 2006 - [email protected] |
141 |
- Add dos2unix call to fix po files. |
|
7743 | 142 |
* Mon Jul 24 2006 - [email protected] |
143 |
- Bump to 2.15.90. |
|
7705 | 144 |
* Fri Jul 21 2006 - [email protected] |
145 |
- add --without-lcms to avoid accidentally picking up liblcms (part of |
|
146 |
spec-files-extra), fixes 6425540 |
|
7666 | 147 |
* Web Jul 19 2006 - [email protected] |
148 |
- Bump to 2.15.4. |
|
7042 | 149 |
* Tue Apr 11 2006 - [email protected] |
150 |
- Bump to 2.14.1. |
|
6929 | 151 |
* Tue Mar 14 2006 - [email protected] |
152 |
- Bump to 2.14.0. |
|
6884 | 153 |
* Sun Mar 5 2006 - [email protected] |
154 |
- Bump to 2.13.92. |
|
6773 | 155 |
* Wed Feb 15 2006 - [email protected] |
156 |
- Bump to 2.13.91. |
|
6614 | 157 |
* Thu Jan 19 2006 - [email protected] |
158 |
- Running glib-gettextize is a better fix than patching the Makefile to |
|
159 |
not go into the po directory. This fixes infinite loop also. |
|
6600 | 160 |
* Wed Jan 18 2006 - [email protected] |
161 |
- Add intltoolize call. |
|
6583 | 162 |
* Tue Jan 17 2006 - [email protected] |
163 |
- Bump to 2.13.5 |
|
6564
480b9993069a
* control-center.spec, eog.spec, gcalctool.spec, gdm.spec, gedit.spec,
dc144907
parents:
6430
diff
changeset
|
164 |
* Sun Jan 15 2006 - [email protected] |
480b9993069a
* control-center.spec, eog.spec, gcalctool.spec, gdm.spec, gedit.spec,
dc144907
parents:
6430
diff
changeset
|
165 |
- Bump to 2.13.4 |
6430
1681dbb1a1ce
eog.spec: Bump to 2.13.3; gthumb.spec: Bump to 2.7.1
dermotm
parents:
6299
diff
changeset
|
166 |
* Tue Dec 20 2005 - [email protected] |
1681dbb1a1ce
eog.spec: Bump to 2.13.3; gthumb.spec: Bump to 2.7.1
dermotm
parents:
6299
diff
changeset
|
167 |
- Bump to 2.13.3 |
6299 | 168 |
* Tue Nov 29 2005 - laca.com |
169 |
- remove javahelp stuff |
|
6297
325024482887
* eel.spec eog.spec evolution.spec evolution-data-server.spec
dc144907
parents:
6080
diff
changeset
|
170 |
* Tue Nov 29 2005 - [email protected] |
325024482887
* eel.spec eog.spec evolution.spec evolution-data-server.spec
dc144907
parents:
6080
diff
changeset
|
171 |
- Bump to 2.12.2. |
6080
4b30e2aa0fc7
* bug-buddy.spec control-center.spec eel.spec eog.spec
dc144907
parents:
6061
diff
changeset
|
172 |
* Tue Oct 11 2005 - [email protected] |
4b30e2aa0fc7
* bug-buddy.spec control-center.spec eel.spec eog.spec
dc144907
parents:
6061
diff
changeset
|
173 |
- Bump to 2.12.1 |
6061
972fea89163b
* eog.spec: Add patch to link eog/shell with X11. Bugzilla 317828.
dc144907
parents:
5895
diff
changeset
|
174 |
* Mon Oct 03 2005 - [email protected] |
972fea89163b
* eog.spec: Add patch to link eog/shell with X11. Bugzilla 317828.
dc144907
parents:
5895
diff
changeset
|
175 |
- Add patch to link with X11 to build on Solaris. Bugzilla 317828. |
5895 | 176 |
* Sat Sep 17 2005 - [email protected] |
177 |
- Bump to 2.12.0 |
|
5719
2e95a68e5ca1
* GConf.spec at-spi.spec atk.spec bug-buddy.spec eel.spec eog.spec
dc144907
parents:
5565
diff
changeset
|
178 |
* Mon Sep 05 2005 - [email protected] |
2e95a68e5ca1
* GConf.spec at-spi.spec atk.spec bug-buddy.spec eel.spec eog.spec
dc144907
parents:
5565
diff
changeset
|
179 |
- Bump to 2.11.92. |
5528
8eaf8a1cb170
* *.spec: Bump to latest available versions for 2.11 work.
dc144907
parents:
5518
diff
changeset
|
180 |
* Mon Aug 15 2005 - [email protected] |
8eaf8a1cb170
* *.spec: Bump to latest available versions for 2.11 work.
dc144907
parents:
5518
diff
changeset
|
181 |
- Bump to 2.11.90. |
5518 | 182 |
* Thu Aug 04 2005 - [email protected] |
183 |
- removed patch image-save-as.diff, fix now in gnome-vfs |
|
184 |
* Thu Jun 23 2005 - [email protected] |
|
185 |
- Fix files getting deleted when doing a save as. Fixes #6288517 |
|
186 |
* Thu May 19 2005 - [email protected] |
|
187 |
- Bump to 2.10.0 |
|
188 |
* Fri May 05 2005 - [email protected] |
|
189 |
- updating l10n po tarball to 1.15. Fixing CR 6265841 |
|
5259 | 190 |
* Mon Mar 21 2005 - [email protected] |
191 |
- Added eog-06-full-screen-show.diff to see that gtk_grab_add is |
|
192 |
done only when no other widget holds the grab. |
|
193 |
Fixes bug #6238888. |
|
5180
184410ad597b
* eog.spec: 6233036: Add Source6 to specify Linux version of docs tarball.
dc144907
parents:
5172
diff
changeset
|
194 |
* Mon Mar 07 2005 - [email protected] |
184410ad597b
* eog.spec: 6233036: Add Source6 to specify Linux version of docs tarball.
dc144907
parents:
5172
diff
changeset
|
195 |
* 6233036: Add Source6 to specify Linux version of docs tarball. |
5172 | 196 |
* Thu Mar 03 2005 - [email protected] |
197 |
- Added eog-05-multihead-functionality.diff to |
|
198 |
make eog functional on a multihead system. |
|
199 |
Fixes bug #4893502. |
|
5121 | 200 |
* Tue Feb 22 2005 - [email protected] |
201 |
* Correct name of docs tarball. |
|
5113
e5612ab1673b
* eog.spec: Correct commit of Jan 25 to update docs tarball to 0.4. This fixes
dc144907
parents:
5082
diff
changeset
|
202 |
* 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
|
203 |
- Correct commit of Jan 25 to update docs tarball to 0.4. |
5033 | 204 |
* Tue Feb 08 2005 - [email protected] |
205 |
- Updated eog-02-print-preview.diff to see that the print-preview window |
|
206 |
does not diminish in size when invoked multiple times. Fixes bug #6221186. |
|
4930
09d44a00403a
* eog.spec, file-roller.spec, gaim.spec, gedit.spec, ggv.spec,
dc144907
parents:
4867
diff
changeset
|
207 |
* Tue Jan 25 2005 - [email protected] |
09d44a00403a
* eog.spec, file-roller.spec, gaim.spec, gedit.spec, ggv.spec,
dc144907
parents:
4867
diff
changeset
|
208 |
- Update docs with Linux specific tarball from [email protected]. |
4844 | 209 |
* Fri Jan 14 2005 - [email protected] |
210 |
- Updated l10n help tarball for cinnabar-linux |
|
4780 | 211 |
* Wed Dec 22 2004 - [email protected] |
7705 | 212 |
- Added eog-04-g11n-i18n-ui.diff to localize eog printer dialog. |
213 |
Fix bug 6174164 |
|
3734 | 214 |
* Wed Aug 25 2004 - [email protected] |
215 |
- Added l10n help contents with patch |
|
3572 | 216 |
* Mon Aug 16 2004 - [email protected] |
217 |
- Updated /usr/share/gnome/help/eog/*/*.xml to 0644 for Solaris integration |
|
3487 | 218 |
* Thu Aug 05 2004 - [email protected] |
219 |
- Incorporate new docs tarball from [email protected]. |
|
3279
5d64ee516a02
Bumped l10n tarball revision from 1.1 to 1.2 in all spec-files.
damiend
parents:
3263
diff
changeset
|
220 |
* 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
|
221 |
- Updated l10n content to eog-l10n-po-1.2.tar.bz2 |
3263 | 222 |
* Wed Jul 07 2004 - [email protected] |
223 |
- added "-j $CPUS" to make to speed up builds |
|
3082 | 224 |
* Thu Jun 10 2004 - [email protected] |
3263 | 225 |
- Added patch for print preview. |
2942
36dd168a11be
* eog.spec, file-roller.spec, gcalctool.spec,gnome-applets.spec,
dc144907
parents:
2777
diff
changeset
|
226 |
* Fri May 28 2004 - [email protected] |
36dd168a11be
* eog.spec, file-roller.spec, gcalctool.spec,gnome-applets.spec,
dc144907
parents:
2777
diff
changeset
|
227 |
- Incorporate new docs tarball from [email protected]. |
2746 | 228 |
* Thu May 13 2004 - [email protected] |
229 |
- Added patch eog-01-image-collection-viewer.diff to provide viewer_label |
|
230 |
for Image Collection Viewer. Fixes bugtraq bug#5043908. Also the changes |
|
231 |
have been committed to community CVS HEAD on May 12 2004 |
|
232 |
(bugzilla bug#142347) |
|
2736
bd6e69980863
Updated all spec files to reflect 1.1 version l10n tarballs delivered into
damiend
parents:
2677
diff
changeset
|
233 |
* 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
|
234 |
- Updated l10n content to eog-l10n-po-1.1.tar.bz2 |
2677 | 235 |
* Fri May 07 2004 - [email protected] |
236 |
- Bump to 2.6.1 |
|
2485 | 237 |
* Sun Apr 18 2004 - [email protected] |
238 |
- enable javahelp conversion on Solaris |
|
2439 | 239 |
* Fri Apr 09 2004 - [email protected] |
240 |
- Change the way the build directory is cleaned so that eog and |
|
241 |
gthumb can be built into the same Solaris package. |
|
2402 | 242 |
* Tue Apr 06 2004 - [email protected] |
243 |
- Bump to 2.6.0 |
|
2362
ef2590f64b05
Javahelp conversion : surrounded by %ifos calls, until solaris specifics are resolved
mattk
parents:
2350
diff
changeset
|
244 |
* Thu Apr 01 2004 - [email protected] |
ef2590f64b05
Javahelp conversion : surrounded by %ifos calls, until solaris specifics are resolved
mattk
parents:
2350
diff
changeset
|
245 |
- Javahelp conversion |
2350 | 246 |
* Mon Mar 29 2004 - [email protected] |
247 |
- Updated l10n content to eog-l10n-po-1.0.tar.bz2 |
|
2093 | 248 |
* Mon Mar 01 2004 - <[email protected]> |
249 |
- add $ACLOCAL_FLAGS to aclocal args |
|
1589 | 250 |
* Fri Feb 06 2004 - <[email protected]> |
251 |
- Bump tarball to 2.5.4 because of intltool (OrigTree) Failures |
|
252 |
- Remove patch1 and patch2 no longer needed |
|
253 |
- bump l10n release |
|
1556 | 254 |
* Thu Jan 29 2004 - <[email protected]> |
255 |
- add patch 02 for intltool-merge and dep. on intltool |
|
1456 | 256 |
* Wed Dec 17 2003 - <[email protected]> |
257 |
- Bump to 2.5.1 |
|
1369 | 258 |
* Fri Oct 31 2003 - <[email protected]> |
259 |
- Remove potfiles patch [not needed] and Sun Support |
|
260 |
keyword patch, since we're no longer using the Extras |
|
261 |
menu. |
|
262 |
- Update to 2.4.0 |
|
1229 | 263 |
* Fri Oct 10 2003 - <[email protected]> |
264 |
- Update to 2.4.0 |
|
1169 | 265 |
* Fri Sep 26 2003 - <[email protected]> |
266 |
- Integrate Sun docs |
|
1017 | 267 |
* Fri Aug 07 2003 - <[email protected]> |
268 |
- Add mnemonics to some menu items. |
|
877 | 269 |
* Fri Aug 01 2003 - <[email protected]> |
270 |
- Add recent files support |
|
859 | 271 |
* Wed Jul 30 2003 - <[email protected]> |
272 |
- New tarball |
|
825 | 273 |
* Mon Jul 28 2003 - <[email protected]> |
274 |
- Change menu entry. |
|
506 | 275 |
* Wed Jul 09 2003 - <[email protected]> |
276 |
- add in sun po files |
|
400 | 277 |
* Wed Jul 02 2003 - [email protected] |
278 |
- Fix up the install of the glade file to stop things |
|
279 |
crashing |
|
73 | 280 |
* Wed May 14 2003 - [email protected] |
281 |
- initial release |