]> git.ipfire.org Git - people/ms/ipfire-3.x.git/blob - libsepol/libsepol.nm
Merge remote-tracking branch 'stevee/rc.local-fix'
[people/ms/ipfire-3.x.git] / libsepol / libsepol.nm
1 ###############################################################################
2 # IPFire.org - An Open Source Firewall Solution #
3 # Copyright (C) - IPFire Development Team <info@ipfire.org> #
4 ###############################################################################
5
6 name = libsepol
7 version = 2.1.4
8 release = 5
9
10 groups = System/Libraries
11 url = http://www.selinuxproject.org
12 license = LGPLv2+
13 summary = SELinux binary policy manipulation library.
14
15 description
16 libsepol provides an API for the manipulation of SELinux binary
17 policies.
18 end
19
20 sources = %{thisapp}.tgz
21
22 build
23 # Keep static libsepol.a for some selinux tools, that needs to link
24 # against it. We will put it into an own package.
25 keep_libraries = %{libdir}/libsepol.a
26
27 build
28 make clean
29 make CFLAGS="%{CFLAGS}" %{PARALELLISMFLAGS}
30 end
31
32 # Install libraries to correct place.
33 make_install_targets += \
34 LIBDIR="%{BUILDROOT}%{libdir}" \
35 SHLIBDIR="%{BUILDROOT}%{libdir}"
36
37 install_cmds
38 # Remove binaries
39 rm -rf %{BUILDROOT}/usr/bin
40
41 # Remove manpages for binaries
42 rm -rf %{BUILDROOT}/usr/share/man/man8
43 end
44 end
45
46 packages
47 package %{name}
48
49 package %{name}-devel
50 template DEVEL
51 end
52
53 package %{name}-debuginfo
54 template DEBUGINFO
55 end
56
57 package %{name}-static
58 summary = Static libraries used to build policy manipulation tools.
59 description = %{summary}
60 groups = Development/Libraries
61
62 files
63 %{libdir}/libsepol.a
64 end
65 end
66 end