Name: openscap-daemon Version: 0.1.0 Release: 2%{?dist} Summary: Manages continuous SCAP scans of your infrastructure License: LGPLv2+ URL: http://open-scap.org Source0: https://github.com/OpenSCAP/openscap-daemon/releases/download/%{version}/openscap_daemon-%{version}.tar.gz BuildArch: noarch BuildRequires: systemd-units BuildRequires: python2-devel Requires: python2 Requires: dbus Requires: dbus-python Requires: atomic # for the oscap tool Requires: openscap-scanner # for oscap-ssh, oscap-docker, oscap-vm Requires: openscap-utils %description The OpenSCAP project has progressed greatly over the past years and now provides very nice tooling to perform solicited one-off SCAP evaluation of the machine it runs on. Unsolicited, continuous or planned evaluation has always been out of scope of OpenSCAP to avoid feature creep. The previously mentioned use-case is very desirable and has been requested many times. We feel that now the time is right to start a project that helps you run oscap and does evaluation for you. OpenSCAP-daemon is such a project. The project currently comprises of two parts, the daemon that runs in the background sleeping until a task needs processing, and the command-line tool that talks to the aforementioned daemon using dbus. Do not be alarmed, the command-line tool is much easier to use than pure oscap for common use-cases. %prep %setup -q -n openscap_daemon-%{version} %build %{__python2} setup.py build %install %{__python2} setup.py install --skip-build --root $RPM_BUILD_ROOT %files %doc README.md LICENSE %dir %{python2_sitelib}/openscap_daemon %{python2_sitelib}/openscap_daemon/* %{python2_sitelib}/*egg-info %{_bindir}/oscapd %{_bindir}/oscapd-cli %config(noreplace) %{_sysconfdir}/dbus-1/system.d/org.oscapd.conf %{_unitdir}/oscapd.service %changelog * Fri Nov 20 2015 Martin Preisler - 0.1.0-2 - require dbus - fixed license - added config(noreplace) for org.oscapd.conf * Mon Oct 26 2015 Martin Preisler - 0.1.0-1 - initial version