Summary: An image viewer and browser for GNOME Name: gthumb Version: 2.6.6 Release: 2mdk License: GPL URL: http://gthumb.sourceforge.net/ Group: Graphics Source0: ftp://ftp.gnome.org/pub/GNOME/sources/%name/%{name}-%{version}.tar.bz2 # (fc) 2.4.2-2mdk force utf8 for libexif translation Patch0: gthumb-2.6.4-utf8.patch.bz2 BuildRoot: %{_tmppath}/%{name}-%{version}-root BuildRequires: libgnomeprintui-devel BuildRequires: libgnomeui2-devel BuildRequires: scrollkeeper BuildRequires: libexif-devel >= 0.5.12 BuildRequires: png-devel BuildRequires: libglade2.0-devel BuildRequires: gphoto2-devel >= 2.1.3 BuildRequires: tiff-devel BuildRequires: flex BuildRequires: bison BuildRequires: ImageMagick #gw if we patch and regenerate the makefiles BuildRequires: automake1.7 BuildRequires: intltool BuildRequires: perl-XML-Parser Requires: jpeg-progs Requires(post): scrollkeeper >= 0.3 Requires(postun): scrollkeeper >= 0.3 %description gThumb lets you browse your hard disk, showing you thumbnails of image files. It also lets you view single files (including GIF animations), add comments to images, organize images in catalogs, print images, view slideshows, set your desktop background, and more. %prep %setup -q %patch0 -p1 -b .utf8 aclocal-1.7 autoconf automake-1.7 %build %configure2_5x #parallel compilation is broken make %install rm -rf $RPM_BUILD_ROOT GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1 %makeinstall_std %find_lang %{name}-2.0 --with-gnome --all-name # icons mkdir -p %{buildroot}/%{_iconsdir} %{buildroot}%{_miconsdir} install -m 644 -D data/gthumb.png %{buildroot}%{_liconsdir}/%{name}.png convert -geometry 32x32 data/gthumb.png %{buildroot}%{_iconsdir}/%{name}.png convert -geometry 16x16 data/gthumb.png %{buildroot}%{_miconsdir}/%{name}.png install -d %buildroot/%_menudir cat > %buildroot/%{_menudir}/%name << EOF ?package(%{name}): \ command="%{_bindir}/%{name}" \ icon="%name.png" \ needs="X11" \ section="Multimedia/Graphics" \ title="GThumb" \ longtitle="View and organize your images" \ startup_notify="true" EOF # remove unpackaged files rm -f $RPM_BUILD_ROOT%{_libdir}/gthumb/modules/*.{la,a} \ $RPM_BUILD_ROOT%{_libdir}/gthumb/*.{la,a} %post GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source` gconftool-2 --makefile-install-rule %{_sysconfdir}/gconf/schemas/gthumb.schemas >/dev/null if [ -x %{_bindir}/scrollkeeper-update ]; then %{_bindir}/scrollkeeper-update -q; fi %update_menus %preun if [ "$1" = "0" ] ; then GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source` gconftool-2 --makefile-uninstall-rule %{_sysconfdir}/gconf/schemas/gthumb.schemas >/dev/null fi %postun if [ -x %{_bindir}/scrollkeeper-update ]; then %{_bindir}/scrollkeeper-update -q; fi %update_menus %clean rm -rf $RPM_BUILD_ROOT %files -f %{name}-2.0.lang %defattr(-,root,root) %doc AUTHORS NEWS README COPYING %{_sysconfdir}/gconf/schemas/* %{_bindir}/* %{_libexecdir}/gthumb-catalog-view %{_libexecdir}/gthumb-image-viewer %{_libdir}/gthumb %{_datadir}/applications/* %{_datadir}/application-registry/* %{_datadir}/gnome-2.0/ui/* %{_datadir}/gthumb %{_datadir}/omf/* %{_libdir}/bonobo/servers/* %{_datadir}/pixmaps/* %{_datadir}/man/man1/* %{_menudir}/%{name} %{_iconsdir}/%{name}.png %{_liconsdir}/%{name}.png %{_miconsdir}/%{name}.png %changelog * Tue Aug 30 2005 Götz Waschk <waschk@mandriva.org> 2.6.6-2mdk - replace preqreq * Mon Jun 27 2005 Götz Waschk <waschk@mandriva.org> 2.6.6-1mdk - New release 2.6.6 * Wed May 4 2005 Götz Waschk <waschk@mandriva.org> 2.6.5-2mdk - fix build on x86_64 * Sat Apr 23 2005 Götz Waschk <waschk@mandriva.org> 2.6.5-1mdk - New release 2.6.5 * Tue Apr 19 2005 Frederic Crozat <fcrozat@mandriva.com> 2.6.4-1mdk - Release 2.6.4 (based on Götz Waschk package) - regenerate patch0 * Fri Feb 18 2005 Götz Waschk <waschk@linux-mandrake.com> 2.6.3-2mdk - fix rpmlint warnings * Sat Jan 22 2005 Goetz Waschk <waschk@linux-mandrake.com> 2.6.3-1mdk - New release 2.6.3 * Thu Jan 06 2005 Frederic Crozat <fcrozat@mandrakesoft.com> 2.6.2-2mdk - Rebuild with latest howl * Mon Dec 6 2004 Goetz Waschk <waschk@linux-mandrake.com> 2.6.2-1mdk - New release 2.6.2 * Sun Nov 21 2004 Goetz Waschk <waschk@linux-mandrake.com> 2.6.1-1mdk - New release 2.6.1 * Thu Oct 21 2004 Goetz Waschk <waschk@linux-mandrake.com> 2.6.0.1-1mdk - New release 2.6.0.1 * Mon Oct 18 2004 Götz Waschk <waschk@linux-mandrake.com> 2.6.0-1mdk - rediff patch 0 - New release 2.6.0 * Tue Sep 14 2004 Frederic Crozat <fcrozat@mandrakesoft.com> 2.4.2-2mdk - Patch0: don't convert exif info in utf8, libexif9 already does it * Wed Sep 1 2004 Goetz Waschk <waschk@linux-mandrake.com> 2.4.2-1mdk - New release 2.4.2 * Wed Aug 4 2004 Götz Waschk <waschk@linux-mandrake.com> 2.4.1-2mdk - fix buildrequires * Thu Jul 1 2004 Götz Waschk <waschk@linux-mandrake.com> 2.4.1-1mdk - fix source URL - New release 2.4.1 * Tue Jun 01 2004 Abel Cheung <deaddog@deaddog.org> 2.4.0-2mdk - Use ImageMagick to convert icons - Build against gphoto and libtiff as well - yelp-pregenerate is no more * Tue Jun 1 2004 Goetz Waschk <waschk@linux-mandrake.com> 2.4.0-1mdk - New release 2.4.0 * Mon Apr 26 2004 Götz Waschk <waschk@linux-mandrake.com> 2.3.3-1mdk - fix source URL - new version * Wed Apr 21 2004 Götz Waschk <waschk@linux-mandrake.com> 2.3.2-2mdk - fix buildrequires * Wed Apr 7 2004 Götz Waschk <waschk@linux-mandrake.com> 2.3.2-1mdk - new version * Mon Feb 09 2004 Frederic Crozat <fcrozat@mandrakesoft.com> 2.2.1-2mdk - Fix menu * Sat Jan 24 2004 Götz Waschk <waschk@linux-mandrake.com> 2.2.1-1mdk - fix menu - new version * Fri Dec 19 2003 Götz Waschk <waschk@linux-mandrake.com> 2.2.0-1mdk - new version * Tue Nov 18 2003 Götz Waschk <waschk@linux-mandrake.com> 2.1.9-1mdk - drop merged patch - new version * Mon Nov 3 2003 Götz Waschk <waschk@linux-mandrake.com> 2.1.8-2mdk - remove one dummy rpmlint warning - fix buildrequires * Mon Nov 3 2003 Götz Waschk <waschk@linux-mandrake.com> 2.1.8-1mdk - patch to move libgthumb to %_libdir/gthumb - new version * Tue Oct 14 2003 Götz Waschk <waschk@linux-mandrake.com> 2.1.7-1mdk - new version * Mon Sep 1 2003 Götz Waschk <waschk@linux-mandrake.com> 2.1.6-1mdk - new version * Tue Aug 19 2003 Götz Waschk <waschk@linux-mandrake.com> 2.1.5-1mdk - new version * Sun Aug 17 2003 Götz Waschk <waschk@linux-mandrake.com> 2.1.4-2mdk - reenable parallel build - rebuild with newer libexif * Sun Aug 10 2003 Götz Waschk <waschk@linux-mandrake.com> 2.1.4-1mdk - drop merged patch - new version * Wed Jul 16 2003 Götz Waschk <waschk@linux-mandrake.com> 2.1.3-4mdk - fix postun script (thanks to Michael Reinsch) * Tue Jul 15 2003 Götz Waschk <waschk@linux-mandrake.com> 2.1.3-3mdk - don't deinstall schemas on update * Fri Jul 11 2003 Frederic Crozat <fcrozat@mandrakesoft.com> - 2.1.3-2mdk - Patch0: fix schema * Mon Jul 7 2003 Götz Waschk <waschk@linux-mandrake.com> 2.1.3-1mdk - add schema uninstallation - new version * Wed May 07 2003 Frederic Crozat <fcrozat@mandrakesoft.com> - 2.1.2-1mdk - Release 2.1.2 * Wed Mar 26 2003 Lenny Cartier <lenny@mandrakesoft.com> 2.1.1-1mdk - 2.1.1 * Wed Mar 12 2003 Götz Waschk <waschk@linux-mandrake.com> 2.1.0-3mdk - fix buildrequires * Tue Mar 11 2003 Götz Waschk <waschk@linux-mandrake.com> 2.1.0-2mdk - fix buildrequires * Mon Mar 3 2003 Frederic Crozat <fcrozat@mandrakesoft.com> - 2.1.0-1mdk - Release 2.1.0 (GNOME 2.2 version) - Remove patch 0 (merged upstream) * Mon Jan 27 2003 Frederic Crozat <fcrozat@mandrakesoft.com> 2.0.1-1mdk - Release 2.0.1 * Tue Jan 21 2003 Frederic Crozat <fcrozat@mandrakesoft.com> 2.0.0-1mdk - Release 2.0.0 * Fri Jan 17 2003 Frederic Crozat <fcrozat@mandrakesoft.com> 1.108-2mdk - Recompiled against latest openssl - Generate yelp cache * Mon Jan 6 2003 Frederic Crozat <fcrozat@mandrakesoft.com> 1.108-1mdk - Release 1.108 * Mon Dec 23 2002 Götz Waschk <waschk@linux-mandrake.com> 1.107-1mdk - fix the rpmlint warning about the menu title - reenable parallel build - rediff the patch - new version * Fri Nov 29 2002 Frederic Crozat <fcrozat@mandrakesoft.com> 1.106-1mdk - Release 1.106 - Patch0 : fix compilation with GNOME 2.1.x * Thu Oct 31 2002 Frederic Crozat <fcrozat@mandrakesoft.com> 1.104-2mdk - Add missing views - Put back translations - Disable parallel compilation, it is broken - Fix BuildRequires - Add missing dependency on libjpeg-progs, needed for jpegtran - Compiled with EXIF support * Wed Oct 2 2002 Götz Waschk <waschk@linux-mandrake.com> 1.104-1mdk - new version * Mon Aug 12 2002 Götz Waschk <waschk@linux-mandrake.com> 1.103-1mdk - new version * Fri Aug 2 2002 Frederic Crozat <fcrozat@mandrakesoft.com> 1.102-1mdk - First Mandrake Version by Yves Duret (spec file courtesy copy from Paolo Bacchilega)