|
|
@ -4,11 +4,11 @@
|
|
|
|
Summary: Optimizer for PNG (Portable Network Graphics) files
|
|
|
|
Summary: Optimizer for PNG (Portable Network Graphics) files
|
|
|
|
Name: pngcrush
|
|
|
|
Name: pngcrush
|
|
|
|
Version: 1.7.59
|
|
|
|
Version: 1.7.59
|
|
|
|
Release: 1%{?dist}
|
|
|
|
Release: 2%{?dist}
|
|
|
|
License: zlib
|
|
|
|
License: zlib
|
|
|
|
Group: Applications/File
|
|
|
|
Group: Applications/File
|
|
|
|
URL: http://pmt.sourceforge.net/pngcrush/
|
|
|
|
URL: http://pmt.sourceforge.net/pngcrush/
|
|
|
|
Source0: http://downloads.sourceforge.net/pmt/%{name}-%{version}.tar.xz
|
|
|
|
Source0: http://downloads.sourceforge.net/pmt/%{name}-%{version}-nolib.tar.xz
|
|
|
|
|
|
|
|
|
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
|
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
|
|
|
|
BuildRequires: libpng-devel, zlib-devel, pkgconfig
|
|
|
|
BuildRequires: libpng-devel, zlib-devel, pkgconfig
|
|
|
@ -23,7 +23,7 @@ remove unwanted ancillary chunks, or to add certain chunks including gAMA,
|
|
|
|
tRNS, iCCP, and textual chunks.
|
|
|
|
tRNS, iCCP, and textual chunks.
|
|
|
|
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%prep
|
|
|
|
%setup -q
|
|
|
|
%setup -q -n %{name}-%{version}-nolib
|
|
|
|
|
|
|
|
|
|
|
|
%build
|
|
|
|
%build
|
|
|
|
rm -f z*.h crc32.h deflate.h inf*.h trees.h png*.h # force using system headers
|
|
|
|
rm -f z*.h crc32.h deflate.h inf*.h trees.h png*.h # force using system headers
|
|
|
@ -43,6 +43,9 @@ gcc %{optflags} $pngflags -lz -o pngcrush pngcrush.c
|
|
|
|
%{_bindir}/%{name}
|
|
|
|
%{_bindir}/%{name}
|
|
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
%changelog
|
|
|
|
|
|
|
|
* Sun Jun 2 2013 François Cami <fcami@fedoraproject.org> - 1.7.59-2
|
|
|
|
|
|
|
|
- Switch to the smaller -nolib archive.
|
|
|
|
|
|
|
|
|
|
|
|
* Fri May 31 2013 François Cami <fcami@fedoraproject.org> - 1.7.59-1
|
|
|
|
* Fri May 31 2013 François Cami <fcami@fedoraproject.org> - 1.7.59-1
|
|
|
|
- New upstream release.
|
|
|
|
- New upstream release.
|
|
|
|
- Use more macros.
|
|
|
|
- Use more macros.
|
|
|
|