2007-01-15 22:51:54 +00:00
|
|
|
#
|
2008-03-07 19:35:26 +00:00
|
|
|
# spec file for package audit-libs-python (Version 1.6.8)
|
2007-01-15 22:51:54 +00:00
|
|
|
#
|
2008-03-07 19:35:26 +00:00
|
|
|
# Copyright (c) 2008 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
2007-01-15 22:51:54 +00: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
|
|
|
|
|
2008-03-07 19:35:26 +00:00
|
|
|
|
2007-01-15 22:51:54 +00:00
|
|
|
Name: audit-libs-python
|
|
|
|
%define _name audit
|
2008-03-07 19:35:26 +00:00
|
|
|
BuildRequires: audit-devel gcc-c++ openldap2-devel pkg-config python-devel swig
|
2007-10-11 16:47:28 +00:00
|
|
|
Summary: Python Bindings for libaudit
|
2008-03-07 19:35:26 +00:00
|
|
|
Version: 1.6.8
|
|
|
|
Release: 1
|
2007-07-12 01:01:37 +00:00
|
|
|
License: GPL v2 or later
|
2007-01-15 22:51:54 +00:00
|
|
|
Group: System/Monitoring
|
2007-10-11 16:47:28 +00:00
|
|
|
Url: http://people.redhat.com/sgrubb/audit/
|
2007-05-06 15:10:42 +00:00
|
|
|
Source0: audit-%{version}.tar.gz
|
2007-07-26 23:18:47 +00:00
|
|
|
Patch0: audit-no_sca.patch
|
2007-01-15 22:51:54 +00:00
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|
|
|
Requires: audit-libs = %( echo `rpm -q --queryformat '%{VERSION}-%{RELEASE}' audit-libs`)
|
|
|
|
PreReq: %insserv_prereq %fillup_prereq
|
|
|
|
|
|
|
|
%description
|
2007-10-11 16:47:28 +00:00
|
|
|
The audit-libs-python package contains the bindings for using libaudit
|
|
|
|
by python.
|
2007-01-15 22:51:54 +00:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Authors:
|
|
|
|
--------
|
|
|
|
Steve Grubb <sgrubb@redhat.com>
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%setup -q -n audit-%{version}
|
2007-07-26 23:18:47 +00:00
|
|
|
%patch0 -p1
|
2007-01-15 22:51:54 +00:00
|
|
|
|
|
|
|
%build
|
2007-07-26 23:18:47 +00:00
|
|
|
#autoreconf -iv --install
|
|
|
|
aclocal && autoconf && autoheader && automake
|
2007-01-15 22:51:54 +00: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 15:10:42 +00:00
|
|
|
make DESTDIR=$RPM_BUILD_ROOT install -C bindings
|
|
|
|
ls -lR $RPM_BUILD_ROOT/
|
2007-01-15 22:51:54 +00: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 15:10:42 +00:00
|
|
|
rm -f $RPM_BUILD_ROOT/%{_libdir}/python%{py_ver}/site-packages/auparse-1.0-py2.5.egg-info
|
2007-01-15 22:51:54 +00:00
|
|
|
|
|
|
|
%clean
|
|
|
|
rm -rf $RPM_BUILD_ROOT
|
|
|
|
|
|
|
|
%files
|
|
|
|
%defattr(-,root,root,-)
|
|
|
|
%{_libdir}/python%{py_ver}/site-packages/_audit.so
|
2007-05-06 15:10:42 +00:00
|
|
|
%{_libdir}/python%{py_ver}/site-packages/auparse.so
|
2007-01-15 22:51:54 +00:00
|
|
|
%{_libdir}/python%{py_ver}/site-packages/audit.py*
|
2008-03-07 19:35:26 +00:00
|
|
|
|
2007-05-06 15:10:42 +00:00
|
|
|
%changelog
|
2008-03-07 19:35:26 +00:00
|
|
|
* Tue Mar 04 2008 tonyj@suse.de
|
|
|
|
- Update to version 1.6.8
|
|
|
|
* Thu Oct 11 2007 tonyj@suse.de
|
2007-10-11 16:47:28 +00:00
|
|
|
- Upgrade to 1.6.2
|
2008-03-07 19:35:26 +00:00
|
|
|
* Wed Jul 25 2007 tonyj@suse.de
|
2007-07-26 23:18:47 +00:00
|
|
|
- Upgrade to 1.5.5
|
|
|
|
Drop audit-swig-attribute.patch (upstreamed)
|
2008-03-07 19:35:26 +00:00
|
|
|
* Fri Jul 13 2007 tonyj@suse.de
|
2007-07-13 20:39:06 +00:00
|
|
|
- Fix build errors on ppc
|
2008-03-07 19:35:26 +00:00
|
|
|
* Thu Jul 12 2007 tonyj@suse.de
|
2007-07-12 01:01:37 +00:00
|
|
|
- Upgrade to 1.5.4
|
2008-03-07 19:35:26 +00:00
|
|
|
* Wed May 02 2007 tonyj@suse.de
|
2007-05-06 15:10:42 +00:00
|
|
|
- Upgrade to 1.5.3.
|
2008-03-07 19:35:26 +00:00
|
|
|
* Wed Nov 29 2006 tonyj@suse.de
|
2007-01-15 22:51:54 +00:00
|
|
|
- Upgrade to 1.2.9 (drop several patches which are now upstream)
|
|
|
|
- /usr/sbin/audispd now packaged by audit-libs-python
|
2008-03-07 19:35:26 +00:00
|
|
|
* Sun Nov 05 2006 ro@suse.de
|
2007-01-15 22:51:54 +00:00
|
|
|
- fix requires
|
2008-03-07 19:35:26 +00:00
|
|
|
* Thu Aug 31 2006 tonyj@suse.de
|
2007-01-15 22:51:54 +00:00
|
|
|
- Upgrade to 1.2.6-1
|
2008-03-07 19:35:26 +00:00
|
|
|
* Wed Aug 16 2006 cthiel@suse.de
|
2007-01-15 22:51:54 +00:00
|
|
|
- split off package
|