]> git.ipfire.org Git - people/ms/ipfire-3.x.git/blob - libcap/libcap.nm
libnetfilter_queue: Update to 1.0.2.
[people/ms/ipfire-3.x.git] / libcap / libcap.nm
1 ###############################################################################
2 # IPFire.org - An Open Source Firewall Solution #
3 # Copyright (C) - IPFire Development Team <info@ipfire.org> #
4 ###############################################################################
5
6 name = libcap
7 version = 2.22
8 release = 3
9
10 groups = System/Libraries
11 url = http://ftp.kernel.org/pub/linux/libs/security/linux-privs/kernel-2.6/
12 license = LGPL2+
13 summary = Library for getting and setting POSIX.1e capabilities.
14
15 description
16 libcap is a library for getting and setting POSIX.1e (formerly POSIX 6)
17 draft 15 capabilities.
18 end
19
20 source_dl = %{url}
21 sources = %{thisapp}.tar.gz
22
23 build
24 requires
25 libattr-devel
26 pam-devel
27 perl
28 /bin/ping
29 end
30
31 build
32 make DYNAMIC=yes LIBATTR=yes
33 end
34
35 install
36 make install DESTDIR=%{BUILDROOT} prefix=%{prefix} lib=%{lib}
37 chmod 755 %{BUILDROOT}/%{libdir}/libcap.so.%{version}
38 end
39 end
40
41 packages
42 package %{name}
43
44 package %{name}-devel
45 template DEVEL
46 end
47
48 package %{name}-debuginfo
49 template DEBUGINFO
50 end
51 end