]> git.ipfire.org Git - people/ms/ipfire-3.x.git/blame - setools/setools.nm
tmux: New package.
[people/ms/ipfire-3.x.git] / setools / setools.nm
CommitLineData
b2f63fb3
SS
1###############################################################################
2# IPFire.org - An Open Source Firewall Solution #
3# Copyright (C) - IPFire Development Team <info@ipfire.org> #
4###############################################################################
5
6name = setools
7version = 3.3.7
26a9a8e8 8release = 2
b2f63fb3
SS
9
10groups = System/Base
11url = http://oss.tresys.com/projects/setools
12license = GPv2
13summary = Policy analysis tools for SELinux.
14
15description
16 SETools is a collection of graphical tools, command-line tools, and
17 libraries designed to facilitate SELinux policy analysis.
18end
19
20source_dl = http://oss.tresys.com/projects/setools/chrome/site/dists/%{thisapp}/
21sources = %{thisapp}.tar.bz2
22
23build
24 requires
25 autoconf
26 automake
27 bison
ffbea52f 28 bzip2-devel
b2f63fb3
SS
29 flex
30 gcc-c++
31 libselinux-devel
32 libsepol-devel
33 libsepol-static
34 libxml2-devel
35 python-devel
36 sqlite-devel
37 swig
38 end
39
40 configure_options += \
ffbea52f 41 --libdir=%{libdir} \
b2f63fb3
SS
42 --disable-static \
43 --disable-gui \
44 --disable-bwidget-check \
45 --disable-selinux-check \
46 --enable-swig-python \
47 --disable-swig-java \
48 --disable-swig-tcl
49
50 prepare_cmds
51 # Fixup expected version of SWIG:
52 sed -i -e "s|AC_PROG_SWIG(1.3.28)|AC_PROG_SWIG(2.0.0)|g" configure.ac
53
54 autoreconf -v -f -i
55 end
56
57end
58
59packages
60 package %{name}
61
62 package %{name}-devel
63 template DEVEL
64 end
65
66 package %{name}-libs
67 template LIBS
68 end
69
70 package python-%{name}
71 summary = Python bindings for setools-libs.
72 description
73 This package includes Python bindings for libapol, libpoldiff, libqpol, libseaudit and libsefs.
74 end
75
76 requires
77 setools-libs=%{thisver}
78 end
79
80 files
ffbea52f 81 %{libdir}/python*
b2f63fb3
SS
82 end
83 end
84
85 package %{name}-debuginfo
86 template DEBUGINFO
87 end
88end