]> git.pld-linux.org Git - packages/libpng.git/blobdiff - libpng.spec
- updated apng patch from http://vdubapngmod.sourceforge.net/
[packages/libpng.git] / libpng.spec
index c5290301f8cb0339db788d5563d767c79d335ff9..ebf4b0aa9fef06c7fd2de16797f545c67ff1f1ef 100644 (file)
@@ -1,4 +1,5 @@
 # NOTE: try to switch to ac/am/lt build on 1.2.x->1.4.x upgrade
+# TODO: update apng.patch when possible
 Summary:       PNG library
 Summary(de.UTF-8):     PNG-Library
 Summary(es.UTF-8):     Biblioteca PNG
@@ -7,13 +8,13 @@ Summary(pl.UTF-8):    Biblioteka PNG
 Summary(pt_BR.UTF-8):  Biblioteca PNG
 Summary(tr.UTF-8):     PNG kitaplığı
 Name:          libpng
-Version:       1.2.24
-Release:       3
+Version:       1.2.41
+Release:       1
 Epoch:         2
 License:       distributable
 Group:         Libraries
-Source0:       http://dl.sourceforge.net/libpng/%{name}-%{version}.tar.bz2
-# Source0-md5: 1e676c5cc7dfa4ef78affe8fb8f1011d
+Source0:       http://dl.sourceforge.net/libpng/%{name}-%{version}.tar.xz
+# Source0-md5: 5aca52d472cb53035a7424f5ce3650ef
 Patch0:                %{name}-pngminus.patch
 Patch1:                %{name}-opt.patch
 Patch2:                %{name}-norpath.patch
@@ -23,6 +24,7 @@ Patch4:               %{name}-revert.patch
 Patch5:                %{name}-apng.patch
 URL:           http://www.libpng.org/pub/png/libpng.html
 BuildRequires: rpmbuild(macros) >= 1.213
+BuildRequires: xz >= 1:4.999.7
 BuildRequires: zlib-devel
 %ifarch %{x8664} ia64 ppc64 s390x sparc64
 Provides:      libpng.so.3()(64bit)
@@ -145,7 +147,8 @@ from PNM files.
 Narzędzia do konwersji plików PNG z lub do plików PNM.
 
 %prep
-%setup -q
+%setup -q -c -T
+xzcat -dc %{SOURCE0} | tar xf - -C ..
 %patch0 -p1
 %patch1 -p1
 %patch2 -p1
This page took 0.080615 seconds and 4 git commands to generate.