]>
Commit | Line | Data |
---|---|---|
b5ddf7db | 1 | ############################################################################### |
802ea3af MT |
2 | # IPFire.org - An Open Source Firewall Solution # |
3 | # Copyright (C) - IPFire Development Team <info@ipfire.org> # | |
b5ddf7db SS |
4 | ############################################################################### |
5 | ||
802ea3af | 6 | name = libcap-ng |
9788e5af | 7 | version = 0.6.6 |
87235625 | 8 | release = 2 |
b5ddf7db | 9 | |
802ea3af MT |
10 | groups = System/Libraries |
11 | url = http://people.redhat.com/sgrubb/libcap-ng | |
12 | license = LGPLv2+ | |
13 | summary = An alternate posix capabilities library. | |
b5ddf7db | 14 | |
802ea3af | 15 | description |
49026b7d | 16 | Libcap-ng is a library that makes using posix capabilities |
802ea3af MT |
17 | easier. |
18 | end | |
19 | ||
49026b7d | 20 | source_dl = http://people.redhat.com/sgrubb/libcap-ng/ |
802ea3af MT |
21 | |
22 | build | |
23 | requires | |
24 | libattr-devel | |
25 | python | |
26 | end | |
27 | ||
49026b7d SS |
28 | install_cmds |
29 | # Move libraries to lib | |
87235625 MT |
30 | mkdir -pv %{BUILDROOT}/%{lib} |
31 | mv -vf %{BUILDROOT}%{libdir}/libcap-ng.so.* %{BUILDROOT}/%{lib}/ | |
49026b7d SS |
32 | |
33 | # Recreate symlink | |
87235625 | 34 | ln -svf ../../%{lib}/libcap-ng.so.0 %{BUILDROOT}%{libdir}/libcap-ng.so |
49026b7d SS |
35 | end |
36 | ||
802ea3af MT |
37 | # XXX Testsuite is broken by the package developers |
38 | #def test | |
39 | # make check | |
40 | #end | |
41 | end | |
42 | ||
43 | packages | |
44 | package %{name} | |
1f9bc2f0 | 45 | |
802ea3af MT |
46 | package %{name}-devel |
47 | template DEVEL | |
48 | end | |
1f9bc2f0 MT |
49 | |
50 | package %{name}-debuginfo | |
51 | template DEBUGINFO | |
52 | end | |
802ea3af | 53 | end |