%bcond_without default_libpng # don't use this libpng as default system libpng
%bcond_without static_libs # static library
#
-%define apng_version 1.6.40
+%define apng_version %{version}
Summary: PNG library
Summary(de.UTF-8): PNG-Library
Summary(pt_BR.UTF-8): Biblioteca PNG
Summary(tr.UTF-8): PNG kitaplığı
Name: libpng
-Version: 1.6.42
+Version: 1.6.43
Release: 1
Epoch: 2
License: distributable
Group: Libraries
Source0: https://downloads.sourceforge.net/libpng/%{name}-%{version}.tar.xz
-# Source0-md5: c580b12b1a8c040b13c35f324a636bb6
+# Source0-md5: 22b8362d16c3724eba9c1fb8d187320a
Patch0: https://downloads.sourceforge.net/libpng-apng/%{name}-%{apng_version}-apng.patch.gz
-# Patch0-md5: c6e309802ada5ed814a6a553161d8fe6
+# Patch0-md5: fc21268c9c583c5d2e7ead8a9ec17240
Patch1: %{name}-pngminus.patch
Patch2: %{name}-drop-Llibdir.patch
URL: http://www.libpng.org/pub/png/libpng.html