5 Summary: A library of functions for manipulating PNG image format files
6 Url: http://www.libpng.org/pub/png/
7 Group: System/Libraries
8 Source: %{name}-%{version}.tar.bz2
9 Source1001: libpng.manifest
10 BuildRequires: zlib-devel
13 The libpng package contains a library of functions for creating and
14 manipulating PNG (Portable Network Graphics) image format files. PNG
15 is a bit-mapped graphics format similar to the GIF format. PNG was
16 created to replace the GIF format, since GIF uses a patented data
17 compression algorithm.
19 Libpng should be installed if you need to manipulate PNG format image
23 Summary: Development tools for programs to manipulate PNG image format files
24 Group: Development/Libraries
25 Requires: %{name} = %{version}-%{release}
29 The libpng-devel package contains header files and documentation necessary
30 for developing programs using the PNG (Portable Network Graphics) library.
38 CFLAGS+=" -D_ARCH_ARM_ -mfpu=neon"
41 %if 0%{?TIZEN_PRODUCT_TV}
42 CFLAGS+=" -D_PNG_COLOR_PICK_ENABLED_ -D_PNG_SEQUENTIAL_READ_SUPPORTED_"
47 %ifarch %arm armv7l armv7el aarch64
48 --enable-arm-neon=check
52 %__make %{?_smp_mflags}
56 rm -rf %{buildroot}/usr/share/man
58 %post -p /sbin/ldconfig
59 %postun -p /sbin/ldconfig
62 %manifest %{name}.manifest
64 %{_libdir}/libpng*.so.*
67 %manifest %{name}.manifest
71 %{_libdir}/pkgconfig/*