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