]> git.ipfire.org Git - people/ms/ipfire-3.x.git/blame - libcap/libcap.nm
Move all packages to root.
[people/ms/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
MT
6name = libcap
7version = 2.19
8release = 1
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
a4d6eeb3
MT
16 libcap is a library for getting and setting POSIX.1e (formerly POSIX 6) \
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
36 make install DESTDIR=%{BUILDROOT} lib=/lib
37
38 rm -vf %{BUILDROOT}/lib/libcap.so
39 mkdir -pv %{BUILDROOT}/usr/lib
40 ln -svf ../../lib/libcap.so.2 %{BUILDROOT}/usr/lib/libcap.so
41
42 chmod 755 %{BUILDROOT}/lib/libcap.so.%{version}
43 end
44end
45
46packages
47 package %{name}
48 end
49
50 package %{name}-devel
51 template DEVEL
52 end
53end