|
|
9ed2e3 |
%global debug_package %{nil}
|
|
|
9ed2e3 |
%if 0%{?fedora} <= 22 || (0%{?rhel} != 0 && 0%{?rhel} <= 7)
|
|
|
9ed2e3 |
%global pypkg python
|
|
|
9ed2e3 |
%global pysitelib %{python_sitelib}
|
|
|
9ed2e3 |
%global __python %{__python}
|
|
|
9ed2e3 |
%global pgobject pygobject2
|
|
|
9ed2e3 |
%else
|
|
|
9ed2e3 |
%global pypkg python3
|
|
|
9ed2e3 |
%global pysitelib %{python3_sitelib}
|
|
|
9ed2e3 |
%global __python %{__python3}
|
|
|
9ed2e3 |
%global pgobject python3-gobject-base
|
|
|
9ed2e3 |
%endif
|
|
|
9ed2e3 |
|
|
|
9ed2e3 |
Name: openscap-daemon
|
|
|
763fae |
Version: 0.1.6
|
|
|
9ed2e3 |
Release: 1%{?dist}
|
|
|
9ed2e3 |
Summary: Manages continuous SCAP scans of your infrastructure
|
|
|
9ed2e3 |
|
|
|
9ed2e3 |
License: LGPLv2+
|
|
|
9ed2e3 |
URL: http://open-scap.org
|
|
|
9ed2e3 |
Source0: https://github.com/OpenSCAP/openscap-daemon/releases/download/%{version}/openscap_daemon-%{version}.tar.gz
|
|
|
9ed2e3 |
BuildArch: noarch
|
|
|
9ed2e3 |
|
|
|
9ed2e3 |
BuildRequires: systemd-units
|
|
|
9ed2e3 |
BuildRequires: %{pypkg}-devel
|
|
|
9ed2e3 |
Requires: %{pypkg}
|
|
|
9ed2e3 |
Requires: %{pgobject}
|
|
|
9ed2e3 |
Requires: dbus
|
|
|
9ed2e3 |
Requires: dbus-python
|
|
|
9ed2e3 |
|
|
|
9ed2e3 |
# for the oscap tool
|
|
|
9ed2e3 |
Requires: openscap-scanner
|
|
|
9ed2e3 |
# for oscap-ssh, oscap-docker, oscap-vm
|
|
|
9ed2e3 |
Requires: openscap-utils
|
|
|
9ed2e3 |
|
|
|
9ed2e3 |
%description
|
|
|
9ed2e3 |
OpenSCAP-daemon is a service that performs SCAP scans of bare-metal machines,
|
|
|
9ed2e3 |
virtual machines and containers. These scans can be either one-shot or
|
|
|
9ed2e3 |
continuous according to a schedule. You can interact with the service
|
|
|
9ed2e3 |
using the provided oscapd-cli tool or via the DBus interface.
|
|
|
9ed2e3 |
|
|
|
9ed2e3 |
%prep
|
|
|
9ed2e3 |
%setup -q -n openscap_daemon-%{version}
|
|
|
9ed2e3 |
|
|
|
9ed2e3 |
%build
|
|
|
9ed2e3 |
%{__python} setup.py build
|
|
|
9ed2e3 |
|
|
|
9ed2e3 |
%install
|
|
|
9ed2e3 |
%{__python} setup.py install --skip-build --root $RPM_BUILD_ROOT
|
|
|
9ed2e3 |
|
|
|
9ed2e3 |
%files
|
|
|
9ed2e3 |
%doc %{_docdir}/%{name}/README.md
|
|
|
9ed2e3 |
%doc %{_docdir}/%{name}/LICENSE
|
|
|
9ed2e3 |
|
|
|
9ed2e3 |
%dir %{pysitelib}/openscap_daemon
|
|
|
9ed2e3 |
%{pysitelib}/openscap_daemon/*
|
|
|
9ed2e3 |
|
|
|
9ed2e3 |
%{pysitelib}/*egg-info
|
|
|
9ed2e3 |
|
|
|
9ed2e3 |
%{_bindir}/oscapd
|
|
|
9ed2e3 |
%{_mandir}/man8/oscapd.8.gz
|
|
|
9ed2e3 |
%{_bindir}/oscapd-cli
|
|
|
9ed2e3 |
%{_mandir}/man8/oscapd-cli.8.gz
|
|
|
9ed2e3 |
%{_bindir}/oscapd-evaluate
|
|
|
9ed2e3 |
%{_mandir}/man8/oscapd-evaluate.8.gz
|
|
|
9ed2e3 |
|
|
|
9ed2e3 |
%config(noreplace) %{_sysconfdir}/dbus-1/system.d/org.oscapd.conf
|
|
|
9ed2e3 |
%{_unitdir}/oscapd.service
|
|
|
9ed2e3 |
|
|
|
9ed2e3 |
%changelog
|
|
|
763fae |
* Tue Sep 06 2016 Martin Preisler <mpreisle@redhat.com> - 0.1.6-1
|
|
|
763fae |
- upgrade to the latest upstream release
|
|
|
763fae |
|
|
|
9ed2e3 |
* Fri Apr 22 2016 Martin Preisler <mpreisle@redhat.com> - 0.1.5-1
|
|
|
9ed2e3 |
- upgrade to the latest upstream release
|
|
|
9ed2e3 |
|
|
|
9ed2e3 |
* Mon Mar 28 2016 Martin Preisler <mpreisle@redhat.com> - 0.1.4-1
|
|
|
9ed2e3 |
- upgrade to the latest upstream release
|
|
|
9ed2e3 |
|
|
|
9ed2e3 |
* Thu Feb 11 2016 Šimon Lukašík <slukasik@redhat.com> - 0.1.3-1
|
|
|
9ed2e3 |
- upgrade to the latest upstream release
|
|
|
9ed2e3 |
|
|
|
9ed2e3 |
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 0.1.2-2
|
|
|
9ed2e3 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
|
|
|
9ed2e3 |
|
|
|
9ed2e3 |
* Thu Jan 28 2016 Martin Preisler <mpreisle@redhat.com> - 0.1.2-1
|
|
|
9ed2e3 |
- updated to 0.1.2
|
|
|
9ed2e3 |
- dropped dependency on python-requests
|
|
|
9ed2e3 |
|
|
|
9ed2e3 |
* Thu Jan 21 2016 Šimon Lukašík <slukasik@redhat.com> - 0.1.1-4
|
|
|
9ed2e3 |
- Add dependency on python requests
|
|
|
9ed2e3 |
|
|
|
9ed2e3 |
* Wed Jan 20 2016 Šimon Lukašík <slukasik@redhat.com> - 0.1.1-3
|
|
|
9ed2e3 |
- Add dependency on python gobject
|
|
|
9ed2e3 |
|
|
|
9ed2e3 |
* Tue Jan 12 2016 Martin Preisler <mpreisle@redhat.com> - 0.1.1-2
|
|
|
9ed2e3 |
- dropped the atomic requirement, it's an optional dependency
|
|
|
9ed2e3 |
|
|
|
9ed2e3 |
* Mon Jan 11 2016 Martin Preisler <mpreisle@redhat.com> - 0.1.1-1
|
|
|
9ed2e3 |
- updated to 0.1.1
|
|
|
9ed2e3 |
|
|
|
9ed2e3 |
* Tue Dec 01 2015 Šimon Lukašík <slukasik@redhat.com> - 0.1.0-5
|
|
|
9ed2e3 |
- build on all platforms where atomic is available
|
|
|
9ed2e3 |
|
|
|
9ed2e3 |
* Fri Nov 27 2015 Šimon Lukašík <slukasik@redhat.com> - 0.1.0-4
|
|
|
9ed2e3 |
- install openscap-daemon in python3 directories on F23+
|
|
|
9ed2e3 |
|
|
|
9ed2e3 |
* Fri Nov 27 2015 Šimon Lukašík <slukasik@redhat.com> - 0.1.0-3
|
|
|
9ed2e3 |
- openscap-daemon is now exlusively on x86_64
|
|
|
9ed2e3 |
|
|
|
9ed2e3 |
* Fri Nov 20 2015 Martin Preisler <mpreisle@redhat.com> - 0.1.0-2
|
|
|
9ed2e3 |
- require dbus
|
|
|
9ed2e3 |
- fixed license
|
|
|
9ed2e3 |
- added config(noreplace) for org.oscapd.conf
|
|
|
9ed2e3 |
|
|
|
9ed2e3 |
* Mon Oct 26 2015 Martin Preisler <mpreisle@redhat.com> - 0.1.0-1
|
|
|
9ed2e3 |
- initial version
|