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