%define enable_tests 1 Name: feh Version: 2.12 Release: %mkrel 3 Summary: Image viewer at heart, though it does other cool stuff License: MIT Group: Graphics/Viewers URL: http://feh.finalrewind.org/ Source0: http://feh.finalrewind.org/%{name}-%{version}.tar.bz2 Source2: http://feh.finalrewind.org/%{name}-%{version}.tar.bz2.asc BuildRequires: imlib2-devel BuildRequires: libxt-devel BuildRequires: libxinerama-devel BuildRequires: giblib-devel BuildRequires: jpeg-devel BuildRequires: png-devel BuildRequires: curl-devel %if %{enable_tests} BuildRequires: perl-devel BuildRequires: perl-Test-Command %endif %description Feh is an image viewer, but it does a whole lot of other cool stuff as well. There are simply too many to mention them here so please check the docs/homepage. %prep %setup -q #fix doc rights chmod 644 AUTHORS ChangeLog README TODO examples/* chmod 755 examples %build %setup_compile_flags %make PREFIX=%{_prefix} %install %makeinstall_std PREFIX=%{_prefix} # let files section handle docs %__rm -rf %{buildroot}%{_docdir}/%{name} %if %{enable_tests} %check %make test %endif %files %doc AUTHORS ChangeLog README TODO examples %{_bindir}/* %{_datadir}/%{name} %{_mandir}/man1/* %{_datadir}/applications/%{name}.desktop %changelog * Wed Oct 15 2014 umeabot <umeabot> 2.12-3.mga5 + Revision: 745754 - Second Mageia 5 Mass Rebuild * Tue Sep 16 2014 umeabot <umeabot> 2.12-2.mga5 + Revision: 679121 - Mageia 5 Mass Rebuild * Fri May 23 2014 eatdirt <eatdirt> 2.12-1.mga5 + Revision: 625106 - Upgrade to version 2.12 * Thu Mar 27 2014 eatdirt <eatdirt> 2.10-1.mga5 + Revision: 609047 - Upgrade to version 2.10 * Sat Oct 19 2013 umeabot <umeabot> 2.9.2-3.mga4 + Revision: 526067 - Mageia 4 Mass Rebuild * Mon Jun 03 2013 fwang <fwang> 2.9.2-2.mga4 + Revision: 435842 - rebuild for new libpng * Mon May 27 2013 wally <wally> 2.9.2-1.mga4 + Revision: 428894 - rebuild to fix release * Mon May 27 2013 wally <wally> 2.9.2-0.1.mga4 + Revision: 428869 - new version 2.9.2 - use icon and .desktop file from upstream * Fri Jan 11 2013 umeabot <umeabot> 2.5-3.mga3 + Revision: 350090 - Mass Rebuild - https://wiki.mageia.org/en/Feature:Mageia3MassRebuild * Wed Jan 02 2013 barjac <barjac> 2.5-2.mga3 + Revision: 337674 - update group * Mon Jun 11 2012 dams <dams> 2.5-1.mga3 + Revision: 259794 - new version 2.5 * Sat Apr 07 2012 wally <wally> 2.2-2.mga2 + Revision: 229527 - fix rights of doc files (mga#3330) * Wed Jan 11 2012 kamil <kamil> 2.2-1.mga2 + Revision: 194891 - new version - include signature of the source - clean spec * Tue Sep 13 2011 fwang <fwang> 1.16.1-1.mga2 + Revision: 142919 - new version 1.16.1 * Sun Jul 10 2011 wally <wally> 1.14.2-1.mga2 + Revision: 121742 - new version 1.14.2 * Sun Mar 20 2011 wally <wally> 1.12-2.mga1 + Revision: 74908 - fix doc files handling - more .spec cleaning * Sun Mar 20 2011 wally <wally> 1.12-1.mga1 + Revision: 74864 - new version 1.12 - fix license - drop old mdv scriptlets - add curl-devel BR - enable tests - clean .spec a bit - imported package feh * Tue Oct 12 2010 Sandro Cazzaniga <kharec@mandriva.org> 1.10-1mdv2011.0 + Revision: 585182 - update to 1.10 * Sun Aug 29 2010 Jani Välimaa <wally@mandriva.org> 1.9-1mdv2011.0 + Revision: 574237 - update to new version 1.9 * Fri Jul 23 2010 Jani Välimaa <wally@mandriva.org> 1.8-2mdv2011.0 + Revision: 557287 - fix desktop file * Mon Jul 19 2010 Gustavo De Nardin <gustavodn@mandriva.com> 1.8-1mdv2011.0 + Revision: 554901 - upgraded to version 1.8, from new maintainer, pointed by Sandro Cazzaniga <kharec(at)mandriva.org> - URLs updated to new site - str format patch unneeded in new version * Tue Sep 01 2009 Gustavo De Nardin <gustavodn@mandriva.com> 1.3.4-8mdv2010.0 + Revision: 423188 - string format fix + Thierry Vignaud <tv@mandriva.org> - rebuild for new libjpeg - rebuild for new libjpeg * Thu Jul 24 2008 Thierry Vignaud <tv@mandriva.org> 1.3.4-6mdv2009.0 + Revision: 245079 - rebuild + Pixel <pixel@mandriva.com> - rpm filetriggers deprecates update_menus/update_scrollkeeper/update_mime_database/update_icon_cache/update_desktop_database/post_install_gconf_schemas * Fri Dec 21 2007 Olivier Blin <oblin@mandriva.com> 1.3.4-4mdv2008.1 + Revision: 136411 - restore BuildRoot + Thierry Vignaud <tv@mandriva.org> - kill old menu - kill re-definition of %%buildroot on Pixel's request - kill desktop-file-validate's error: string list key "Categories" in group "Desktop Entry" does not have a semicolon (";") as trailing character - fix man pages * Fri Feb 09 2007 Thierry Vignaud <tvignaud@mandriva.com> 1.3.4-4mdv2007.0 + Revision: 118457 - fix buildrequires - Import feh * Fri Feb 09 2007 Thierry Vignaud <tvignaud@mandrakesoft.com> 1.3.4-4mdv2007.1 - rebuild to sync x86_64 * Tue Aug 08 2006 Lenny Cartier <lenny@mandriva.com> 1.3.4-3mdv2007.0 - xdg * Wed May 03 2006 Thierry Vignaud <tvignaud@mandriva.com> 1.3.4-2mdk - fix buildrequires (and thus build on x86_64) * Wed Mar 29 2006 Jerome Soyer <saispo@mandriva.org> 1.3.4-1mdk - New release 1.3.4 * Fri Oct 07 2005 Nicolas Lécureuil <neoclust@mandriva.org> 1.3.3-2mdk - Fix BuildRequires * Thu Jul 21 2005 Nicolas Lécureuil <neoclust@mandriva.org> 1.3.3-1mdk - New release 1.3.3 - Fix BuildRequires - mkrel * Mon Nov 08 2004 Lenny Cartier <lenny@mandrakesoft.com> 1.2.9-1mdk - 1.2.9