initial version from initial upstream version
This commit is contained in:
parent
83f91a82c3
commit
751dd98022
@ -0,0 +1 @@
|
||||
setroubleshoot-plugins-1.10.0.tar.gz
|
||||
56
setroubleshoot-plugins.spec
Normal file
56
setroubleshoot-plugins.spec
Normal file
@ -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 <jdennis@redhat.com> - 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
|
||||
|
||||
Loading…
Reference in New Issue
Block a user