File openstack-quickstart.spec of Package openstack-quickstart
#
# spec file for package openstack-quickstart
#
# 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: openstack-quickstart
Version: 2011.3
Release: 0
License: MIT
Summary: OpenStack Quickstart
Url: http://en.opensuse.org/SDB:Cloud_OpenStack_Quickstart
Group: System/Management
BuildArch: noarch
Source: openstack-quickstart-demosetup
Source1: openstack-quickstart-extranodesetup
Source2: openstack-loopback-lvm
Source3: getkstoken
Source10: bash.openstackrc
Source100: COPYING
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%description
Includes scripts and configs to easily generate an openstack demo setup.
%prep
%build
%install
mkdir -p %{buildroot}%{_sysconfdir} %{buildroot}%{_sbindir} %{buildroot}%{_bindir}
install -p -m 755 %{SOURCE0} %{buildroot}%{_sbindir}
install -p -m 755 %{SOURCE1} %{buildroot}%{_sbindir}
install -p -m 755 %{SOURCE2} %{buildroot}%{_sbindir}
install -p -m 755 %{SOURCE3} %{buildroot}%{_bindir}
install -p -m 644 %{SOURCE10} %{buildroot}%{_sysconfdir}
cp -a %{SOURCE100} .
%files
%defattr(-,root,root)
%config %{_sbindir}/openstack-quickstart-*
%{_sbindir}/openstack-loopback-lvm
%{_bindir}/getkstoken
%config %{_sysconfdir}/bash.openstackrc
%doc COPYING
%changelog