Name: feh Version: 1.10.1 Release: 1 Summary: Fast command line image viewer using Imlib2 Group: Applications/Multimedia License: MIT URL: http://derf.homelinux.org/projects/feh/ Source0: http://derf.homelinux.org/projects/feh/%{name}-%{version}.tar.bz2 Patch0: %{name}-%{version}-aix.patch BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root BuildRequires: giblib-devel >= 1.2.4 BuildRequires: imlib2-devel >= 1.4.4 BuildRequires: libpng-devel >= 1.2.44 BuildRequires: make Requires: giblib >= 1.2.4 Requires: imlib2 >= 1.4.4 Requires: libpng >= 1.2.44 %description feh is a versatile and fast image viewer using imlib2, the premier image file handling library. feh has many features, from simple single file viewing, to multiple file modes using a slideshow or multiple windows. feh supports the creation of montages as index prints with many user-configurable options. %prep %setup -q %patch0 %build # j>1 does not work gmake %{?_smp_mflags} %install [ "${RPM_BUILD_ROOT}" != "/" ] && rm -rf ${RPM_BUILD_ROOT} gmake DESTDIR=${RPM_BUILD_ROOT} install /usr/bin/strip ${RPM_BUILD_ROOT}%{_bindir}/* || : cd ${RPM_BUILD_ROOT} mkdir -p usr/bin cd usr/bin ln -sf ../..%{_bindir}/* . %clean [ "${RPM_BUILD_ROOT}" != "/" ] && rm -rf ${RPM_BUILD_ROOT} %files %defattr(-,root,system,-) %doc AUTHORS COPYING ChangeLog README TODO %{_bindir}/* %{_datadir}/%{name} %{_mandir}/man1/* /usr/bin/* %changelog * Mon Dec 06 2010 Michael Perzl - 1.10.1-1 - updated to version 1.10.1 * Fri Oct 08 2010 Michael Perzl - 1.10-1 - first version for AIX V5.1 and higher