]> git.ipfire.org Git - people/amarx/ipfire-3.x.git/blob - libcap-ng/libcap-ng.nm
Add a -debuginfo for every package that is not noarch.
[people/amarx/ipfire-3.x.git] / libcap-ng / libcap-ng.nm
1 ###############################################################################
2 # IPFire.org - An Open Source Firewall Solution #
3 # Copyright (C) - IPFire Development Team <info@ipfire.org> #
4 ###############################################################################
5
6 name = libcap-ng
7 version = 0.6.6
8 release = 1
9
10 groups = System/Libraries
11 url = http://people.redhat.com/sgrubb/libcap-ng
12 license = LGPLv2+
13 summary = An alternate posix capabilities library.
14
15 description
16 Libcap-ng is a library that makes using posix capabilities
17 easier.
18 end
19
20 source_dl = http://people.redhat.com/sgrubb/libcap-ng/
21
22 build
23 requires
24 libattr-devel
25 python
26 end
27
28 install_cmds
29 # Move libraries to lib
30 mkdir -pv %{BUILDROOT}/lib
31 mv -vf %{BUILDROOT}/usr/lib/libcap-ng.so.* %{BUILDROOT}/lib/
32
33 # Recreate symlink
34 ln -svf ../../lib/libcap-ng.so.0 %{BUILDROOT}/usr/lib/libcap-ng.so
35 end
36
37 # XXX Testsuite is broken by the package developers
38 #def test
39 # make check
40 #end
41 end
42
43 packages
44 package %{name}
45 end
46
47 package %{name}-devel
48 template DEVEL
49 end
50
51 package %{name}-debuginfo
52 template DEBUGINFO
53 end
54 end