Name: fotoxx Version: 13.04 Release: 4%{?dist} Summary: Photo editor Group: Applications/Multimedia License: GPLv2 URL: http://www.kornelix.com/fotoxx.html Source0: http://www.kornelix.com/uploads/1/3/0/3/13035936/fotoxx-13.04.tar.gz Source1: %{name}.desktop %{!?_pkgdocdir: %global _pkgdocdir %{_docdir}/%{name}-%{version}} BuildRequires: gtk3-devel BuildRequires: desktop-file-utils BuildRequires: freeimage-devel Requires: exiv2 BuildRequires: perl-Image-ExifTool ufraw xdg-utils libtiff-devel lcms2-devel # Presents checked at build time Requires: perl-Image-ExifTool ufraw xdg-utils dcraw %description Fotoxx is a free open source Linux program for editing image files from a digital camera. The goal of fotoxx is to meet most image editing needs while remaining easy to use. %prep %setup -q %build # This package's Makefile is bizarre # Misc. environment tweaks to let Makefile honor %%{optflags} make %{?_smp_mflags} PREFIX=%{_prefix} \ CXXFLAGS="%{optflags}" \ LDFLAGS="%{optflags}" %install make install DESTDIR=%{buildroot} PREFIX=%{_prefix} DOCDIR=%{_pkgdocdir} install -Dm 644 -p icons/%{name}.png %{buildroot}%{_datadir}/pixmaps/%{name}.png rm %{buildroot}%{_datadir}/applications/kornelix-fotoxx.desktop desktop-file-install --vendor="" \ --mode 644 \ --remove-category="Application" \ --dir %{buildroot}%{_datadir}/applications/ \ %{SOURCE1} %files %defattr(-,root,root,-) %doc doc/* %{_mandir}/man1/%{name}.1* %dir %{_datadir}/%{name} %{_bindir}/%{name} %{_datadir}/%{name} %{_datadir}/applications/%{name}.desktop %{_datadir}/pixmaps/%{name}.png %changelog * Mon Aug 19 2013 Ralf Corsépius - 13.04-4 - Reflect docdir changes (Fix FTBFS, RHBZ#992281). - Drop fotoxx-13.01-pthread-dep.patch (not required, anymore). - Add tweaks to let package honour %%optflags. * Sun Apr 14 2013 Pavel Alexeev - 13.04-2 - Add dcraw dependency (bz#947087). * Sat Mar 30 2013 Pavel Alexeev - 13.04-1 - Update to 13.04. - Fix URL (bz#910155) - Add BR lcms2-devel * Wed Feb 13 2013 Fedora Release Engineering - 13.01-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild * Wed Jan 2 2013 Pavel Alexeev - 13.01-1 - Updated to new version by mail request from Eduardo Jorge. - Bump gtk dep to 3 version. - Remade patch to link with pthread for new version. * Thu Aug 23 2012 Pavel Alexeev - 12.01.2-5 - Remove require printoxx as it dead - bz#843258. Author said it replaced by mashup. * Thu Jul 19 2012 Fedora Release Engineering - 12.01.2-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild * Fri May 11 2012 Pavel Alexeev - 12.01.2-3 - Rebuild due libtiff update http://www.mail-archive.com/devel@lists.fedoraproject.org/msg42846.html * Fri Jan 6 2012 Pavel Alexeev - 12.01.2-2 - Update to 12.01.2 for fix bz#755715 * Tue Dec 06 2011 Adam Jackson - 10.11.1-9 - Rebuild for new libpng * Tue Feb 08 2011 Fedora Release Engineering - 10.11.1-8 - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild * Thu Nov 4 2010 Pavel Alexeev - 10.11.1-7 - Major update (BZ#644023) - Remove outdated patch - fotoxx-8.0-mandir.patch. - Add BR libtiff-devel - Adjust some pathes for new version. - Remove %%doc mark from man. * Sun Aug 9 2009 Pavel Alexeev - 8.0-6 - Add R and BR: xdg-utils * Sun Aug 9 2009 Pavel Alexeev - 8.0-5 - Update to version 8.0 - Delete old patches. - Remove rm libfreeimage.a, name of dir in %%setup. - Replace all $RPM_BUILD_ROOT by %%{buildroot} - Add Patch0: fotoxx-8.0-mandir.patch - Add new file %%doc %%{_mandir}/man1/%%{name}.1* * Fri Jul 24 2009 Fedora Release Engineering - 6.0-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild * Wed Feb 25 2009 Dennis Gilmore - 6.0-3 - add patch to dynamically link to libfreeimage * Wed Feb 25 2009 Pavel Alexeev - 6.0-2 - Forgot patch * Wed Feb 25 2009 Pavel Alexeev - 6.0-1 - New version 6.0 - Adjust Source0 url (inspired by Kevin Fenzi in fedora-devel-list: https://www.redhat.com/archives/fedora-devel-list/2009-February/msg01622.html ). * Wed Feb 25 2009 Pavel Alexeev - 5.8-2 - Add patch0 fotoxx-5.8.constchar.patch - Reformat spec with tabs, remove trailing spaces. * Sun Jan 4 2009 Nicoleau Fabien - 5.8-1 - Rebuild for 5.8 * Mon Dec 1 2008 Nicoleau Fabien - 5.7-1 - Rebuild for 5.7 * Sun Nov 16 2008 Nicoleau Fabien - 5.6-1 - Rebuild for 5.6 * Tue Nov 4 2008 Nicoleau Fabien - 5.5-1 - Rebuild for 5.5 * Thu Oct 9 2008 Nicoleau Fabien - 5.4-1 - Rebuild for 5.4 * Thu Sep 18 2008 Nicoleau Fabien - 5.3-1 - Rebuild for 5.3 * Sun Aug 31 2008 Nicoleau Fabien - 5.2-1 - Rebuild for 5.2 * Sun Aug 24 2008 Nicoleau Fabien - 5.1-1 - Rebuild for 5.1 * Fri Aug 8 2008 Nicoleau Fabien - 5.0.1-1 - Rebuild for 5.0.1 * Sat Aug 2 2008 Nicoleau Fabien - 5.0-1 - Rebuild for 5.0 * Tue Jul 22 2008 Nicoleau Fabien - 4.9-1 - Initial build