File apparmor-dbus.spec of Package apparmor-dbus

#
# spec file for package apparmor-dbus (Version 2.3)
#
# Copyright (c) 2009 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.

# 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 pkg-config
Requires:       libapparmor
Version:        2.3
Release:        52
License:        GPL v2 or later
Group:          System/Monitoring
BuildRoot:      %{_tmppath}/%{name}-%{version}-build
Source0:        %{name}-%{version}.tar.bz2
Patch0:         apparmor-dbus-2.3.diff
Patch1:         apparmor-dbus-2.3-as_needed.patch
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 -q
%patch0 -p0
%patch1 -p0

%build
autoreconf --force --install
export CFLAGS="$RPM_OPT_FLAGS"
%{?suse_update_config:%{suse_update_config -f}}
%configure
%{__make} %{?jobs:-j%jobs}

%install
%makeinstall

%clean
rm -rf %{buildroot}

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

%changelog
openSUSE Build Service is sponsored by