1 ###############################################################################
2 # IPFire.org - An Open Source Firewall Solution #
3 # Copyright (C) - IPFire Development Team <info@ipfire.org> #
4 ###############################################################################
12 groups = System/Libraries
13 url = http://www.libpng.org/pub/png/
15 summary = A library of functions for manipulating PNG image format files.
18 The libpng package contains a library of functions for creating and
19 manipulating PNG (Portable Network Graphics) image format files.
20 PNG is a bit-mapped graphics format similar to the GIF format. PNG
21 was created to replace the GIF format, since GIF uses a patented
22 data compression algorithm.
25 source_dl = http://downloads.sourceforge.net/project/libpng/libpng16/%{version}/
27 # Source URL for comat package.
28 source_dl += http://downloads.sourceforge.net/project/libpng/libpng15/%{compat_ver}/
30 sources = %{thisapp}.tar.xz
32 # File for compat package.
33 sources += %{name}-%{compat_ver}.tar.xz
41 # Build compat package.
43 cd %{DIR_SRC}/%{name}-%{compat_ver}
44 ./configure %{configure_options}
46 make %{PARALLELISMFLAGS}
49 # Install compat package.
51 cd %{DIR_SRC}/%{name}-%{compat_ver}
52 install -m 755 .libs/libpng15.so.15.15.0 %{BUILDROOT}%{libdir}
53 ln -svf libpng15.so.15.15.0 %{BUILDROOT}%{libdir}/libpng15.so.15
66 package %{name}-compat
67 summary = Compat libraries of %{thisapp}.
70 %{libdir}/%{name}15.so*
74 package %{name}-debuginfo