switch to the smaller -nolib archive.

epel9
François Cami 12 years ago
parent 77e2f42be4
commit 1a79aa087d

1
.gitignore vendored

@ -2,3 +2,4 @@ pngcrush-1.6.10.tar.bz2
/pngcrush-1.7.35.tar.xz
/pngcrush-1.7.43.tar.xz
/pngcrush-1.7.59.tar.xz
/pngcrush-1.7.59-nolib.tar.xz

@ -4,11 +4,11 @@
Summary: Optimizer for PNG (Portable Network Graphics) files
Name: pngcrush
Version: 1.7.59
Release: 1%{?dist}
Release: 2%{?dist}
License: zlib
Group: Applications/File
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
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.
%prep
%setup -q
%setup -q -n %{name}-%{version}-nolib
%build
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}
%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
- New upstream release.
- Use more macros.

@ -1 +1 @@
865224158ddd216f30887ca097cea738 pngcrush-1.7.59.tar.xz
b57397564357cfa5954e04328a2c945c pngcrush-1.7.59-nolib.tar.xz

Loading…
Cancel
Save