]> git.pld-linux.org Git - packages/libpng.git/blobdiff - libpng.spec
- updated to 1.2.27
[packages/libpng.git] / libpng.spec
index 3801db690d6b5d2d5b3f70caf3961f7615a6e782..054536e77dccd1f7b5b0e7ac46cb95703248baab 100644 (file)
@@ -7,19 +7,22 @@ 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:       2
+Version:       1.2.27
+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.lzma
+# Source0-md5: 2867168631ac82892a7f8eb9aa4d181a
 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: lzma >= 1:4.42
 BuildRequires: rpmbuild(macros) >= 1.213
 BuildRequires: zlib-devel
 %ifarch %{x8664} ia64 ppc64 s390x sparc64
@@ -27,6 +30,7 @@ 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 +80,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 +118,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 +146,14 @@ from PNM files.
 Narzędzia do konwersji plików PNG z lub do plików PNM.
 
 %prep
-%setup -q
+%setup -q -c -T
+lzma -dc %{SOURCE0} | tar xf - -C ..
 %patch0 -p1
 %patch1 -p1
 %patch2 -p1
 %patch3 -p1
 %patch4 -p1
+%patch5 -p0
 
 %ifarch %{ix86}
 ln -sf scripts/makefile.gcmmx ./Makefile
This page took 0.064828 seconds and 4 git commands to generate.