|
|
@ -1,7 +1,7 @@
|
|
|
|
Summary: Optimizer for PNG (Portable Network Graphics) files
|
|
|
|
Summary: Optimizer for PNG (Portable Network Graphics) files
|
|
|
|
Name: pngcrush
|
|
|
|
Name: pngcrush
|
|
|
|
Version: 1.6.10
|
|
|
|
Version: 1.6.10
|
|
|
|
Release: 5%{?dist}
|
|
|
|
Release: 6%{?dist}
|
|
|
|
License: zlib
|
|
|
|
License: zlib
|
|
|
|
Group: Applications/File
|
|
|
|
Group: Applications/File
|
|
|
|
URL: http://pmt.sourceforge.net/pngcrush/
|
|
|
|
URL: http://pmt.sourceforge.net/pngcrush/
|
|
|
@ -29,7 +29,7 @@ tRNS, iCCP, and textual chunks.
|
|
|
|
%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
|
|
|
|
pngflags=$(pkg-config --cflags --libs libpng)
|
|
|
|
pngflags=$(pkg-config --cflags --libs libpng)
|
|
|
|
gcc %{optflags} $pngflags -o pngcrush pngcrush.c
|
|
|
|
gcc %{optflags} $pngflags -lz -o pngcrush pngcrush.c
|
|
|
|
|
|
|
|
|
|
|
|
%install
|
|
|
|
%install
|
|
|
|
%{__rm} -rf %{buildroot}
|
|
|
|
%{__rm} -rf %{buildroot}
|
|
|
@ -44,6 +44,9 @@ gcc %{optflags} $pngflags -o pngcrush pngcrush.c
|
|
|
|
%{_bindir}/pngcrush
|
|
|
|
%{_bindir}/pngcrush
|
|
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
%changelog
|
|
|
|
|
|
|
|
* Tue Feb 16 2010 Gerd Hoffmann <kraxel@redhat.com> - 1.6.10-6
|
|
|
|
|
|
|
|
- Fix FTBFS (#565047).
|
|
|
|
|
|
|
|
|
|
|
|
* Sun Jul 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.6.10-5
|
|
|
|
* Sun Jul 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.6.10-5
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
|
|