]> git.ipfire.org Git - people/ms/ipfire-3.x.git/blame - libpng/libpng.nm
libpng: Update to 1.6.10.
[people/ms/ipfire-3.x.git] / libpng / libpng.nm
CommitLineData
2e2abafc 1###############################################################################
802ea3af
MT
2# IPFire.org - An Open Source Firewall Solution #
3# Copyright (C) - IPFire Development Team <info@ipfire.org> #
2e2abafc
MT
4###############################################################################
5
802ea3af 6name = libpng
f235f266 7version = 1.6.10
802ea3af 8release = 1
2e2abafc 9
de0ca5b0 10compat_ver = 1.5.17
0a035458 11
802ea3af
MT
12groups = System/Libraries
13url = http://www.libpng.org/pub/png/
14license = zlib
15summary = A library of functions for manipulating PNG image format files.
2e2abafc 16
802ea3af 17description
7fd54289
SS
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
2e2abafc 22 data compression algorithm.
802ea3af
MT
23end
24
0a035458 25source_dl = http://downloads.sourceforge.net/project/libpng/libpng16/%{version}/
de0ca5b0 26source_dl += http://downloads.sourceforge.net/project/libpng/history/libpng16/%{version}/
0a035458
SS
27
28# Source URL for comat package.
29source_dl += http://downloads.sourceforge.net/project/libpng/libpng15/%{compat_ver}/
de0ca5b0 30source_dl += http://downloads.sourceforge.net/project/libpng/history/libpng15/%{compat_ver}/
0a035458 31
802ea3af
MT
32sources = %{thisapp}.tar.xz
33
0a035458
SS
34# File for compat package.
35sources += %{name}-%{compat_ver}.tar.xz
36
802ea3af
MT
37build
38 requires
39 pkg-config
40 zlib-devel
41 end
0a035458
SS
42
43 # Build compat package.
44 build_cmds
45 cd %{DIR_SRC}/%{name}-%{compat_ver}
46 ./configure %{configure_options}
47
48 make %{PARALLELISMFLAGS}
49 end
50
51 # Install compat package.
52 install_cmds
53 cd %{DIR_SRC}/%{name}-%{compat_ver}
de0ca5b0
MT
54 install -m 755 .libs/libpng15.so.15.17.0 %{BUILDROOT}%{libdir}
55 ln -svf libpng15.so.15.17.0 %{BUILDROOT}%{libdir}/libpng15.so.15
0a035458 56 end
802ea3af
MT
57end
58
59packages
60 package %{name}
d8b4c3fa 61
802ea3af
MT
62 package %{name}-devel
63 template DEVEL
1f9bc2f0 64
802ea3af
MT
65 requires = zlib-devel
66 end
1f9bc2f0 67
0a035458
SS
68 package %{name}-compat
69 summary = Compat libraries of %{thisapp}.
70
71 files
72 %{libdir}/%{name}15.so*
73 end
74 end
75
1f9bc2f0
MT
76 package %{name}-debuginfo
77 template DEBUGINFO
78 end
802ea3af 79end