]> git.ipfire.org Git - people/ms/ipfire-3.x.git/blame - libpng/libpng.nm
libpng: Update to 1.6.5.
[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
cdcf1bc4 7version = 1.6.5
802ea3af 8release = 1
2e2abafc 9
0a035458
SS
10compat_ver = 1.5.15
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
SS
25source_dl = http://downloads.sourceforge.net/project/libpng/libpng16/%{version}/
26
27# Source URL for comat package.
28source_dl += http://downloads.sourceforge.net/project/libpng/libpng15/%{compat_ver}/
29
802ea3af
MT
30sources = %{thisapp}.tar.xz
31
0a035458
SS
32# File for compat package.
33sources += %{name}-%{compat_ver}.tar.xz
34
802ea3af
MT
35build
36 requires
37 pkg-config
38 zlib-devel
39 end
0a035458
SS
40
41 # Build compat package.
42 build_cmds
43 cd %{DIR_SRC}/%{name}-%{compat_ver}
44 ./configure %{configure_options}
45
46 make %{PARALLELISMFLAGS}
47 end
48
49 # Install compat package.
50 install_cmds
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
54 end
802ea3af
MT
55end
56
57packages
58 package %{name}
d8b4c3fa 59
802ea3af
MT
60 package %{name}-devel
61 template DEVEL
1f9bc2f0 62
802ea3af
MT
63 requires = zlib-devel
64 end
1f9bc2f0 65
0a035458
SS
66 package %{name}-compat
67 summary = Compat libraries of %{thisapp}.
68
69 files
70 %{libdir}/%{name}15.so*
71 end
72 end
73
1f9bc2f0
MT
74 package %{name}-debuginfo
75 template DEBUGINFO
76 end
802ea3af 77end