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