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