Name: qiv Version: 1.7 Release: 1mdk Summary: Gdk/imlib image viewer Source0: http://www.klografx.de/software/files/qiv-%{version}-src.tar.bz2 License: GPL BuildRoot: %{_tmppath}/%{name}-%{version}-root #implicit dependencies #Requires: imlib gtk+ BuildRequires: libgtk+-devel libimlib-devel Group: Graphics %description qiv is a fast image viewer for X based on gdk and imlib. %prep rm -rf $RPM_BUILD_ROOT %setup -q %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/{%{_menudir},%{_iconsdir},%{_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 * 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