From 268189135e1e372ebdc557a84b310b611bd8b793 Mon Sep 17 00:00:00 2001 From: Erik van Pienbroek Date: Tue, 31 Jan 2012 18:08:03 +0100 Subject: [PATCH] Update to 1.5.7 - Update to 1.5.7 - Dropped .la files --- .gitignore | 1 + mingw32-libpng.spec | 27 ++++++++++++++++----------- sources | 2 +- 3 files changed, 18 insertions(+), 12 deletions(-) diff --git a/.gitignore b/.gitignore index c807b4b..734cdbe 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1,3 @@ libpng-1.4.3.tar.bz2 /libpng-1.4.8.tar.xz +/libpng-1.5.7.tar.xz diff --git a/mingw32-libpng.spec b/mingw32-libpng.spec index e51961f..9dfbb3e 100644 --- a/mingw32-libpng.spec +++ b/mingw32-libpng.spec @@ -3,8 +3,8 @@ %define __debug_install_post %{_mingw32_debug_install_post} Name: mingw32-libpng -Version: 1.4.8 -Release: 3%{?dist} +Version: 1.5.7 +Release: 1%{?dist} Summary: MinGW Windows Libpng library License: zlib @@ -51,6 +51,9 @@ make %{?_smp_mflags} %install make DESTDIR=$RPM_BUILD_ROOT install +# Drop all .la files +find $RPM_BUILD_ROOT -name "*.la" -delete + # No need to distribute manpages which appear in the Fedora # native packages already. rm -rf $RPM_BUILD_ROOT%{_mingw32_mandir} @@ -59,24 +62,26 @@ rm -rf $RPM_BUILD_ROOT%{_mingw32_mandir} %files %doc ANNOUNCE CHANGES LICENSE README TODO %{_mingw32_bindir}/libpng-config -%{_mingw32_bindir}/libpng14-14.dll -%{_mingw32_bindir}/libpng14-config -%{_mingw32_includedir}/libpng14 +%{_mingw32_bindir}/libpng15-15.dll +%{_mingw32_bindir}/libpng15-config +%{_mingw32_includedir}/libpng15 %{_mingw32_includedir}/png.h %{_mingw32_includedir}/pngconf.h +%{_mingw32_includedir}/pnglibconf.h %{_mingw32_libdir}/libpng.dll.a -%{_mingw32_libdir}/libpng.la -%{_mingw32_libdir}/libpng14.dll.a -%{_mingw32_libdir}/libpng14.la +%{_mingw32_libdir}/libpng15.dll.a %{_mingw32_libdir}/pkgconfig/libpng.pc -%{_mingw32_libdir}/pkgconfig/libpng14.pc +%{_mingw32_libdir}/pkgconfig/libpng15.pc %files static -%defattr(-,root,root,-) %{_mingw32_libdir}/libpng.a -%{_mingw32_libdir}/libpng14.a +%{_mingw32_libdir}/libpng15.a %changelog +* Tue Jan 31 2012 Erik van Pienbroek - 1.5.7-1 +- Update to 1.5.7 +- Dropped .la files + * Fri Jan 13 2012 Fedora Release Engineering - 1.4.8-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild diff --git a/sources b/sources index 046b6f5..c3b4e96 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -2ce595d571f2b06a9403ed5bcfa4ecbd libpng-1.4.8.tar.xz +c3ae9ce4e81ec0aafdd4ac961586ee0d libpng-1.5.7.tar.xz