]> git.ipfire.org Git - people/pmueller/ipfire-3.x.git/blob - libcap/libcap.nm
elfutils: Correctly configure debuginfod
[people/pmueller/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.25
8 release = 2
9
10 groups = System/Libraries
11 url = http://ftp.kernel.org/pub/linux/libs/security/linux-privs/libcap2/
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 CFLAGS="%{CFLAGS}" LDFLAGS="%{LDFLAGS}"
34 end
35
36 install
37 make install DESTDIR=%{BUILDROOT} prefix=%{prefix} lib=%{lib}
38 chmod 755 %{BUILDROOT}/%{libdir}/libcap.so.%{version}
39 end
40 end
41
42 packages
43 package %{name}
44
45 package %{name}-devel
46 template DEVEL
47 end
48
49 package %{name}-debuginfo
50 template DEBUGINFO
51 end
52 end