|
|
|
@ -1,14 +1,14 @@
|
|
|
|
|
Summary: Optimizer for PNG (Portable Network Graphics) files
|
|
|
|
|
Name: pngcrush
|
|
|
|
|
Version: 1.6.10
|
|
|
|
|
Release: 10%{?dist}
|
|
|
|
|
Version: 1.7.35
|
|
|
|
|
Release: 1%{?dist}
|
|
|
|
|
License: zlib
|
|
|
|
|
Group: Applications/File
|
|
|
|
|
URL: http://pmt.sourceforge.net/pngcrush/
|
|
|
|
|
Source0: http://downloads.sourceforge.net/pmt/%{name}-%{version}.tar.bz2
|
|
|
|
|
Source0: http://downloads.sourceforge.net/pmt/%{name}-%{version}.tar.xz
|
|
|
|
|
|
|
|
|
|
# sent upstream 2008-10-31 (mailto:glennrp@users.sf.net)
|
|
|
|
|
Patch0: %{name}-build.patch
|
|
|
|
|
#Patch0: %{name}-build.patch
|
|
|
|
|
|
|
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
|
|
|
|
|
BuildRequires: libpng-devel, zlib-devel, pkgconfig
|
|
|
|
@ -24,7 +24,7 @@ tRNS, iCCP, and textual chunks.
|
|
|
|
|
|
|
|
|
|
%prep
|
|
|
|
|
%setup -q
|
|
|
|
|
%patch0 -p1
|
|
|
|
|
#%patch0 -p1
|
|
|
|
|
|
|
|
|
|
%build
|
|
|
|
|
rm -f z*.h crc32.h deflate.h inf*.h trees.h png*.h # force using system headers
|
|
|
|
@ -40,10 +40,13 @@ gcc %{optflags} $pngflags -lz -o pngcrush pngcrush.c
|
|
|
|
|
|
|
|
|
|
%files
|
|
|
|
|
%defattr(-, root, root, -)
|
|
|
|
|
%doc ChangeLog.txt
|
|
|
|
|
%doc ChangeLog.html
|
|
|
|
|
%{_bindir}/pngcrush
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
|
* Tue Jul 31 2012 Jon Ciesla <limburgher@gmail.com> - 1.7.35-1
|
|
|
|
|
- Update to latest to fix FTBFS.
|
|
|
|
|
|
|
|
|
|
* Sat Jul 21 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.6.10-10
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|