]> git.ipfire.org Git - people/amarx/ipfire-3.x.git/blob - audit/audit.nm
Add a -debuginfo for every package that is not noarch.
[people/amarx/ipfire-3.x.git] / audit / audit.nm
1 ###############################################################################
2 # IPFire.org - An Open Source Firewall Solution #
3 # Copyright (C) - IPFire Development Team <info@ipfire.org> #
4 ###############################################################################
5
6 name = audit
7 version = 2.0.5
8 release = 1
9
10 groups = System/Daemons
11 url = http://people.redhat.com/sgrubb/audit/
12 license = GPLv2+
13 summary = User space tools for 2.6 kernel auditing.
14
15 description
16 The audit package contains the user space utilities for
17 storing and searching the audit records generate by
18 the audit subsystem in the Linux 2.6 kernel.
19 end
20
21 source_dl = http://people.redhat.com/sgrubb/audit/
22
23 build
24 requires
25 autoconf
26 automake
27 libcap-ng-devel
28 libtool
29 openldap-devel
30 python-devel
31 swig
32 end
33
34 configure_options += \
35 --sysconfdir=/etc \
36 --sbindir=/sbin \
37 --libdir=/lib \
38 --without-prelude \
39 --without-libwrap \
40 --enable-gssapi-krb5=no \
41 --with-libcap-ng=yes
42
43 prepare_cmds
44 autoreconf -fvi
45 end
46
47 install_cmds
48 rm -vf %{BUILDROOT}/lib/libau{dit,parse}.so
49 ln -svf ../../lib/libaudit.so.1 %{BUILDROOT}/usr/lib/libaudit.so
50 ln -svf ../../lib/libauparse.so.0 %{BUILDROOT}/usr/lib/libauparse.so
51
52 mkdir -pv %{BUILDROOT}/usr/sbin/
53 mv -v %{BUILDROOT}/sbin/audisp*remote %{BUILDROOT}/usr/sbin/
54
55 rm -rfv %{BUILDROOT}/etc/{rc.d,sysconfig}
56 end
57 end
58
59 packages
60 package %{name}
61 end
62
63 package %{name}-libs
64 template LIBS
65 end
66
67 package %{name}-devel
68 template DEVEL
69 end
70
71 package %{name}-debuginfo
72 template DEBUGINFO
73 end
74 end