]> git.pld-linux.org Git - packages/libpng.git/blobdiff - libpng.spec
- up to 1.2.41
[packages/libpng.git] / libpng.spec
index 88f07a5eba7a4690978405cce9642c13e4693050..486f4111e5aa167a0e44b3fe1efed39476cbf18d 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,26 +8,30 @@ 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
+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
 Patch3:                %{name}-export_old.patch
 Patch4:                %{name}-revert.patch
+# http://littlesvr.ca/apng/
+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)
 %else
 Provides:      libpng.so.3
 %endif
+Provides:      libpng(APNG) = 0.10
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
@@ -76,6 +81,7 @@ Summary(tr.UTF-8):    başlık dosyaları ve statik kitaplıklar
 Group:         Development/Libraries
 Requires:      %{name} = %{epoch}:%{version}-%{release}
 Requires:      zlib-devel
+Provides:      libpng(APNG)-devel = 0.10
 Conflicts:     libpng < 1.0.15
 
 %description devel
@@ -113,6 +119,7 @@ Summary(pl.UTF-8):  Biblioteki statyczne PNG
 Summary(pt_BR.UTF-8):  Bibliotecas estáticas para desenvolvimento com libpng
 Group:         Development/Libraries
 Requires:      %{name}-devel = %{epoch}:%{version}-%{release}
+Provides:      libpng(APNG)-static = 0.10
 
 %description static
 Static PNG libraries.
@@ -140,12 +147,15 @@ 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
 %patch3 -p1
 %patch4 -p1
+# to be updated
+#%%patch5 -p0
 
 %ifarch %{ix86}
 ln -sf scripts/makefile.gcmmx ./Makefile
This page took 0.12751 seconds and 4 git commands to generate.