scap-security-guide-0.1.24-1
This commit is contained in:
parent
f43c42b6bd
commit
ffb3d08bc6
2
.gitignore
vendored
2
.gitignore
vendored
@ -6,3 +6,5 @@
|
|||||||
/scap-security-guide-0.1.19.tar.gz
|
/scap-security-guide-0.1.19.tar.gz
|
||||||
/scap-security-guide-0.1.21.tar.gz
|
/scap-security-guide-0.1.21.tar.gz
|
||||||
/v0.1.22.tar.gz
|
/v0.1.22.tar.gz
|
||||||
|
/v0.1.23.tar.gz
|
||||||
|
/v0.1.24.tar.gz
|
||||||
|
@ -6,13 +6,13 @@
|
|||||||
# this one).
|
# this one).
|
||||||
|
|
||||||
Name: scap-security-guide
|
Name: scap-security-guide
|
||||||
Version: 0.1.22
|
Version: 0.1.24
|
||||||
Release: 2%{?dist}
|
Release: 1%{?dist}
|
||||||
Summary: Security guidance and baselines in SCAP formats
|
Summary: Security guidance and baselines in SCAP formats
|
||||||
Group: Applications/System
|
Group: Applications/System
|
||||||
License: Public Domain
|
License: Public Domain
|
||||||
URL: https://fedorahosted.org/scap-security-guide/
|
URL: https://fedorahosted.org/scap-security-guide/
|
||||||
Source0: https://github.com/OpenSCAP/scap-security-guide/archive/v0.1.22.tar.gz
|
Source0: https://github.com/OpenSCAP/scap-security-guide/archive/v%{version}.tar.gz
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
BuildRequires: libxslt, expat, python
|
BuildRequires: libxslt, expat, python
|
||||||
BuildRequires: python-lxml
|
BuildRequires: python-lxml
|
||||||
@ -34,41 +34,62 @@ scap-workbench GUI tool from scap-workbench package to verify that the system
|
|||||||
conforms to provided guideline. Refer to scap-security-guide(8) manual page for
|
conforms to provided guideline. Refer to scap-security-guide(8) manual page for
|
||||||
further information.
|
further information.
|
||||||
|
|
||||||
|
%package doc
|
||||||
|
Summary: HTML formatted documents containing security guides generated from XCCDF benchmarks.
|
||||||
|
Group: System Environment/Base
|
||||||
|
Requires: %{name} = %{version}-%{release}
|
||||||
|
|
||||||
|
%description doc
|
||||||
|
The %{name}-doc package contains HTML formatted documents containing
|
||||||
|
hardening guidances that have been generated from XCCDF benchmarks
|
||||||
|
present in %{name} package.
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q -D -n %{name}-%{version}
|
%setup -q -D -n %{name}-%{version}
|
||||||
|
|
||||||
%build
|
%build
|
||||||
make %{?_smp_mflags} dist
|
make %{?_smp_mflags} dist
|
||||||
make %{?_smp_mflags} dist -C Firefox
|
|
||||||
make %{?_smp_mflags} dist -C Java
|
|
||||||
|
|
||||||
%install
|
%install
|
||||||
|
make install DESTDIR=$RPM_BUILD_ROOT
|
||||||
|
|
||||||
|
# bugfix for ssg-0.1.24
|
||||||
|
mv %{buildroot}/usr/man %{buildroot}%{_mandir}
|
||||||
|
|
||||||
|
# bugfix for ssg-0.1.24
|
||||||
|
mkdir -p %{buildroot}/%{_docdir}/%{name}/guides
|
||||||
|
mv %{buildroot}/%{_docdir}/%{name}/*.html %{buildroot}/%{_docdir}/%{name}/guides
|
||||||
|
|
||||||
# Install DataStream files
|
# Install DataStream files
|
||||||
mkdir -p %{buildroot}%{_datadir}/xml/scap/ssg/content/
|
for target in Firefox JRE
|
||||||
for target in Firefox Fedora Java RHEL/6 RHEL/7
|
|
||||||
do
|
do
|
||||||
cp -a $target/dist/content/ssg-*-ds.xml %{buildroot}%{_datadir}/xml/scap/ssg/content/
|
cp -a $target/dist/content/ssg-*-ds.xml %{buildroot}%{_datadir}/xml/scap/ssg/content/
|
||||||
done
|
done
|
||||||
|
|
||||||
# Add in Fedora manpage
|
|
||||||
mkdir -p %{buildroot}%{_mandir}/en/man8/
|
|
||||||
cp -a docs/scap-security-guide.8 %{buildroot}%{_mandir}/en/man8/scap-security-guide.8
|
|
||||||
|
|
||||||
# Docs
|
# Docs
|
||||||
mkdir -p %{buildroot}/%{_docdir}/%{name}
|
|
||||||
mkdir -p %{buildroot}/%{_docdir}/%{name}/Firefox
|
mkdir -p %{buildroot}/%{_docdir}/%{name}/Firefox
|
||||||
cp -a Firefox/DISCLAIMER %{buildroot}/%{_docdir}/%{name}/Firefox
|
cp -a Firefox/DISCLAIMER %{buildroot}/%{_docdir}/%{name}/Firefox
|
||||||
|
install -m 0644 README.md %{buildroot}/%{_docdir}/%{name}
|
||||||
|
install -m 0644 LICENSE %{buildroot}/%{_docdir}/%{name}
|
||||||
|
|
||||||
%files
|
%files
|
||||||
%{_datadir}/xml/scap
|
%{_datadir}/xml/scap
|
||||||
|
%{_datadir}/%{name}
|
||||||
%lang(en) %{_mandir}/en/man8/scap-security-guide.8.*
|
%lang(en) %{_mandir}/en/man8/scap-security-guide.8.*
|
||||||
%docdir %{_docdir}/%{name}
|
%doc %{_docdir}/%{name}/Firefox/DISCLAIMER
|
||||||
%doc Fedora/LICENSE Fedora/output/ssg-fedora-common-guide.html
|
%doc %{_docdir}/%{name}/LICENSE
|
||||||
%doc RHEL/6/input/auxiliary/DISCLAIMER
|
%doc %{_docdir}/%{name}/README.md
|
||||||
|
|
||||||
|
%files doc
|
||||||
|
%doc %{_docdir}/%{name}/guides/*.html
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Thu Jul 09 2015 Šimon Lukašík <slukasik@redhat.com> - 0.1.24-1
|
||||||
|
- update to the latest upstream release
|
||||||
|
- created doc sub-package to ship all the guides
|
||||||
|
- start distributing centos and scientific linux content
|
||||||
|
- rename java content to jre
|
||||||
|
|
||||||
* Fri Jun 19 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.1.22-2
|
* Fri Jun 19 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.1.22-2
|
||||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user