4e9aaaf
Name:		fotoxx
0c77abe
Version:		10.11.1
a027dcf
Release:		8%{?dist}
4e9aaaf
Summary:		Photo editor
4e9aaaf
4e9aaaf
Group:		Applications/Multimedia
4e9aaaf
License:		GPLv2
4e9aaaf
URL:			http://kornelix.squarespace.com/%{name}
5f232f2
Source0:		http://kornelix.squarespace.com/storage/downloads/%{name}-%{version}.tar.gz
4e9aaaf
Source1:		%{name}.desktop
4e9aaaf
BuildRoot:	%{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
4e9aaaf
4e9aaaf
BuildRequires:	gtk2-devel
4e9aaaf
BuildRequires:	desktop-file-utils
d6db058
BuildRequires:	freeimage-devel
4e9aaaf
Requires:		exiv2
4e9aaaf
Requires:		printoxx
4e9aaaf
d6db058
# Presents checked at build time
0c77abe
BuildRequires:	perl-Image-ExifTool ufraw xdg-utils libtiff-devel
5769c9e
Requires:		perl-Image-ExifTool ufraw xdg-utils
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
0c77abe
CFLAGS="${CFLAGS:-%optflags}" ; export CFLAGS ;
d6db058
make %{?_smp_mflags} PREFIX=%{_prefix}
d3b6f2c
d3b6f2c
%install
d6db058
rm -rf %{buildroot}
0c77abe
make install manpage DESTDIR=%{buildroot} PREFIX=%{_prefix} DOCDIR=%{_docdir}/%{name}-%{version}
0c77abe
install -Dm 644 -p icons/%{name}.png %{buildroot}%{_datadir}/pixmaps/%{name}.png
d3b6f2c
desktop-file-install --vendor="" \
d6db058
	--mode 644 \
d6db058
	--remove-category="Application" \
d6db058
	--dir %{buildroot}%{_datadir}/applications/ \
d6db058
	%{SOURCE1}
d3b6f2c
d3b6f2c
%clean
d6db058
rm -rf %{buildroot}
d3b6f2c
d3b6f2c
%files
d3b6f2c
%defattr(-,root,root,-)
d3b6f2c
%doc doc/*
0c77abe
%{_mandir}/man1/%{name}.1*
d3b6f2c
%dir %{_datadir}/%{name}
d3b6f2c
%{_bindir}/%{name}
d62a536
%{_datadir}/%{name}/icons/
d62a536
%{_datadir}/%{name}/locales/
d3b6f2c
%{_datadir}/applications/%{name}.desktop
d3b6f2c
%{_datadir}/pixmaps/%{name}.png
d3b6f2c
d3b6f2c
%changelog
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