2007-01-15 23:51:54 +01:00
|
|
|
#
|
2007-05-06 17:10:42 +02:00
|
|
|
# spec file for package audit-libs-python (Version 1.5.3)
|
2007-01-15 23:51:54 +01:00
|
|
|
#
|
2007-05-06 17:10:42 +02:00
|
|
|
# Copyright (c) 2007 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
2007-01-15 23:51:54 +01:00
|
|
|
# This file and all modifications and additions to the pristine
|
|
|
|
# package are under the same license as the package itself.
|
|
|
|
#
|
|
|
|
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
|
|
|
#
|
|
|
|
|
|
|
|
# norootforbuild
|
|
|
|
|
|
|
|
Name: audit-libs-python
|
|
|
|
%define _name audit
|
2007-05-06 17:10:42 +02:00
|
|
|
BuildRequires: audit-devel gcc-c++ pkg-config python-devel swig
|
2007-01-15 23:51:54 +01:00
|
|
|
Summary: Python bindings for libaudit
|
2007-05-06 17:10:42 +02:00
|
|
|
Version: 1.5.3
|
2007-05-09 00:57:25 +02:00
|
|
|
Release: 3
|
2007-01-15 23:51:54 +01:00
|
|
|
License: GNU General Public License (GPL)
|
|
|
|
Group: System/Monitoring
|
|
|
|
URL: http://people.redhat.com/sgrubb/audit/
|
2007-05-06 17:10:42 +02:00
|
|
|
Source0: audit-%{version}.tar.gz
|
2007-01-15 23:51:54 +01:00
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|
|
|
Requires: audit-libs = %( echo `rpm -q --queryformat '%{VERSION}-%{RELEASE}' audit-libs`)
|
|
|
|
PreReq: %insserv_prereq %fillup_prereq
|
|
|
|
|
|
|
|
%description
|
|
|
|
The audit-libs-python package contains the bindings so that libaudit
|
|
|
|
can be used by python.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Authors:
|
|
|
|
--------
|
|
|
|
Steve Grubb <sgrubb@redhat.com>
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%setup -q -n audit-%{version}
|
|
|
|
|
|
|
|
%build
|
2007-05-06 17:10:42 +02:00
|
|
|
autoreconf -iv --install
|
2007-01-15 23:51:54 +01:00
|
|
|
export CFLAGS="%{optflags} -fno-strict-aliasing"
|
|
|
|
export CXXFLAGS="$CFLAGS"
|
|
|
|
./configure --prefix=%{_prefix} --sbindir=/sbin --mandir=%{_mandir} --libdir=/%{_lib} --sysconfdir=/etc --with-apparmor
|
|
|
|
pushd src/mt
|
|
|
|
make libaudit.h
|
|
|
|
popd
|
|
|
|
make
|
|
|
|
|
|
|
|
%install
|
|
|
|
make DESTDIR=$RPM_BUILD_ROOT install -C swig
|
2007-05-06 17:10:42 +02:00
|
|
|
make DESTDIR=$RPM_BUILD_ROOT install -C bindings
|
|
|
|
ls -lR $RPM_BUILD_ROOT/
|
2007-01-15 23:51:54 +01:00
|
|
|
rm -f $RPM_BUILD_ROOT/%{_libdir}/python%{py_ver}/site-packages/_audit.a
|
|
|
|
rm -f $RPM_BUILD_ROOT/%{_libdir}/python%{py_ver}/site-packages/_audit.la
|
2007-05-06 17:10:42 +02:00
|
|
|
rm -f $RPM_BUILD_ROOT/%{_libdir}/python%{py_ver}/site-packages/auparse-1.0-py2.5.egg-info
|
2007-01-15 23:51:54 +01:00
|
|
|
|
|
|
|
%clean
|
|
|
|
rm -rf $RPM_BUILD_ROOT
|
|
|
|
|
|
|
|
%files
|
|
|
|
%defattr(-,root,root,-)
|
|
|
|
%{_libdir}/python%{py_ver}/site-packages/_audit.so
|
2007-05-06 17:10:42 +02:00
|
|
|
%{_libdir}/python%{py_ver}/site-packages/auparse.so
|
2007-01-15 23:51:54 +01:00
|
|
|
%{_libdir}/python%{py_ver}/site-packages/audit.py*
|
|
|
|
|
2007-05-06 17:10:42 +02:00
|
|
|
%changelog
|
|
|
|
* Wed May 02 2007 - tonyj@suse.de
|
|
|
|
- Upgrade to 1.5.3.
|
2007-01-15 23:51:54 +01:00
|
|
|
* Wed Nov 29 2006 - tonyj@suse.de
|
|
|
|
- Upgrade to 1.2.9 (drop several patches which are now upstream)
|
|
|
|
- /usr/sbin/audispd now packaged by audit-libs-python
|
|
|
|
* Sun Nov 05 2006 - ro@suse.de
|
|
|
|
- fix requires
|
|
|
|
* Thu Aug 31 2006 - tonyj@suse.de
|
|
|
|
- Upgrade to 1.2.6-1
|
|
|
|
* Wed Aug 16 2006 - cthiel@suse.de
|
|
|
|
- split off package
|