File patterns-server-enterprise.spec of Package patterns-server-enterprise.14730
#
# spec file for package patterns-server
#
# Copyright (c) 2017 SUSE LINUX 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/
#
%bcond_with betatest
Name: patterns-server-enterprise
Version: 20171206
Release: 0
Summary: Patterns for Installation (server patterns)
License: MIT
Group: Metapackages
Url: https://github.com/openSUSE/patterns
Source0: %{name}-rpmlintrc
Source1: pattern-definition-32bit.txt
Source2: create_32bit-patterns_file.pl
Source3: pre_checkin.sh
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: patterns-rpm-macros
%description
This is an internal package that is used to create the patterns as part
of the installation source setup. Installation of this package does
not make sense.
This particular package contains all the server related patterns for software
that is not shipped in openSUSE
################################################################################
%package fips
%pattern_primaryfunctions
Summary: FIPS 140-2 specific packages
Group: Metapackages
Provides: pattern() = fips
Provides: pattern-icon() = pattern-generic
Provides: pattern-order() = 3010
Provides: pattern-visible()
Provides: patterns-sles-fips = %{version}
Obsoletes: patterns-sles-fips < %{version}
Requires: pattern() = basesystem
# Only the checksum files that "complete" the FIPS modules.
Requires: dracut-fips
Requires: libcryptsetup12-hmac
Requires: libfreebl3-hmac
Requires: libgcrypt20-hmac
Requires: libopenssl1_1-hmac
Requires: libsoftokn3-hmac
Requires: openssh-fips
Requires: strongswan-hmac
Requires: libgnutls30-hmac
%ifnarch %ppc64le
Recommends: libfreebl3-hmac-32bit
Recommends: libsoftokn3-hmac-32bit
Recommends: libopenssl1_1-hmac-32bit
Recommends: libgcrypt20-hmac-32bit
Recommends: libcryptsetup12-hmac-32bit
Recommends: strongswan-hmac
%endif
%description fips
This pattern installs the FIPS 140-2 specific packages that complete the various
cryptographic modules in use. It is required if you want to run the
machine with "fips=1".
Please note that this pattern only enables FIPS 140-2 compliant operation, it does
not directly make the system FIPS 140-2 certified nor validated.
Please refer to SUSE official statements on the state of FIPS 140-2 certification.
%files fips
%dir /usr/share/doc/packages/patterns
/usr/share/doc/packages/patterns/fips.txt
################################################################################
%ifarch s390x
%package hwcrypto
%pattern_basetechnologies
Summary: System z HW crypto support
Group: Metapackages
Provides: pattern() = hwcrypto
Provides: pattern-icon() = pattern-generic
Provides: pattern-order() = 1040
Provides: pattern-visible()
Provides: patterns-sles-hwcrypto = %{version}
Obsoletes: patterns-sles-hwcrypto < %{version}
Requires: pattern() = basesystem
Recommends: libica-2_3_0
Recommends: libica-2_3_0-32bit
Requires: openCryptoki
Requires: openCryptoki-64bit
Requires: openssl-ibmca
%description hwcrypto
A selection of packages that installs the System z HW crypto stack on
System z.
%files hwcrypto
%dir /usr/share/doc/packages/patterns
/usr/share/doc/packages/patterns/hwcrypto.txt
%endif
################################################################################
%package oracle_server
%pattern_primaryfunctions
Summary: Oracle Server Base
Group: Metapackages
Provides: pattern() = oracle_server
Provides: pattern-icon() = pattern-generic
Provides: pattern-order() = 3120
Provides: pattern-visible()
Provides: patterns-sles-oracle_server = %{version}
Obsoletes: patterns-sles-oracle_server < %{version}
Requires: pattern() = basesystem
Requires: orarun
%description oracle_server
Set up the server for installing Oracle databases.
%files oracle_server
%dir /usr/share/doc/packages/patterns
/usr/share/doc/packages/patterns/oracle_server.txt
################################################################################
%package sap_server
%pattern_primaryfunctions
Summary: SAP Application Server Base
Group: Metapackages
Provides: pattern() = sap_server
Provides: pattern-icon() = pattern-generic
Provides: pattern-order() = 3110
Provides: pattern-visible()
Provides: patterns-sles-sap_server = %{version}
Obsoletes: patterns-sles-sap_server < %{version}
Requires: pattern() = basesystem
Recommends: pattern() = yast2_basis
Requires: sapconf
# Fate#325727
Requires: insserv-compat
Recommends: sap-locale
Recommends: uuidd
%description sap_server
Set up the server for installing SAP systems.
%files sap_server
%dir /usr/share/doc/packages/patterns
/usr/share/doc/packages/patterns/sap_server.txt
################################################################################
%prep
%build
%install
mkdir -p "%{buildroot}/usr/share/doc/packages/patterns"
for i in fips oracle_server sap_server; do
echo "This file marks the pattern $i to be installed." \
>"%{buildroot}/usr/share/doc/packages/patterns/$i.txt"
echo "This file marks the pattern $i-32bit to be installed." \
>"%{buildroot}/usr/share/doc/packages/patterns/$i-32bit.txt"
done
%ifarch s390x
echo "This file marks the pattern hwcrypto to be installed." \
>"%{buildroot}/usr/share/doc/packages/patterns/hwcrypto.txt"
%endif
#
# This file is created at check-in time. Sorry for the inconsistent workflow :(
#
%include %{SOURCE1}
%changelog