]> git.ipfire.org Git - people/ms/ipfire-3.x.git/blame - libsemanage/libsemanage.nm
libsemanage: Update to 2.1.5.
[people/ms/ipfire-3.x.git] / libsemanage / libsemanage.nm
CommitLineData
3002f9ae 1###############################################################################
802ea3af
MT
2# IPFire.org - An Open Source Firewall Solution #
3# Copyright (C) - IPFire Development Team <info@ipfire.org> #
3002f9ae
SS
4###############################################################################
5
802ea3af 6name = libsemanage
0a80ab86 7version = 2.1.5
802ea3af 8release = 1
3002f9ae 9
802ea3af
MT
10groups = System/Libraries
11url = http://www.selinuxproject.org
12license = LGPLv2+
13summary = SELinux binary policy manipulation library.
3002f9ae 14
802ea3af 15description
0a80ab86 16 libsemanage provides an API for the manipulation of SELinux
3002f9ae 17 binary policies.
802ea3af 18end
3002f9ae 19
802ea3af 20sources = %{thisapp}.tgz
3002f9ae 21
802ea3af
MT
22build
23 requires
24 bison
25 bzip2-devel
26 flex
27 libselinux-devel
28 libsepol-devel
29 python-devel
30 swig
31 ustr-devel
32 end
3002f9ae 33
802ea3af
MT
34 build
35 make clean
36 make CC=gcc LIBDIR="/usr/lib" CFLAGS="-g %{CFLAGS}" swigify
37 make CC=gcc LIBDIR="/usr/lib" CFLAGS="-g %{CFLAGS}" all
38 make CC=gcc LIBDIR="/usr/lib" CFLAGS="-g %{CFLAGS}" pywrap
39 end
3002f9ae 40
802ea3af
MT
41 install_cmds
42 make install-pywrap DESTDIR=%{BUILDROOT}
3002f9ae 43
802ea3af
MT
44 # Install our config file
45 cp -vf %{DIR_SOURCE}/semanage.conf %{BUILDROOT}/etc/selinux/semanage.conf
46 end
47end
3002f9ae 48
802ea3af
MT
49packages
50 package %{name}
51 end
1f9bc2f0 52
802ea3af
MT
53 package %{name}-devel
54 template DEVEL
55 end
1f9bc2f0 56
802ea3af
MT
57 package python-selinux-manage
58 summary = SELinux manage python bindings.
59 description = SELinux python bindings for libsemanage.
1f9bc2f0 60
802ea3af
MT
61 files
62 /usr/lib/python*
63 end
64 end
1f9bc2f0
MT
65
66 package %{name}-debuginfo
67 template DEBUGINFO
68 end
802ea3af 69end