File patterns-OpenStack.spec of Package patterns-OpenStack
#
# spec file for package patterns-OpenStack
#
# Copyright (c) 2011 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.
Name: patterns-OpenStack
Version: 2012.2.3
Release: 0
License: GPL-2.0+
Summary: Patterns for OpenStack
Url: http://openstack.org/
Group: Metapackages
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildArch: noarch
%description
This is an internal package that is used to create the patterns
%package controller
Summary: Meta package for pattern OpenStack Controller
Group: Metapackages
Requires: tgt
Requires: lvm2
Requires: postgresql-server
Requires: ntp
Requires: open-iscsi
Requires: openstack-glance
Requires: openstack-keystone
Requires: openstack-nova-api
Requires: openstack-nova-network
Requires: openstack-nova-scheduler
Requires: openstack-cinder-api
Requires: openstack-cinder-scheduler
Requires: openstack-cinder-volume
Requires: openstack-quickstart
Requires: python-keystoneclient
Requires: python-novaclient
Requires: python-glanceclient
Requires: python-psycopg2
Requires: rabbitmq-server
Recommends: openstack-dashboard
Recommends: openstack-nova-vncproxy
Recommends: openstack-nova-novncproxy
Recommends: python-python-memcached
Recommends: memcached
%description controller
Meta package for pattern OpenStack Controller
This contains the software for the Cloud's core
%package compute-node
Summary: Meta package for pattern OpenStack Compute Node
Group: Metapackages
Requires: tgt
Requires: kvm
Requires: ntp
Requires: open-iscsi
Requires: openstack-nova-compute
Requires: openstack-nova-network
Requires: openstack-quickstart
Requires: python-psycopg2
%description compute-node
Meta package for pattern OpenStack Compute Node on kvm
%prep
%build
%install
export RPM_BUILD_ROOT
mkdir -p %{buildroot}%{_datadir}/doc/packages/patterns-OpenStack/
for p in controller compute-node ; do
echo "This file marks the pattern $p to be installed." > %{buildroot}%{_datadir}/doc/packages/patterns-OpenStack/$p.txt
done
%files controller
%defattr(-,root,root)
%dir %{_datadir}/doc/packages/patterns-OpenStack
%{_datadir}/doc/packages/patterns-OpenStack/controller.txt
%files compute-node
%defattr(-,root,root)
%dir %{_datadir}/doc/packages/patterns-OpenStack
%{_datadir}/doc/packages/patterns-OpenStack/compute-node.txt
%changelog