]> git.ipfire.org Git - ipfire-3.x.git/blame - compat-libpng/compat-libpng.nm
clamav: Update to 0.101.4
[ipfire-3.x.git] / compat-libpng / compat-libpng.nm
CommitLineData
98456149
SS
1###############################################################################
2# IPFire.org - An Open Source Firewall Solution #
3# Copyright (C) - IPFire Development Team <info@ipfire.org> #
4###############################################################################
5
6name = compat-libpng
7version = 1.5.18
8release = 1
9thisapp = libpng-%{version}
10
11groups = System/Libraries
12url = http://www.libpng.org/pub/png/
13license = zlib
14summary = A library of functions for manipulating PNG image format files.
15
16description
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.
22end
23
24source_dl += http://downloads.sourceforge.net/project/libpng/libpng15/%{version}/
25source_dl += http://downloads.sourceforge.net/project/libpng/history/libpng15/%{version}/
26
27sources = %{thisapp}.tar.xz
28
29build
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
41end
42
43packages
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
61end