File patterns-adv-sys-mgmt.spec of Package patterns-adv-sys-mgmt.15599

#
# spec file for package patterns-adv-sys-mgmt
#
# Copyright (c) 2020 SUSE LLC
#
# 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 https://bugs.opensuse.org/
#


Name:           patterns-adv-sys-mgmt
BuildRequires:  perl(URI::Escape)
Summary:        Patterns for Advanced Systems Management
License:        GPL-2.0-or-later
Group:          Metapackages
Version:        12
Release:        0
URL:            http://en.opensuse.org/Patterns
BuildRoot:      %{_tmppath}/%{name}-%{version}-build
Source0:        %name-rpmlintrc
BuildRequires:  package-translations

%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.

%{expand:%(perl /usr/share/package-translations/create_macros)}

%package Machinery
%pattern_advsysmgmt
Summary:        Machinery
Group:          Metapackages
Provides:       pattern() = Machinery
Provides:       pattern-icon() = pattern-adv-sys-mgmt
Provides:       pattern-order() = 5000
Provides:       pattern-visible()

Requires:       machinery

%description Machinery
This pattern installs the new systems management toolbox called Machinery.

%files Machinery
%defattr(-,root,root)
%dir /usr/share/doc/packages/patterns-adv-sys-mgmt
/usr/share/doc/packages/patterns-adv-sys-mgmt/machinery.txt

%package Puppet
%pattern_advsysmgmt
Summary:        Puppet
Group:          Metapackages
Provides:       pattern() = Puppet
Provides:       pattern-icon() = pattern-adv-sys-mgmt
Provides:       pattern-order() = 5010
Provides:       pattern-visible()

Requires:       puppet
Requires:       puppet-server

%description Puppet
This pattern installs the Puppet configuration management utility.

%files Puppet
%defattr(-,root,root)
%dir /usr/share/doc/packages/patterns-adv-sys-mgmt
/usr/share/doc/packages/patterns-adv-sys-mgmt/puppet.txt

%package CFEngine
%pattern_advsysmgmt
Summary:        CFEngine
Group:          Metapackages
Provides:       pattern() = CFEngien
Provides:       pattern() = CFEngine
Provides:       pattern-icon() = pattern-adv-sys-mgmt
Provides:       pattern-order() = 5020
Provides:       pattern-visible()

Requires:       cfengine

%description CFEngine
This pattern installs the CFEngine configuration management system.

%files CFEngine
%defattr(-,root,root)
%dir /usr/share/doc/packages/patterns-adv-sys-mgmt
/usr/share/doc/packages/patterns-adv-sys-mgmt/cfengine.txt

%prep
# empty on purpose

%install

mkdir -p $RPM_BUILD_ROOT/usr/share/doc/packages/patterns-adv-sys-mgmt/
echo 'This file marks the pattern Machinery to be installed.' > $RPM_BUILD_ROOT/usr/share/doc/packages/patterns-adv-sys-mgmt/machinery.txt
echo 'This file marks the pattern Puppet to be installed.' > $RPM_BUILD_ROOT/usr/share/doc/packages/patterns-adv-sys-mgmt/puppet.txt
echo 'This file marks the pattern CFEngine to be installed.' > $RPM_BUILD_ROOT/usr/share/doc/packages/patterns-adv-sys-mgmt/cfengine.txt

%changelog
openSUSE Build Service is sponsored by