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