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 libsemanage provides an API for the manipulation of SELinux
20 sources = %{thisapp}.tgz
28 libsepol-devel >= 2.1.4
36 make CC=gcc LIBDIR="%{libdir}" CFLAGS="-g %{CFLAGS}" swigify
37 make CC=gcc LIBDIR="%{libdir}" CFLAGS="-g %{CFLAGS}" all
38 make CC=gcc LIBDIR="%{libdir}" CFLAGS="-g %{CFLAGS}" pywrap
41 # Install libraries to correct place.
42 make_install_targets += \
43 LIBDIR="%{BUILDROOT}%{libdir}" \
44 SHLIBDIR="%{BUILDROOT}%{libdir}"
47 make install-pywrap %{make_install_targets} DESTDIR=%{BUILDROOT}
49 # Install our config file
50 cp -vf %{DIR_SOURCE}/semanage.conf %{BUILDROOT}/etc/selinux/semanage.conf
62 package python-libsemanage
63 summary = SELinux manage python bindings.
64 description = SELinux python bindings for libsemanage.
71 package %{name}-debuginfo