]> git.ipfire.org Git - ipfire-3.x.git/blame - libcap/libcap.nm
kernel: udpate to 5.2
[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
b79c4468 7version = 2.25
50ed6e75 8release = 2
a4d6eeb3 9
802ea3af 10groups = System/Libraries
b79c4468 11url = http://ftp.kernel.org/pub/linux/libs/security/linux-privs/libcap2/
802ea3af
MT
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
50ed6e75
MT
32 make DYNAMIC=yes LIBATTR=yes \
33 CFLAGS="%{CFLAGS}" LDFLAGS="%{LDFLAGS}"
802ea3af
MT
34 end
35
36 install
7384056b
MT
37 make install DESTDIR=%{BUILDROOT} prefix=%{prefix} lib=%{lib}
38 chmod 755 %{BUILDROOT}/%{libdir}/libcap.so.%{version}
802ea3af
MT
39 end
40end
41
42packages
43 package %{name}
54362111 44
802ea3af
MT
45 package %{name}-devel
46 template DEVEL
47 end
1f9bc2f0
MT
48
49 package %{name}-debuginfo
50 template DEBUGINFO
51 end
802ea3af 52end