diff --git a/.cvsignore b/.cvsignore index e69de29..394fdd5 100644 --- a/.cvsignore +++ b/.cvsignore @@ -0,0 +1 @@ +setroubleshoot-plugins-1.10.0.tar.gz diff --git a/setroubleshoot-plugins.spec b/setroubleshoot-plugins.spec new file mode 100644 index 0000000..d94b2d8 --- /dev/null +++ b/setroubleshoot-plugins.spec @@ -0,0 +1,56 @@ +Summary: Analysis plugins for use with setroubleshoot +Name: setroubleshoot-plugins +Version: 1.10.0 +Release: 1%{?dist} +License: GPLv2+ +Group: Applications/System +URL: https://hosted.fedoraproject.org/projects/setroubleshoot +Source0: %{name}-%{version}.tar.gz +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) +BuildArch: noarch + +BuildRequires: python +Requires: dbus + +%define pkgdocdir %{_datadir}/doc/%{name}-%{version} + +%description +This package provides a set of analysis plugins for use with +setroubleshoot. Each plugin has the capacity to analyze SELinux AVC +data and system data to provide user friendly reports describing how +to interpret SELinux AVC denials. + +%prep +%setup -q + +%build +%configure +make + +%install +rm -rf %{buildroot} +make DESTDIR=%{buildroot} install +%find_lang %{name} + +%post +dbus-send --system /com/redhat/setroubleshootd com.redhat.SEtroubleshootdIface.restart string:'rpm install' >/dev/null 2>&1 || : + +%postun +if [ $1 -eq 0 ]; then + dbus-send --system /com/redhat/setroubleshootd com.redhat.SEtroubleshootdIface.restart string:'rpm install' >/dev/null 2>&1 || : +fi + +%clean +rm -rf %{buildroot} + +%files -f %{name}.lang +%defattr(-,root,root,-) +%doc %{pkgdocdir} +%{_datadir}/setroubleshoot/plugins + +%changelog +* Fri Jul 20 2007 John Dennis - 1.10.0-1 + - move all plugins and their translations from setroubleshoot-server + package to this new independent package to allow easier updating + of just the plugins + diff --git a/sources b/sources index e69de29..f85f513 100644 --- a/sources +++ b/sources @@ -0,0 +1 @@ +811a719a5207830a47f0a87439fbccd5 setroubleshoot-plugins-1.10.0.tar.gz