File apparmor-dbus.spec of Package apparmor-dbus

#
# spec file for package apparmor-dbus (Version 2.3)
#
# Copyright (c) 2008 SUSE LINUX Products GmbH, Nuernberg, Germany.
# 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:           apparmor-dbus
Url:            http://forge.novell.com/modules/xfmod/project/?apparmor
BuildRequires:  audit-devel dbus-1-devel libapparmor-devel pkgconfig
Requires:       libapparmor
Version:        2.3
Release:        3
License:        GPL v2 or later
Group:          System/Monitoring
BuildRoot:      %{_tmppath}/%{name}-%{version}-build
Source0:        %{name}-%{version}.tar.bz2
Patch0:         apparmor-dbus-2.3.diff
Summary:        Audit dispatcher for sending AppArmor events over DBUS

%description
An audit dispatcher for sending AppArmor events over the DBUS system
bus.



Authors:
--------
    Matt Barringer <mbarringer@suse.de>

%prep
%setup -n %{name}-%{version}
%patch0 -p0

%build
autoreconf --force --install
export CFLAGS="$RPM_OPT_FLAGS"
%{?suse_update_config:%{suse_update_config -f}}
./configure --prefix=%{_prefix}
make

%install
rm -rf %{buildroot}
%makeinstall

%clean
rm -rf %{buildroot}

%files
%defattr(-, root, root)
%{_prefix}/bin/apparmor-dbus

%changelog
* Tue Apr 15 2008 coolo@suse.de
- fix build
* Tue Apr 08 2008 jjohansen@suse.de
- Bump version to 2.3 in preparation for AppArmor 2.3 code drop
* Sat Sep 15 2007 sbeattie@suse.de
- send null terminated strings over dbus (#309846)
  - partially addresses crashes in apparmor gnome applet
- removed ro's patch, upstream code added define back in
* Tue Aug 21 2007 ro@suse.de
- apply patch only for SLES10/10.1 and earlier
* Wed Aug 15 2007 ro@suse.de
- define DBUS_API_SUBJECT_TO_CHANGE to successfully compile on
  sles10-rt
* Mon Aug 06 2007 mbarringer@suse.de
- Fixed bug #297486 (apparmorapplet-gnome does not report correct
  information for certain rejection types).
- Now using arrays of bytes rather than dbus string types because
  invalid unicode breaks the dbus connection.
* Sun Jul 29 2007 mbarringer@suse.de
- Switched to using libapparmor1 rather than parse messages
  with pcre.
- Added the ability to recognize both old and new AppArmor
  audit messages.
- Far more information is now broadcast with each message;
  it should be everything an AppArmor log message contains,
  only parsed and easily consumed by an application.
* Thu Feb 08 2007 mbarringer@suse.de
- Initial commit of version 1.0 (Fate #300563)
openSUSE Build Service is sponsored by