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://www.selinuxproject.org
13 summary = SELinux binary policy manipulation library.
16 libsepol provides an API for the manipulation of SELinux binary
20 sources = %{thisapp}.tgz
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
29 make CFLAGS="%{CFLAGS}" %{PARALELLISMFLAGS}
32 # Install libraries to correct place.
33 make_install_targets += \
34 LIBDIR="%{BUILDROOT}%{libdir}" \
35 SHLIBDIR="%{BUILDROOT}%{libdir}"
39 rm -rf %{BUILDROOT}/usr/bin
41 # Remove manpages for binaries
42 rm -rf %{BUILDROOT}/usr/share/man/man8
53 package %{name}-debuginfo
57 package %{name}-static
58 summary = Static libraries used to build policy manipulation tools.
59 description = %{summary}
60 groups = Development/Libraries