---- libpng-1.0.60/scripts/makefile.linux.orig 2012-04-25 19:27:07.640508188 +0200
-+++ libpng-1.0.60/scripts/makefile.linux 2012-04-25 19:27:36.627174251 +0200
+--- libpng-1.0.61/scripts/makefile.linux.orig 2012-04-25 19:27:07.640508188 +0200
++++ libpng-1.0.61/scripts/makefile.linux 2012-04-25 19:27:36.627174251 +0200
@@ -8,8 +8,8 @@
# and license in png.h
-PNGMAJ = 0
+LIBNAME = libpng
+PNGMAJ = 2
- PNGMIN = 1.0.60
+ PNGMIN = 1.0.61
PNGVER = $(PNGMAJ).$(PNGMIN)
@@ -54,7 +54,7 @@
install: install-static install-shared install-man install-config
---- libpng-1.0.60/scripts/makefile.gcmmx.orig 2008-03-15 15:25:16.211287745 +0100
-+++ libpng-1.0.60/scripts/makefile.gcmmx 2008-03-15 15:25:55.143148910 +0100
+--- libpng-1.0.61/scripts/makefile.gcmmx.orig 2008-03-15 15:25:16.211287745 +0100
++++ libpng-1.0.61/scripts/makefile.gcmmx 2008-03-15 15:25:55.143148910 +0100
@@ -12,8 +12,8 @@
# the background! Context switches between MMX and FPU are expensive.
-PNGMAJ = 0
+LIBNAME = libpng
+PNGMAJ = 2
- PNGMIN = 1.0.60
+ PNGMIN = 1.0.61
PNGVER = $(PNGMAJ).$(PNGMIN)
@@ -70,8 +70,8 @@
Summary(pt_BR.UTF-8): Biblioteca PNG
Summary(tr.UTF-8): PNG kitaplığı
Name: libpng1
-Version: 1.0.60
+Version: 1.0.61
Release: 1
Epoch: 2
License: distributable
Group: Libraries
-Source0: http://downloads.sourceforge.net/libpng/libpng-%{version}.tar.bz2
-# Source0-md5: c5aac9072eaad7ea8faab75b98f2f34b
+Source0: http://downloads.sourceforge.net/libpng/libpng-%{version}.tar.xz
+# Source0-md5: 5b169ae943409f15de4647cd5a4783c5
Patch0: %{name}-opt.patch
Patch1: %{name}-pngminus.patch
Patch2: %{name}-SONAME.patch
URL: http://www.libpng.org/pub/png/libpng.html
BuildRequires: rpmbuild(macros) >= 1.213
+BuildRequires: tar >= 1:1.22
+BuildRequires: xz
BuildRequires: zlib-devel
Provides: libpng = %{version}
%ifarch %{x8664} ia64 ppc64 s390x sparc64