]> git.ipfire.org Git - people/arne_f/ipfire-3.x.git/blame - libsemanage/libsemanage.nm
Merge remote-tracking branch 'stevee/libxml2'
[people/arne_f/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
MT
6name = libsemanage
7version = 2.0.45
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
3002f9ae
SS
16 libsemanage provides an API for the manipulation of SELinux \
17 binary policies.
802ea3af 18end
3002f9ae 19
802ea3af
MT
20source_dl =
21sources = %{thisapp}.tgz
3002f9ae 22
802ea3af
MT
23build
24 requires
25 bison
26 bzip2-devel
27 flex
28 libselinux-devel
29 libsepol-devel
30 python-devel
31 swig
32 ustr-devel
33 end
3002f9ae 34
802ea3af
MT
35 build
36 make clean
37 make CC=gcc LIBDIR="/usr/lib" CFLAGS="-g %{CFLAGS}" swigify
38 make CC=gcc LIBDIR="/usr/lib" CFLAGS="-g %{CFLAGS}" all
39 make CC=gcc LIBDIR="/usr/lib" CFLAGS="-g %{CFLAGS}" pywrap
40 end
3002f9ae 41
802ea3af
MT
42 install_cmds
43 make install-pywrap DESTDIR=%{BUILDROOT}
3002f9ae 44
802ea3af
MT
45 # Install our config file
46 cp -vf %{DIR_SOURCE}/semanage.conf %{BUILDROOT}/etc/selinux/semanage.conf
47 end
48end
3002f9ae 49
802ea3af
MT
50packages
51 package %{name}
52 end
1f9bc2f0 53
802ea3af
MT
54 package %{name}-devel
55 template DEVEL
56 end
1f9bc2f0 57
802ea3af
MT
58 package python-selinux-manage
59 summary = SELinux manage python bindings.
60 description = SELinux python bindings for libsemanage.
1f9bc2f0 61
802ea3af
MT
62 files
63 /usr/lib/python*
64 end
65 end
1f9bc2f0
MT
66
67 package %{name}-debuginfo
68 template DEBUGINFO
69 end
802ea3af 70end