]> git.ipfire.org Git - ipfire-3.x.git/blame - libcap/libcap.nm
libcap: Move libs to /usr.
[ipfire-3.x.git] / libcap / libcap.nm
CommitLineData
a4d6eeb3 1###############################################################################
802ea3af
MT
2# IPFire.org - An Open Source Firewall Solution #
3# Copyright (C) - IPFire Development Team <info@ipfire.org> #
a4d6eeb3
MT
4###############################################################################
5
802ea3af 6name = libcap
54362111 7version = 2.22
7384056b 8release = 3
a4d6eeb3 9
802ea3af
MT
10groups = System/Libraries
11url = http://ftp.kernel.org/pub/linux/libs/security/linux-privs/kernel-2.6/
12license = LGPL2+
13summary = Library for getting and setting POSIX.1e capabilities.
a4d6eeb3 14
802ea3af 15description
54362111 16 libcap is a library for getting and setting POSIX.1e (formerly POSIX 6)
a4d6eeb3 17 draft 15 capabilities.
802ea3af
MT
18end
19
20source_dl = %{url}
21sources = %{thisapp}.tar.gz
22
23build
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
7384056b
MT
36 make install DESTDIR=%{BUILDROOT} prefix=%{prefix} lib=%{lib}
37 chmod 755 %{BUILDROOT}/%{libdir}/libcap.so.%{version}
802ea3af
MT
38 end
39end
40
41packages
42 package %{name}
54362111 43
802ea3af
MT
44 package %{name}-devel
45 template DEVEL
46 end
1f9bc2f0
MT
47
48 package %{name}-debuginfo
49 template DEBUGINFO
50 end
802ea3af 51end