File certification-sles-eal4.spec of Package certification-sles-eal4.2002
#
# spec file for package certification-sles-eal4
#
# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
Summary: SLES12 EAL4+ Certified Configuration
Name: certification-sles-eal4
Version: 12.0
Release: 0.<RELEASE9>
License: GPL-2.0 and SUSE-Permissive
Group: Productivity/Security
Url: https://www.suse.com/security
Source0: %{name}-%{version}.tar.bz2
#Source1: screen-script-screensaver
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildArch: noarch
%description
This package contains utilities and documentation for the Common
Criteria evaluated configuration of the SUSE Linux Enterprise Server 12
(SLES12-SP0).
Authors:
--------
Stephan Mueller <smueller@atsec.com>
Thomas Biege <thomas@suse.com>
%prep
%setup -q
%build
%install
rm -rf $RPM_BUILD_ROOT
mkdir $RPM_BUILD_ROOT || exit 10
make NAME=%{name} \
ECG=SLES12-EAL4-Configuration-Guide \
DESTDIR=${RPM_BUILD_ROOT} \
VERSION=%{version} \
RELEASE=%{release} \
install
# Remove man pages & other docs, they will be handled differently
rm -rf ${RPM_BUILD_ROOT}/%{_datadir}/doc/%{name}
rm -rf ${RPM_BUILD_ROOT}/%{_datadir}/doc/certification-sles-eal4
echo %{_datadir}
find ${RPM_BUILD_ROOT}
%files
%defattr(-,root,root,-)
%doc doc/*
%attr(0644,root,root) %{_mandir}/man8/SLES12-EAL4-Configuration-Guide.*
%changelog