Name: libpng
-Version: 1.6.21
-Release: 1
-License: Zlib
+Version: 1.6.37
+Release: 2
+License: Libpng
Summary: A library of functions for manipulating PNG image format files
-Url: http://www.libpng.org/pub/png/
+Url: http://www.libpng.org/pub/png/libpng.html
Group: System/Libraries
Source: %{name}-%{version}.tar.bz2
Source1001: libpng.manifest
CFLAGS+=" -D_ARCH_ARM_ -mfpu=neon"
%endif
-%if 0%{?TIZEN_PRODUCT_TV}
-CFLAGS+=" -D_PNG_COLOR_PICK_ENABLED_ -D_PNG_SEQUENTIAL_READ_SUPPORTED_"
-%endif
-
%configure \
--disable-static \
-%ifarch %arm armv7l armv7el aarch64
- --enable-arm-neon=check
+%ifarch %{arm}
+ --enable-arm-neon=check \
+ %{?ubsan: --enable-arm-neon=no}
%endif