Name: qiv Version: 2.0 Release: 2mdk Summary: Gdk/imlib image viewer Source0: http://www.klografx.de/software/files/%{name}-%{version}-src.tar.bz2 # (fc) 2.0-2mdk fix dither on 15bpp display Patch0: qiv-2.0-dither.patch.bz2 License: GPL Url: http://www.klografx.net/qiv/ BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-buildroot BuildRequires: libgtk+-devel libimlib-devel Group: Graphics %description qiv is a fast image viewer for X based on gdk and imlib. %prep %setup -q %patch0 -p1 -b .dither %build %make CFLAGS="$RPM_OPT_FLAGS" %install mkdir -p $RPM_BUILD_ROOT%{_bindir} #don't change this to %_mandir, since Makefile is not BM mkdir -p $RPM_BUILD_ROOT/{%{_bindir},%{_mandir}/man1} perl -pi -e 's!PREFIX\)/man/man1!PREFIX\)/share/man/man1!g' Makefile DISPLAY="" make PREFIX=$RPM_BUILD_ROOT%{_prefix} install %clean rm -rf $RPM_BUILD_ROOT %files %defattr(-,root,root) %doc README README.CHANGES README.COPYING README.INSTALL %{_bindir}/* %{_mandir}/*/* %changelog * Wed Sep 15 2004 Frederic Crozat <fcrozat@mandrakesoft.com> 2.0-2mdk - Patch0: fix dithering on 15bpp display * Wed Jun 16 2004 Per Øyvind Karlsen <peroyvind@linux-mandrake.com> 2.0-1mdk - 2.0 * Sun Dec 14 2003 Götz Waschk <waschk@linux-mandrake.com> 1.9-1mdk - new version * Mon Jul 21 2003 Per Øyvind Karlsen <peroyvind@sintrax.net> 1.8-2mdk - rebuild - use %%make macro - cosmetics * Tue Jul 16 2002 Frederic Crozat <fcrozat@mandrakesoft.com> 1.8-1mdk - Release 1.8 * Sun Jul 08 2001 Geoffrey Lee <snailtalk@mandrakesoft.com> 1.7-1mdk - Bump up to 1.7 the newest and shiniest source. * Mon May 28 2001 Frederic Crozat <fcrozat@mandrakesoft.com> 1.6-4mdk - Rebuild against latest imlib * Sun May 27 2001 Geoffrey Lee <snailtalk@mandrakesoft.com> 1.6-3mdk - Rebuild it to make it work again. - s/Copyright/License; * Fri Jan 19 2001 Frederic Crozat <fcrozat@mandrakesoft.com> 1.6-2mdk - Remove menu entry (qiv is command line ..) - make doc filelist human readable * Fri Jan 19 2001 Geoffrey Lee <snailtalk@mandrakesoft.com> 1.6-1mdk - new and shiny source for my favorite viewer. - fix the filelist. * Wed Nov 29 2000 Frederic Crozat <fcrozat@mandrakesoft.com> 1.5-1mdk - Release 1.5 - Dadou compliant (uses RPM_OPT_FLAGS) * Tue Nov 07 2000 Thierry Vignaud <tvignaud@mandrakesoft.com> 1.3-4mdk - add a menu entry - add some doc - spec cleaning * Tue Sep 19 2000 Frederic Crozat <fcrozat@mandrakesoft.com> 1.3-3mdk - Correct manpage used - Prevent running qiv when generating package * Sat Sep 16 2000 Geoffrey Lee <snailtalk@mandrakesoft.com> 1.3-2mdk - rebuild this for the big move. * Wed May 24 2000 Geoffrey Lee <snailtalk@linux-mandrake.com> 1.3-1mdk - first spec