diff --git a/fotoxx.spec b/fotoxx.spec index 8527cc8..951f42b 100644 --- a/fotoxx.spec +++ b/fotoxx.spec @@ -1,6 +1,6 @@ Name: fotoxx -Version: 8.0 -Release: 6%{?dist} +Version: 10.11.1 +Release: 7%{?dist} Summary: Photo editor Group: Applications/Multimedia @@ -17,12 +17,9 @@ Requires: exiv2 Requires: printoxx # Presents checked at build time -BuildRequires: perl-Image-ExifTool ufraw xdg-utils +BuildRequires: perl-Image-ExifTool ufraw xdg-utils libtiff-devel Requires: perl-Image-ExifTool ufraw xdg-utils -# No public bugtracker. Sent to author by mail 2009-08-09 -Patch0: fotoxx-8.0-mandir.patch - %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 @@ -30,19 +27,15 @@ needs while remaining easy to use. %prep %setup -q -%patch0 -p0 -b .mandir - -# To use "fedora" CFLAGS (exported) -sed -i -e "s/CFLAGS =/CFLAGS +=/" Makefile %build -CFLAGS="${CFLAGS:-%optflags}" ; export CFLAGS ; +CFLAGS="${CFLAGS:-%optflags}" ; export CFLAGS ; make %{?_smp_mflags} PREFIX=%{_prefix} %install rm -rf %{buildroot} -make install DESTDIR=%{buildroot} PREFIX=%{_prefix} DOCDIR=%{_docdir}/%{name}-%{version} -install -Dm 644 -p data/icons/%{name}.png %{buildroot}%{_datadir}/pixmaps/%{name}.png +make install manpage DESTDIR=%{buildroot} PREFIX=%{_prefix} DOCDIR=%{_docdir}/%{name}-%{version} +install -Dm 644 -p icons/%{name}.png %{buildroot}%{_datadir}/pixmaps/%{name}.png desktop-file-install --vendor="" \ --mode 644 \ --remove-category="Application" \ @@ -55,7 +48,7 @@ rm -rf %{buildroot} %files %defattr(-,root,root,-) %doc doc/* -%doc %{_mandir}/man1/%{name}.1* +%{_mandir}/man1/%{name}.1* %dir %{_datadir}/%{name} %{_bindir}/%{name} %{_datadir}/%{name}/icons/ @@ -64,6 +57,13 @@ rm -rf %{buildroot} %{_datadir}/pixmaps/%{name}.png %changelog +* 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