author | dermotm |
Mon, 24 Jul 2006 12:30:39 +0000 | |
branch | gnome-2-10 |
changeset 19949 | 94f49bf19351 |
parent 19849 | a293dde3ea50 |
permissions | -rw-r--r-- |
19693 | 1 |
# |
2 |
# spec file for package gthumb |
|
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 |
# |
|
556 | 8 |
Name: gthumb |
9 |
License: GPL |
|
10 |
Group: Applications/Multimedia |
|
19413
d18fe9cd8d73
Bump various tarballs, remove/re-apply some patches
mattk
parents:
19243
diff
changeset
|
11 |
Version: 2.6.5 |
5370 | 12 |
Release: 40 |
19693 | 13 |
Distribution: Java Desktop System |
575 | 14 |
Vendor: Sun Microsystems, Inc. |
556 | 15 |
Summary: An image viewer and browser for GNOME. |
19643 | 16 |
Source: http://ftp.gnome.org/pub/GNOME/sources/gthumb/2.6/%{name}-%{version}.tar.bz2 |
942 | 17 |
Patch1: gthumb-01-menu-entry.diff |
2365 | 18 |
Patch2: gthumb-02-fix-makefile.diff |
3083 | 19 |
Patch3: gthumb-03-search.diff |
556 | 20 |
URL: http://gthumb.sourceforge.net/ |
2362
ef2590f64b05
Javahelp conversion : surrounded by %ifos calls, until solaris specifics are resolved
mattk
parents:
2355
diff
changeset
|
21 |
BuildRoot: %{_tmppath}/%{name}-%{version}-build |
556 | 22 |
Docdir: %{_docdir}/doc |
23 |
Autoreqprov: on |
|
24 |
||
25 |
BuildRequires: libpng-devel |
|
3628 | 26 |
BuildRequires: glib2-devel >= 2.4.0 |
27 |
BuildRequires: gtk2-devel >= 2.4.0 |
|
28 |
BuildRequires: libxml2-devel >= 2.6.7 |
|
29 |
BuildRequires: libgnome-devel >= 2.6.0 |
|
30 |
BuildRequires: libgnomeui-devel >= 2.6.0 |
|
31 |
BuildRequires: gnome-vfs-devel >= 2.6.0 |
|
32 |
BuildRequires: libglade-devel >= 2.3.6 |
|
33 |
BuildRequires: libgnomeprint-devel >= 2.6.0 |
|
34 |
BuildRequires: libgnomeprintui-devel >= 2.6.0 |
|
35 |
BuildRequires: libbonobo-devel >= 2.6.0 |
|
36 |
BuildRequires: libbonoboui-devel >= 2.6.0 |
|
556 | 37 |
Requires: libpng |
3628 | 38 |
Requires: glib2 >= 2.4.0 |
39 |
Requires: gtk2 >= 2.4.0 |
|
40 |
Requires: libxml2 >= 2.6.7 |
|
41 |
Requires: libgnome >= 2.6.0 |
|
42 |
Requires: libgnomeui >= 2.6.0 |
|
43 |
Requires: gnome-vfs >= 2.6.0 |
|
44 |
Requires: libglade >= 2.3.6 |
|
45 |
Requires: libgnomeprint >= 2.6.0 |
|
46 |
Requires: libgnomeprintui >= 2.6.0 |
|
47 |
Requires: libbonobo >= 2.6.0 |
|
48 |
Requires: libbonoboui >= 2.6.0 |
|
556 | 49 |
|
50 |
%description |
|
51 |
gThumb lets you browse your hard disk, showing you thumbnails of image files. |
|
52 |
It also lets you view single files (including GIF animations), add comments to |
|
53 |
images, organize images in catalogs, print images, view slideshows, set your |
|
54 |
desktop background, and more. |
|
55 |
||
56 |
%prep |
|
57 |
%setup -q |
|
942 | 58 |
%patch1 -p1 |
2365 | 59 |
%patch2 -p1 |
3083 | 60 |
%patch3 -p1 |
4455 | 61 |
|
556 | 62 |
%build |
3263 | 63 |
%ifos linux |
64 |
if [ -x /usr/bin/getconf ]; then |
|
65 |
CPUS=`getconf _NPROCESSORS_ONLN` |
|
66 |
fi |
|
67 |
%else |
|
3846 | 68 |
CPUS=`/usr/sbin/psrinfo | grep on-line | wc -l | tr -d ' '` |
3263 | 69 |
%endif |
70 |
if test "x$CPUS" = "x" -o $CPUS = 0; then |
|
71 |
CPUS=1 |
|
72 |
fi |
|
73 |
||
942 | 74 |
libtoolize --force |
19243 | 75 |
aclocal $ACLOCAL_FLAGS |
942 | 76 |
automake -a -c -f |
77 |
autoconf |
|
556 | 78 |
CFLAGS="$RPM_OPT_FLAGS" \ |
79 |
./configure --prefix=%{_prefix} \ |
|
4570 | 80 |
--bindir=%{_bindir} \ |
81 |
--libdir=%{_libdir} \ |
|
556 | 82 |
--mandir=%{_mandir} \ |
83 |
--sysconfdir=%{_sysconfdir} \ |
|
2365 | 84 |
--disable-schemas-install \ |
85 |
--libexecdir=%{_libexecdir} |
|
3263 | 86 |
make -j $CPUS |
556 | 87 |
|
88 |
%install |
|
89 |
export GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1 |
|
90 |
make DESTDIR=$RPM_BUILD_ROOT install |
|
91 |
unset GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL |
|
3628 | 92 |
#Clean up unpackage files |
93 |
rm $RPM_BUILD_ROOT%{_libdir}/gthumb/*.a |
|
94 |
rm $RPM_BUILD_ROOT%{_libdir}/gthumb/*.la |
|
95 |
rm $RPM_BUILD_ROOT%{_libdir}/gthumb/modules/*.a |
|
96 |
rm $RPM_BUILD_ROOT%{_libdir}/gthumb/modules/*.la |
|
556 | 97 |
|
98 |
%clean |
|
99 |
rm -rf $RPM_BUILD_ROOT |
|
100 |
||
101 |
%post |
|
102 |
export GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source` |
|
103 |
SCHEMAS="gthumb.schemas" |
|
104 |
for S in $SCHEMAS; do |
|
105 |
gconftool-2 --makefile-install-rule %{_sysconfdir}/gconf/schemas/$S >/dev/null |
|
106 |
done |
|
107 |
||
108 |
||
109 |
%postun |
|
110 |
||
111 |
%files |
|
112 |
%defattr(-,root,root) |
|
113 |
%{_bindir}/gthumb |
|
2159 | 114 |
%{_libdir}/gthumb/libgthumb.so |
556 | 115 |
%{_libexecdir}/gthumb-image-viewer |
116 |
%{_libexecdir}/gthumb-catalog-view |
|
117 |
%{_datadir}/applications/gthumb.desktop |
|
118 |
%{_datadir}/gnome-2.0/ui/*.xml |
|
3628 | 119 |
%{_datadir}/gthumb/glade/* |
556 | 120 |
%{_datadir}/gthumb/icons/* |
121 |
%{_datadir}/gthumb/albumthemes/* |
|
122 |
%{_datadir}/locale/*/LC_MESSAGES/gthumb.mo |
|
123 |
%{_datadir}/application-registry/gthumb.applications |
|
124 |
%{_libdir}/bonobo/servers/*.server |
|
1058 | 125 |
%{_libdir}/gthumb/modules/*.so |
556 | 126 |
%{_datadir}/pixmaps/gthumb.png |
19414 | 127 |
%{_datadir}/pixmaps/gthumb-logo.png |
19849 | 128 |
%{_datadir}/omf/* |
556 | 129 |
%{_sysconfdir}/gconf/schemas/*.schemas |
19849 | 130 |
%{_datadir}/man/man1/gthumb.1* |
131 |
%{_datadir}/gnome/help/gthumb |
|
556 | 132 |
%doc AUTHORS NEWS README COPYING |
133 |
||
134 |
%changelog |
|
4966
5be0d828467e
#6222302 / #6222336 : Remove items from main help TOC
mattk
parents:
4867
diff
changeset
|
135 |
* Fri Jan 28 2005 - [email protected] |
5be0d828467e
#6222302 / #6222336 : Remove items from main help TOC
mattk
parents:
4867
diff
changeset
|
136 |
- #6222302 - Remove from yelp |
5be0d828467e
#6222302 / #6222336 : Remove items from main help TOC
mattk
parents:
4867
diff
changeset
|
137 |
|
4570 | 138 |
* Sun Nov 14 2004 - [email protected] |
139 |
- added --libdir=%{_libdir} and --bindir=%{_bindir} to configure opts |
|
140 |
||
4307 | 141 |
* Wed Oct 20 2004 - [email protected] |
4309 | 142 |
- Added patch6. It fixes bug #5101957 |
143 |
||
144 |
* Wed Oct 20 2004 - [email protected] |
|
4307 | 145 |
- "Source" entry updated |
146 |
||
3950
1b757ada4316
Added gthumb-04-g11n-potfiles.diff. Udated gthumb.spec.
yk150259
parents:
3858
diff
changeset
|
147 |
* Wed Sep 15 2004 - [email protected] |
1b757ada4316
Added gthumb-04-g11n-potfiles.diff. Udated gthumb.spec.
yk150259
parents:
3858
diff
changeset
|
148 |
- Added gthumb-04-g11n-potfiles.diff |
1b757ada4316
Added gthumb-04-g11n-potfiles.diff. Udated gthumb.spec.
yk150259
parents:
3858
diff
changeset
|
149 |
|
3279
5d64ee516a02
Bumped l10n tarball revision from 1.1 to 1.2 in all spec-files.
damiend
parents:
3263
diff
changeset
|
150 |
* 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
|
151 |
- Updated l10n content to gthumb-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
|
152 |
|
3628 | 153 |
* Wed Jul 07 2004 - [email protected] |
154 |
- port to rpm4 |
|
155 |
||
3263 | 156 |
* Wed Jul 07 2004 - [email protected] |
157 |
- added "-j $CPUS" to make to speed up builds |
|
158 |
||
3139 | 159 |
* Mon Jun 14 2004 - [email protected] |
160 |
- Fix gthumb omf file installation. |
|
161 |
||
3083 | 162 |
* Thu Jun 10 2004 - [email protected] |
163 |
- Fixes search pattern. |
|
164 |
||
2736
bd6e69980863
Updated all spec files to reflect 1.1 version l10n tarballs delivered into
damiend
parents:
2619
diff
changeset
|
165 |
* Wed May 12 2004 - [email protected] |
bd6e69980863
Updated all spec files to reflect 1.1 version l10n tarballs delivered into
damiend
parents:
2619
diff
changeset
|
166 |
- Updated l10n content to gthumb-l10n-po-1.1.tar.bz2 |
bd6e69980863
Updated all spec files to reflect 1.1 version l10n tarballs delivered into
damiend
parents:
2619
diff
changeset
|
167 |
|
2485 | 168 |
* Sun Apr 18 2004 - [email protected] |
169 |
- enable javahelp conversion on Solaris |
|
170 |
||
2439 | 171 |
* Fri Apr 09 2004 - [email protected] |
172 |
- Change the way the build directory is cleaned so that eog and |
|
173 |
gthumb can be built into the same Solaris package. |
|
174 |
||
2365 | 175 |
* Thu Apr 01 2004 - [email protected] |
176 |
- Added patch02, now use ACLOCAL_FLAGS in aclocal call, and |
|
177 |
added --libexecdir to the configure line. |
|
178 |
||
2362
ef2590f64b05
Javahelp conversion : surrounded by %ifos calls, until solaris specifics are resolved
mattk
parents:
2355
diff
changeset
|
179 |
* Thu Apr 01 2004 - [email protected] |
ef2590f64b05
Javahelp conversion : surrounded by %ifos calls, until solaris specifics are resolved
mattk
parents:
2355
diff
changeset
|
180 |
- Javahelp conversion, fix BuildRoot location |
ef2590f64b05
Javahelp conversion : surrounded by %ifos calls, until solaris specifics are resolved
mattk
parents:
2355
diff
changeset
|
181 |
|
2355 | 182 |
* Wed Mar 31 2004 - [email protected] |
183 |
- replace tar jxf with the more solaris friendly |
|
184 |
bzcat piped through tar |
|
185 |
||
2350 | 186 |
* Mon Mar 29 2004 - [email protected] |
187 |
- Adding gthumb-l10n-po-1.0.tar.bz2 l10n content |
|
188 |
||
1872 | 189 |
* Mon Feb 23 2004 - <[email protected]> |
190 |
- uprevd to 2.3.1, removed patch 02 |
|
191 |
||
1518 | 192 |
* Fri Jan 09 2004 - <[email protected]> |
193 |
- Deprecated patch for compile |
|
194 |
||
1295 | 195 |
* Mon Oct 20 2003 - <[email protected]> |
196 |
- upreved to 2.1.7 |
|
197 |
||
1058 | 198 |
* Thu Aug 14 2003 - <[email protected]> |
199 |
- remove *.a, *.la |
|
200 |
||
1034 | 201 |
* Mon Aug 11 2003 - [email protected] |
202 |
- new tarball, reset release |
|
942 | 203 |
* Sat Aug 01 2003 - [email protected] |
204 |
- Update menu entry. |
|
556 | 205 |
* Mon Jul 14 2003 - [email protected] |
206 |
- Initial Sun Release |