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