1 ###############################################################################
2 # IPFire.org - An Open Source Firewall Solution #
3 # Copyright (C) - IPFire Development Team <info@ipfire.org> #
4 ###############################################################################
10 groups = System/Libraries
11 url = http://ftp.kernel.org/pub/linux/libs/security/linux-privs/kernel-2.6/
13 summary = Library for getting and setting POSIX.1e capabilities.
16 libcap is a library for getting and setting POSIX.1e (formerly POSIX 6)
17 draft 15 capabilities.
21 sources = %{thisapp}.tar.gz
32 make DYNAMIC=yes LIBATTR=yes
36 make install DESTDIR=%{BUILDROOT} lib=/%{lib}
38 rm -vf %{BUILDROOT}/%{lib}/libcap.so
39 mkdir -pv %{BUILDROOT}%{libdir}
40 ln -svf ../../%{lib}/libcap.so.2 %{BUILDROOT}%{libdir}/libcap.so
42 chmod 755 %{BUILDROOT}/%{lib}/libcap.so.%{version}
53 package %{name}-debuginfo