5 Summary: A library of functions for manipulating PNG image format files
6 Url: http://www.libpng.org/pub/png/libpng.html
7 Group: System/Libraries
8 Source: %{name}-%{version}.tar.bz2
9 Source1001: libpng.manifest
12 BuildRequires: zlib-devel
15 The libpng package contains a library of functions for creating and
16 manipulating PNG (Portable Network Graphics) image format files. PNG
17 is a bit-mapped graphics format similar to the GIF format. PNG was
18 created to replace the GIF format, since GIF uses a patented data
19 compression algorithm.
21 Libpng should be installed if you need to manipulate PNG format image
25 Summary: Development tools for programs to manipulate PNG image format files
26 Group: Development/Libraries
27 Requires: %{name} = %{version}-%{release}
31 The libpng-devel package contains header files and documentation necessary
32 for developing programs using the PNG (Portable Network Graphics) library.
40 CFLAGS+=" -D_ARCH_ARM_ -mfpu=neon"
43 %cmake . -DPNG_STATIC=OFF \
44 -DSKIP_INSTALL_PROGRAMS=ON \
45 -DSKIP_INSTALL_EXPORT=ON \
47 -DPNG_ARM_NEON=check \
51 %{?ubsan: -DPNG_ARM_NEON=off}
57 rm -rf %{buildroot}/usr/share/man
59 %post -p /sbin/ldconfig
60 %postun -p /sbin/ldconfig
63 %manifest %{name}.manifest
65 %{_libdir}/libpng*.so.*
68 %manifest %{name}.manifest
72 %{_libdir}/pkgconfig/*