summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMartin Sivak <msivak@redhat.com>2010-06-21 13:36:27 +0200
committerMartin Sivak <msivak@redhat.com>2010-06-21 13:36:27 +0200
commit9c0924b4e947899956c9eafa0817d00e9f970503 (patch)
treeb4fcc9f9457cb7ce206232b51b415aa383f726a4
parent3e49679c9223518dd2b77897bd50f8f993f74540 (diff)
downloadfirstaidkit-9c0924b4e947899956c9eafa0817d00e9f970503.tar.gz
firstaidkit-9c0924b4e947899956c9eafa0817d00e9f970503.tar.xz
firstaidkit-9c0924b4e947899956c9eafa0817d00e9f970503.zip
Add OpenSCAP plugin into spec file
-rw-r--r--firstaidkit.spec16
1 files changed, 16 insertions, 0 deletions
diff --git a/firstaidkit.spec b/firstaidkit.spec
index 36a298c..e1729c2 100644
--- a/firstaidkit.spec
+++ b/firstaidkit.spec
@@ -57,6 +57,7 @@ Summary: All firstaidkit plugins, and the gui
Requires: %{name} = %{version}-%{release}
Requires: %{name}-plugin-passwd
Requires: %{name}-plugin-xserver
+Requires: %{name}-plugin-openscap
%ifnarch s390 s390x ppc64 ppc sparc
Requires: %{name}-plugin-grub
%endif
@@ -93,6 +94,16 @@ BuildArch: noarch
This FirstAidKit plugin automates the recovery of the root system
password.
+%package plugin-openscap
+Group: Applications/System
+Summary: OpenSCAP plugin for FirstAidKit
+Requires: %{name} = %{version}-%{release}
+Requires: openscap >= 0.5.12-1
+BuildArch: noarch
+
+%description plugin-openscap
+This FirstAidKit plugin interfaces the OpenSCAP library, which can be used to perform a security/configuration audit of running machine.
+
%package plugin-xserver
Group: Applications/System
@@ -185,6 +196,7 @@ desktop-file-install --vendor="fedora" --dir=${RPM_BUILD_ROOT}%{_datadir}/applic
%{__install} -d $RPM_BUILD_ROOT%{libdir}/firstaidkit/plugins
%{__cp} -f plugins/passwd.py $RPM_BUILD_ROOT/usr/share/firstaidkit/plugins/
+%{__cp} -f plugins/openscap_plugin.py $RPM_BUILD_ROOT/usr/share/firstaidkit/plugins/
%{__cp} -f plugins/xserver.py $RPM_BUILD_ROOT/usr/share/firstaidkit/plugins/
%{__install} -d $RPM_BUILD_ROOT%{_libdir}/firstaidkit/plugins/grub
%{__cp} -f plugins/grub/*.py $RPM_BUILD_ROOT%{_libdir}/firstaidkit/plugins/grub
@@ -236,6 +248,10 @@ desktop-file-install --vendor="fedora" --dir=${RPM_BUILD_ROOT}%{_datadir}/applic
%defattr(-,root,root,-)
/usr/share/firstaidkit/plugins/passwd.py*
+%files plugin-openscap
+%defattr(-,root,root,-)
+/usr/share/firstaidkit/plugins/openscap_plugin.py*
+
%files plugin-xserver
%defattr(-,root,root,-)
/usr/share/firstaidkit/plugins/xserver.py*