update to 1.7.59

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

1
.gitignore vendored

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

@ -1,17 +0,0 @@
---
pngcrush.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
Index: pngcrush-1.6.10/pngcrush.c
===================================================================
--- pngcrush-1.6.10.orig/pngcrush.c
+++ pngcrush-1.6.10/pngcrush.c
@@ -2821,7 +2821,7 @@ int main(int argc, char *argv[])
#if !defined(PNG_cHRM_SUPPORTED) || !defined(PNG_hIST_SUPPORTED) || \
!defined(PNG_iCCP_SUPPORTED) || !defined(PNG_sCAL_SUPPORTED) || \
!defined(PNG_pCAL_SUPPORTED) || !defined(PNG_sPLT_SUPPORTED) || \
- !defined(PNG_tIME_SUPPORTED)
+ !defined(PNG_sTER_SUPPORTED) || !defined(PNG_tIME_SUPPORTED)
png_byte chunk_name[5];
chunk_name[4] = '\0';
#endif

@ -1,20 +1,20 @@
Summary: Optimizer for PNG (Portable Network Graphics) files
Name: pngcrush
Version: 1.7.43
Release: 2%{?dist}
License: zlib
Group: Applications/File
URL: http://pmt.sourceforge.net/pngcrush/
Source0: http://downloads.sourceforge.net/pmt/%{name}-%{version}.tar.xz
# sent upstream 2008-10-31 (mailto:glennrp@users.sf.net) %global _hardened_build 1
#Patch0: %{name}-build.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root Summary: Optimizer for PNG (Portable Network Graphics) files
BuildRequires: libpng-devel, zlib-devel, pkgconfig Name: pngcrush
Version: 1.7.59
Release: 1%{?dist}
License: zlib
Group: Applications/File
URL: http://pmt.sourceforge.net/pngcrush/
Source0: http://downloads.sourceforge.net/pmt/%{name}-%{version}.tar.xz
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
BuildRequires: libpng-devel, zlib-devel, pkgconfig
%description %description
pngcrush is an optimizer for PNG (Portable Network Graphics) files. It can be %{pngcrush} is an optimizer for PNG (Portable Network Graphics) files. It can be
run from a commandline in an MSDOS window, or from a UNIX or LINUX commandline. run from a commandline in an MSDOS window, or from a UNIX or LINUX commandline.
Its main purpose is to reduce the size of the PNG IDAT datastream by trying Its main purpose is to reduce the size of the PNG IDAT datastream by trying
@ -24,7 +24,6 @@ tRNS, iCCP, and textual chunks.
%prep %prep
%setup -q %setup -q
#%patch0 -p1
%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
@ -41,9 +40,14 @@ gcc %{optflags} $pngflags -lz -o pngcrush pngcrush.c
%files %files
%defattr(-, root, root, -) %defattr(-, root, root, -)
%doc ChangeLog.html %doc ChangeLog.html
%{_bindir}/pngcrush %{_bindir}/%{name}
%changelog %changelog
* Fri May 31 2013 François Cami <fcami@fedoraproject.org> - 1.7.59-1
- New upstream release.
- Use more macros.
- Switch to hardened build.
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.7.43-2 * Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.7.43-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild - Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild

@ -1 +1 @@
cd497cea44b99f18ce403c19a67ffea2 pngcrush-1.7.43.tar.xz 865224158ddd216f30887ca097cea738 pngcrush-1.7.59.tar.xz

Loading…
Cancel
Save