]> git.ipfire.org Git - people/ms/ipfire-3.x.git/blob - compat-libpng/compat-libpng.nm
tmux: New package.
[people/ms/ipfire-3.x.git] / compat-libpng / compat-libpng.nm
1 ###############################################################################
2 # IPFire.org - An Open Source Firewall Solution #
3 # Copyright (C) - IPFire Development Team <info@ipfire.org> #
4 ###############################################################################
5
6 name = compat-libpng
7 version = 1.5.18
8 release = 1
9 thisapp = libpng-%{version}
10
11 groups = System/Libraries
12 url = http://www.libpng.org/pub/png/
13 license = zlib
14 summary = A library of functions for manipulating PNG image format files.
15
16 description
17 The libpng package contains a library of functions for creating and
18 manipulating PNG (Portable Network Graphics) image format files.
19 PNG is a bit-mapped graphics format similar to the GIF format. PNG
20 was created to replace the GIF format, since GIF uses a patented
21 data compression algorithm.
22 end
23
24 source_dl += http://downloads.sourceforge.net/project/libpng/libpng15/%{version}/
25 source_dl += http://downloads.sourceforge.net/project/libpng/history/libpng15/%{version}/
26
27 sources = %{thisapp}.tar.xz
28
29 build
30 requires
31 pkg-config
32 zlib-devel
33 end
34
35 install
36 # Install just the library and no headers.
37 mkdir -pv %{BUILDROOT}%{libdir}
38 install -m 755 .libs/libpng15.so.15.18.0 %{BUILDROOT}%{libdir}
39 ln -svf libpng15.so.15.18.0 %{BUILDROOT}%{libdir}/libpng15.so.15
40 end
41 end
42
43 packages
44 package %{name}
45 provides
46 libpng = %{thisver}
47 end
48
49 obsoletes
50 libpng-compat
51 end
52
53 conflicts
54 libpng <= %{thisver}
55 end
56 end
57
58 package %{name}-debuginfo
59 template DEBUGINFO
60 end
61 end