File apparmorapplet-gnome.spec of Package apparmorapplet-gnome

#
# spec file for package apparmorapplet-gnome (Version 0.9)
#
# Copyright (c) 2008 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:           apparmorapplet-gnome
Version:        0.9
Release:        80
Url:            http://forge.novell.com/modules/xfmod/project/?apparmor
BuildRequires:  gnome-common gnome-desktop-devel gnome-panel-devel
%if %suse_version > 1010
BuildRequires:  dbus-1-glib-devel
%else
%define _prefix /opt/gnome
BuildRequires:  dbus-1-devel dbus-1-glib
%endif
Group:          System/GUI/GNOME
Requires:       apparmor-dbus
BuildRoot:      %{_tmppath}/%{name}-%{version}-build
Source0:        %{name}-%{version}.tar.bz2
Summary:        An AppArmor event notification applet for GNOME
License:        GPL v2 or later

%description
This taskbar applet recieves AppArmor events over DBUS, and notifies
the user when AppArmor prevents an application from functioning.



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

%prep
%setup -q

%build
autoreconf -f -i
%configure --prefix=%{_prefix} --libexecdir=%{_prefix}/lib/apparmorapplet
make %{?jobs:-j%jobs}

%install
%makeinstall

%clean
rm -rf $RPM_BUILD_ROOT

%files
%defattr (-, root, root)
%doc AUTHORS COPYING ChangeLog NEWS README
%{_libdir}/bonobo/servers/*.server
%{_prefix}/lib/apparmorapplet
%{_datadir}/pixmaps/*
%if 0%{?suse_version} <= 1010
# needed on sles
%dir %{_prefix}/share/locale/si
%dir %{_prefix}/share/locale/si/LC_MESSAGES
%endif

%changelog
* Fri Nov 07 2008 jjohansen@suse.de
- update translation files
* Thu May 22 2008 jjohansen@suse.de
- update translation files
* Mon Apr 07 2008 jjohansen@suse.de
- Bump version to 0.9 in preparation for AppArmor 2.3 code drop
* Thu Sep 13 2007 dreynolds@suse.de
- Fix Bug #309846 - AppArmor applet segfaults when displaying rejects or closing about window - fix by jjohansen@suse.de
* Wed Aug 15 2007 ro@suse.de
- change prefix to /opt/gnome for sles10-rt
* Mon Aug 06 2007 mbarringer@suse.de
- Resolving bug #297486 (apparmorapplet-gnome does not report
  correct information for certain rejection types).
* Sun Jul 29 2007 mbarringer@suse.de
- Initial checkin of the AppArmor notification applet for GNOME.
  - This applet listens for AppArmor REJECTION events being sent out
  over DBUS and displays a notification in the taskbar.
openSUSE Build Service is sponsored by