Summary: An image viewer and browser for GNOME. Name: gthumb Version: 1.103 Release: 1mdk License: GPL URL: http://gthumb.sourceforge.net/ Group: Graphics Source0: %{name}-%{version}.tar.bz2 Source1: %{name}-icons.tar.bz2 BuildRoot: %{_tmppath}/%{name}-%{version}-root BuildRequires: libgnomeprintui2.0-devel BuildRequires: scrollkeeper PreReq: 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 %build %configure2_5x %make %install rm -rf $RPM_BUILD_ROOT %makeinstall_std %find_lang %{name} --with-gnome # icons mkdir -p %{buildroot}/%{_iconsdir} bzcat %{SOURCE1}| tar xvf - -C %buildroot/%{_iconsdir} install -d %buildroot/%_menudir cat > %buildroot/%{_menudir}/%name << EOF ?package(%{name}): \ command="%{_bindir}/%{name}" \ icon="%name.png" \ needs="X11" \ section="Multimedia/Graphics" \ title="The gThumb" \ longtitle="A image viewer showing you thumbnails of image files." EOF %post if [ -x /usr/bin/scrollkeeper-update ]; then /usr/bin/scrollkeeper-update -q || true ; fi %update_menus %postun if [ -x /usr/bin/scrollkeeper-update ]; then /usr/bin/scrollkeeper-update -q || true ; fi %update_menus %clean rm -rf $RPM_BUILD_ROOT %files -f %{name}.lang %defattr(-,root,root) %doc AUTHORS NEWS README COPYING %{_bindir}/* %{_datadir}/applications/* %{_datadir}/application-registry/* %{_datadir}/gnome-2.0/ui/* %{_datadir}/gthumb %{_datadir}/omf/* %{_libdir}/bonobo/servers/* %{_datadir}/pixmaps/* %{_datadir}/man/man1/* %{_menudir}/* %{_iconsdir}/* %changelog * 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)