File patterns-public-cloud.spec of Package patterns-public-cloud.5963
#
# spec file for package patterns-public-cloud
#
# 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/
#
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 - All
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: cloud-regionsrv-client
Requires: docker-img-store-setup
Requires: growpart
Requires: python-ec2deprecateimg
Requires: python-ec2metadata
Requires: python-ec2publishimg
Requires: python-ec2uploadimg
Requires: python-s3transfer
Requires: python-susepubliccloudinfo
Requires: regionServiceClientConfigEC2
Requires: s3fs
Requires: supportutils-plugin-suse-public-cloud
%description Amazon-Web-Services
This pattern installs all Amazon Web Services command line interface tools,
instance initialization packages and tools to communicate with the cloud
framework from within a running instance. It's not recommended to install this
pattern, but instead install one of the use-case specific patterns (e.g.
Amazon Web Services - Tools).
%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 Amazon-Web-Services-Tools
%pattern_publicclouds
Summary: Amazon Web Services - Tools
Group: Metapackages
Provides: pattern() = Amazon-Web-Services-Tools
Provides: pattern-icon() = pattern-public-cloud
Provides: pattern-order() = 1001
Provides: pattern-visible()
Requires: aws-cli
Requires: python-ec2deprecateimg
Requires: python-ec2publishimg
Requires: python-ec2uploadimg
Requires: python-s3transfer
Requires: python-susepubliccloudinfo
Requires: s3fs
%description Amazon-Web-Services-Tools
This pattern installs the Amazon Web Services command line interface tools to
communicate with the cloud framework (e.g. aws-cli).
%files Amazon-Web-Services-Tools
%defattr(-,root,root)
%dir /usr/share/doc/packages/patterns-public-cloud
/usr/share/doc/packages/patterns-public-cloud/Amazon-Web-Services-Tools.txt
%package Amazon-Web-Services-Instance-Init
%pattern_publicclouds
Summary: Amazon Web Services - Instance Initialization
Group: Metapackages
Provides: pattern() = Amazon-Web-Services-Instance-Init
Provides: pattern-icon() = pattern-public-cloud
Provides: pattern-order() = 1002
Provides: pattern-visible()
Requires: cloud-init
%description Amazon-Web-Services-Instance-Init
This pattern installs the Amazon Web Services instance initialization packages
which support the provisioning and running of instances in the cloud framework
(e.g. cloud-init).
%files Amazon-Web-Services-Instance-Init
%defattr(-,root,root)
%dir /usr/share/doc/packages/patterns-public-cloud
/usr/share/doc/packages/patterns-public-cloud/Amazon-Web-Services-Instance-Init.txt
%package Amazon-Web-Services-Instance-Tools
%pattern_publicclouds
Summary: Amazon Web Services - Instance Tools
Group: Metapackages
Provides: pattern() = Amazon-Web-Services-Instance-Tools
Provides: pattern-icon() = pattern-public-cloud
Provides: pattern-order() = 1003
Provides: pattern-visible()
Requires: cloud-regionsrv-client
Requires: docker-img-store-setup
Requires: growpart
Requires: python-ec2metadata
Requires: python-s3transfer
Requires: regionServiceClientConfigEC2
Requires: s3fs
Requires: supportutils-plugin-suse-public-cloud
%description Amazon-Web-Services-Instance-Tools
This pattern install the Amazon Web Services instance specific tools which are
used to collect instance metadata (e.g. python-ec2metadata).
%files Amazon-Web-Services-Instance-Tools
%defattr(-,root,root)
%dir /usr/share/doc/packages/patterns-public-cloud
/usr/share/doc/packages/patterns-public-cloud/Amazon-Web-Services-Instance-Tools.txt
%package Microsoft-Azure
%pattern_publicclouds
Summary: Microsoft Azure - All
Group: Metapackages
Provides: pattern() = Microsoft-Azure
Provides: pattern-icon() = pattern-public-cloud
Provides: pattern-order() = 2000
Provides: pattern-visible()
Requires: azuremetadata
Requires: cloud-regionsrv-client
Requires: docker-img-store-setup
Requires: growpart
Requires: python-azure-agent
Requires: python-azurectl
Requires: python-susepubliccloudinfo
Requires: regionServiceClientConfigAzure
Requires: supportutils-plugin-suse-public-cloud
%description Microsoft-Azure
This pattern installs all Microsoft Azure command line interface tools,
instance initialization packages and tools to communicate with the cloud
framework from within a running instance. It's not recommended to install this
pattern, but instead install one of the use-case specific patterns (e.g.
Microsoft Azure - Tools).
%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 Microsoft-Azure-Tools
%pattern_publicclouds
Summary: Microsoft Azure - Tools
Group: Metapackages
Provides: pattern() = Microsoft-Azure-Tools
Provides: pattern-icon() = pattern-public-cloud
Provides: pattern-order() = 2001
Provides: pattern-visible()
Requires: python-azurectl
Requires: python-susepubliccloudinfo
%description Microsoft-Azure-Tools
This pattern installs the Microsoft Azure command line interface tools to
communicate with the cloud framework (e.g. python-azurectl).
%files Microsoft-Azure-Tools
%defattr(-,root,root)
%dir /usr/share/doc/packages/patterns-public-cloud
/usr/share/doc/packages/patterns-public-cloud/Microsoft-Azure-Tools.txt
%package Microsoft-Azure-Instance-Init
%pattern_publicclouds
Summary: Microsoft Azure - Instance Initialization
Group: Metapackages
Provides: pattern() = Microsoft-Azure-Instance-Init
Provides: pattern-icon() = pattern-public-cloud
Provides: pattern-order() = 2002
Provides: pattern-visible()
Requires: python-azure-agent
%description Microsoft-Azure-Instance-Init
This pattern installs the Microsoft Azure instance initialization packages
which support the provisioning and running of instances in the cloud framework
(e.g. python-azure-agent).
%files Microsoft-Azure-Instance-Init
%defattr(-,root,root)
%dir /usr/share/doc/packages/patterns-public-cloud
/usr/share/doc/packages/patterns-public-cloud/Microsoft-Azure-Instance-Init.txt
%package Microsoft-Azure-Instance-Tools
%pattern_publicclouds
Summary: Microsoft Azure - Instance Tools
Group: Metapackages
Provides: pattern() = Microsoft-Azure-Instance-Tools
Provides: pattern-icon() = pattern-public-cloud
Provides: pattern-order() = 2003
Provides: pattern-visible()
Requires: azuremetadata
Requires: cloud-regionsrv-client
Requires: docker-img-store-setup
Requires: growpart
Requires: regionServiceClientConfigAzure
Requires: supportutils-plugin-suse-public-cloud
%description Microsoft-Azure-Instance-Tools
This pattern install the Microsoft Azure instance specific tools which are
used to collect instance metadata (e.g. azuremetadata).
%files Microsoft-Azure-Instance-Tools
%defattr(-,root,root)
%dir /usr/share/doc/packages/patterns-public-cloud
/usr/share/doc/packages/patterns-public-cloud/Microsoft-Azure-Instance-Tools.txt
%package Google-Cloud-Platform
%pattern_publicclouds
Summary: Google Cloud Platform - All
Group: Metapackages
Provides: pattern() = Google-Cloud-Platform
Provides: pattern-icon() = pattern-public-cloud
Provides: pattern-order() = 3000
Provides: pattern-visible()
Requires: cloud-regionsrv-client
Requires: cloud-regionsrv-client-plugin-gce
Requires: docker-img-store-setup
Requires: google-api-python-client
Requires: google-cloud-sdk
Requires: google-compute-engine-init
Requires: growpart
Requires: python-gcemetadata
Requires: python-susepubliccloudinfo
Requires: regionServiceClientConfigGCE
Requires: supportutils-plugin-suse-public-cloud
%description Google-Cloud-Platform
This pattern installs all Google Cloud Platform command line interface tools,
instance initialization packages and tools to communicate with the cloud
framework from within a running instance. It's not recommended to install this
pattern, but instead install one of the use-case specific patterns (e.g.
Google Cloud Platform - Tools).
%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 Google-Cloud-Platform-Tools
%pattern_publicclouds
Summary: Google Cloud Platform - Tools
Group: Metapackages
Provides: pattern() = Google-Cloud-Platform-Tools
Provides: pattern-icon() = pattern-public-cloud
Provides: pattern-order() = 3001
Provides: pattern-visible()
Requires: google-cloud-sdk
Requires: python-gcemetadata
Requires: python-susepubliccloudinfo
%description Google-Cloud-Platform-Tools
This pattern installs the Google Cloud Platform command line interface tools
to communicate with the cloud framework (e.g. google-cloud-sdk).
%files Google-Cloud-Platform-Tools
%defattr(-,root,root)
%dir /usr/share/doc/packages/patterns-public-cloud
/usr/share/doc/packages/patterns-public-cloud/Google-Cloud-Platform-Tools.txt
%package Google-Cloud-Platform-Instance-Init
%pattern_publicclouds
Summary: Google Cloud Platform - Instance Initialization
Group: Metapackages
Provides: pattern() = Google-Cloud-Platform-Instance-Init
Provides: pattern-icon() = pattern-public-cloud
Provides: pattern-order() = 3002
Provides: pattern-visible()
Requires: google-compute-engine-init
%description Google-Cloud-Platform-Instance-Init
This pattern installs the Google Cloud Platform instance initialization packages
which support the provisioning and running of instances in the cloud framework
(e.g. google-daemon).
%files Google-Cloud-Platform-Instance-Init
%defattr(-,root,root)
%dir /usr/share/doc/packages/patterns-public-cloud
/usr/share/doc/packages/patterns-public-cloud/Google-Cloud-Platform-Instance-Init.txt
%package Google-Cloud-Platform-Instance-Tools
%pattern_publicclouds
Summary: Google Cloud Platform - Instance Tools
Group: Metapackages
Provides: pattern() = Google-Cloud-Platform-Instance-Tools
Provides: pattern-icon() = pattern-public-cloud
Provides: pattern-order() = 3003
Provides: pattern-visible()
Requires: cloud-regionsrv-client
Requires: cloud-regionsrv-client-plugin-gce
Requires: docker-img-store-setup
Requires: growpart
Requires: python-gcemetadata
Requires: regionServiceClientConfigGCE
Requires: supportutils-plugin-suse-public-cloud
%description Google-Cloud-Platform-Instance-Tools
This pattern install the Google Cloud Platform instance specific tools which are
used to collect instance metadata (e.g. python-gcemetadata).
%files Google-Cloud-Platform-Instance-Tools
%defattr(-,root,root)
%dir /usr/share/doc/packages/patterns-public-cloud
/usr/share/doc/packages/patterns-public-cloud/Google-Cloud-Platform-Instance-Tools.txt
%package OpenStack
%pattern_publicclouds
Summary: OpenStack - All
Group: Metapackages
Provides: pattern() = OpenStack
Provides: pattern-icon() = pattern-public-cloud
Provides: pattern-order() = 4000
Provides: pattern-visible()
Requires: cloud-init
Requires: cloud-regionsrv-client
Requires: docker-img-store-setup
Requires: growpart
Requires: openstack-heat-cfntools
Requires: python-susepubliccloudinfo
Requires: supportutils-plugin-suse-public-cloud
Recommends: openstack-suse-macros
Recommends: openstack-suse-sudo
%description OpenStack
This pattern installs all OpenStack command line interface tools,
instance initialization packages and tools to communicate with the cloud
framework from within a running instance. It's not recommended to install this
pattern, but instead install one of the use-case specific patterns (e.g.
OpenStack - Tools).
%files OpenStack
%defattr(-,root,root)
%dir /usr/share/doc/packages/patterns-public-cloud
/usr/share/doc/packages/patterns-public-cloud/OpenStack.txt
%package OpenStack-Tools
%pattern_publicclouds
Summary: OpenStack - Tools
Group: Metapackages
Provides: pattern() = OpenStack-Tools
Provides: pattern-icon() = pattern-public-cloud
Provides: pattern-order() = 4001
Provides: pattern-visible()
Requires: python-susepubliccloudinfo
Recommends: openstack-suse-macros
Recommends: openstack-suse-sudo
%description OpenStack-Tools
This pattern installs the OpenStack command line interface tools
to communicate with the cloud framework (e.g. python-susepubliccloudinfo).
%files OpenStack-Tools
%defattr(-,root,root)
%dir /usr/share/doc/packages/patterns-public-cloud
/usr/share/doc/packages/patterns-public-cloud/OpenStack-Tools.txt
%package OpenStack-Instance-Init
%pattern_publicclouds
Summary: OpenStack - Instance Initialization
Group: Metapackages
Provides: pattern() = OpenStack-Instance-Init
Provides: pattern-icon() = pattern-public-cloud
Provides: pattern-order() = 4002
Provides: pattern-visible()
Requires: cloud-init
%description OpenStack-Instance-Init
This pattern installs the OpenStack instance initialization packages
which support the provisioning and running of instances in the cloud framework
(e.g. cloud-init).
%files OpenStack-Instance-Init
%defattr(-,root,root)
%dir /usr/share/doc/packages/patterns-public-cloud
/usr/share/doc/packages/patterns-public-cloud/OpenStack-Instance-Init.txt
%package OpenStack-Instance-Tools
%pattern_publicclouds
Summary: OpenStack - Instance Tools
Group: Metapackages
Provides: pattern() = OpenStack-Instance-Tools
Provides: pattern-icon() = pattern-public-cloud
Provides: pattern-order() = 4003
Provides: pattern-visible()
Requires: cloud-regionsrv-client
Requires: docker-img-store-setup
Requires: growpart
Requires: openstack-heat-cfntools
Requires: supportutils-plugin-suse-public-cloud
%description OpenStack-Instance-Tools
This pattern install the OpenStack instance specific tools which are
used to collect instance metadata.
%files OpenStack-Instance-Tools
%defattr(-,root,root)
%dir /usr/share/doc/packages/patterns-public-cloud
/usr/share/doc/packages/patterns-public-cloud/OpenStack-Instance-Tools.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 Amazon-Web-Services-Tools to be installed.' > $RPM_BUILD_ROOT/usr/share/doc/packages/patterns-public-cloud/Amazon-Web-Services-Tools.txt
echo 'This file marks the pattern Amazon-Web-Services-Instance-Init to be installed.' > $RPM_BUILD_ROOT/usr/share/doc/packages/patterns-public-cloud/Amazon-Web-Services-Instance-Init.txt
echo 'This file marks the pattern Amazon-Web-Services-Instance-Tools to be installed.' > $RPM_BUILD_ROOT/usr/share/doc/packages/patterns-public-cloud/Amazon-Web-Services-Instance-Tools.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 Microsoft-Azure-Tools to be installed.' > $RPM_BUILD_ROOT/usr/share/doc/packages/patterns-public-cloud/Microsoft-Azure-Tools.txt
echo 'This file marks the pattern Microsoft-Azure-Instance-Init to be installed.' > $RPM_BUILD_ROOT/usr/share/doc/packages/patterns-public-cloud/Microsoft-Azure-Instance-Init.txt
echo 'This file marks the pattern Microsoft-Azure-Instance-Tools to be installed.' > $RPM_BUILD_ROOT/usr/share/doc/packages/patterns-public-cloud/Microsoft-Azure-Instance-Tools.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 Google-Cloud-Platform-Tools to be installed.' > $RPM_BUILD_ROOT/usr/share/doc/packages/patterns-public-cloud/Google-Cloud-Platform-Tools.txt
echo 'This file marks the pattern Google-Cloud-Platform-Instance-Init to be installed.' > $RPM_BUILD_ROOT/usr/share/doc/packages/patterns-public-cloud/Google-Cloud-Platform-Instance-Init.txt
echo 'This file marks the pattern Google-Cloud-Platform-Instance-Tools to be installed.' > $RPM_BUILD_ROOT/usr/share/doc/packages/patterns-public-cloud/Google-Cloud-Platform-Instance-Tools.txt
echo 'This file marks the pattern OpenStack to be installed.' > $RPM_BUILD_ROOT/usr/share/doc/packages/patterns-public-cloud/OpenStack.txt
echo 'This file marks the pattern OpenStack-Tools to be installed.' > $RPM_BUILD_ROOT/usr/share/doc/packages/patterns-public-cloud/OpenStack-Tools.txt
echo 'This file marks the pattern OpenStack-Instance-Init to be installed.' > $RPM_BUILD_ROOT/usr/share/doc/packages/patterns-public-cloud/OpenStack-Instance-Init.txt
echo 'This file marks the pattern OpenStack-Instance-Tools to be installed.' > $RPM_BUILD_ROOT/usr/share/doc/packages/patterns-public-cloud/OpenStack-Instance-Tools.txt
%changelog