File patterns-public-cloud.spec of Package patterns-public-cloud.1599
#
# spec file for package patterns-public-cloud
#
# Copyright (c) 2015 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/
#
Name: patterns-public-cloud
BuildRequires: package-translations
BuildRequires: perl(URI::Escape)
Summary: Patterns for the interaction with Public Clouds
License: GPL-2.0+
Group: Metapackages
Version: 12
Release: 0
Url: http://en.opensuse.org/Patterns
BuildRoot: %{_tmppath}/%{name}-%{version}-build
Source0: %name-rpmlintrc
%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 Amazon-Web-Services
%pattern_publicclouds
Summary: Amazon Web Services
Group: Metapackages
Provides: pattern() = Amazon-Web-Services
Provides: pattern-icon() = pattern-public-cloud
Provides: pattern-order() = 1000
Provides: pattern-visible()
Requires: aws-cli
Requires: cloud-init
Requires: python-ec2metadata
Requires: python-ec2deprecateimg
Requires: python-ec2publishimg
Requires: python-ec2uploadimg
Requires: python-ec2utilsbase
Requires: python-susepubliccloudinfo
%description Amazon-Web-Services
This pattern provides command line tools to interface with Amazon EC2.
%files Amazon-Web-Services
%defattr(-,root,root)
%dir /usr/share/doc/packages/patterns-public-cloud
/usr/share/doc/packages/patterns-public-cloud/Amazon-Web-Services.txt
%package Microsoft-Azure
%pattern_publicclouds
Summary: Microsoft Azure
Group: Metapackages
Provides: pattern() = Microsoft-Azure
Provides: pattern-icon() = pattern-public-cloud
Provides: pattern-order() = 2000
Provides: pattern-visible()
Requires: WALinuxAgent
Requires: azuremetadata
Requires: python-azurectl
Requires: python-azure-sdk
Requires: python-susepubliccloudinfo
%description Microsoft-Azure
This pattern provides command line tools to interface with Microsoft Azure.
%files Microsoft-Azure
%defattr(-,root,root)
%dir /usr/share/doc/packages/patterns-public-cloud
/usr/share/doc/packages/patterns-public-cloud/Microsoft-Azure.txt
%package Google-Cloud-Platform
%pattern_publicclouds
Summary: Google Cloud Platform
Group: Metapackages
Provides: pattern() = Google-Cloud-Platform
Provides: pattern-icon() = pattern-public-cloud
Provides: pattern-order() = 3000
Provides: pattern-visible()
Requires: gcimagebundle
Requires: google-api-python-client
Requires: google-cloud-sdk
Requires: google-daemon
Requires: google-startup-scripts
Requires: python-gcemetadata
Requires: python-susepubliccloudinfo
%description Google-Cloud-Platform
This pattern provides command line tools to interface with the Google Cloud Platform.
%files Google-Cloud-Platform
%defattr(-,root,root)
%dir /usr/share/doc/packages/patterns-public-cloud
/usr/share/doc/packages/patterns-public-cloud/Google-Cloud-Platform.txt
%package OpenStack
%pattern_publicclouds
Summary: OpenStack
Group: Metapackages
Provides: pattern() = OpenStack
Provides: pattern-icon() = pattern-public-cloud
Provides: pattern-order() = 4000
Provides: pattern-visible()
Requires: openstack-heat-cfntools
Requires: cloud-init
Requires: python-susepubliccloudinfo
Recommends: openstack-suse-sudo
Recommends: openstack-suse-macros
%description OpenStack
This pattern provides the OpenStack tools.
%files OpenStack
%defattr(-,root,root)
%dir /usr/share/doc/packages/patterns-public-cloud
/usr/share/doc/packages/patterns-public-cloud/OpenStack.txt
%prep
# empty on purpose
%install
mkdir -p $RPM_BUILD_ROOT/usr/share/doc/packages/patterns-public-cloud/
echo 'This file marks the pattern Amazon-Web-Services to be installed.' > $RPM_BUILD_ROOT/usr/share/doc/packages/patterns-public-cloud/Amazon-Web-Services.txt
echo 'This file marks the pattern Microsoft-Azure to be installed.' > $RPM_BUILD_ROOT/usr/share/doc/packages/patterns-public-cloud/Microsoft-Azure.txt
echo 'This file marks the pattern Google-Cloud-Platform to be installed.' > $RPM_BUILD_ROOT/usr/share/doc/packages/patterns-public-cloud/Google-Cloud-Platform.txt
echo 'This file marks the pattern OpenStack to be installed.' > $RPM_BUILD_ROOT/usr/share/doc/packages/patterns-public-cloud/OpenStack.txt
%changelog