File pioneer-autotest.spec of Package pioneer-autotest

#
# spec file for package pioneer-autotest
#
# Copyright 2011 Grid Dynamics Consulting Services, Inc.  All rights reserved.
#
#    This software is provided to Cisco Systems, Inc. as "Supplier Materials"
#    under the license terms governing Cisco's use of such Supplier Materials described
#    in the Master Services Agreement between Grid Dynamics Consulting Services, Inc. and Cisco Systems, Inc.,
#    as amended by Amendment #1.  If the parties are unable to agree upon the terms
#    of the Amendment #1 by July 31, 2011, this license shall automatically terminate and
#    all rights in the Supplier Materials shall revert to Grid Dynamics, unless Grid Dynamics specifically
#    and otherwise agrees in writing.

%define py_puresitedir  /usr/lib/python2.6/site-packages

Name:           pioneer-autotest
Version:	1.0
Release:	0.20111031.2021%{?dist}
Url:            http://www.openstack.org
License:        Apache 2.0
Group:          Development/Languages/Python
Source0:          http://pioneer-autotest.openstack.org/tarballs/%{name}-%{version}.tar.gz  
BuildRoot:      %{_tmppath}/%{name}-%{version}-build
BuildRequires:  python-devel python-setuptools
BuildArch:      noarch
Summary:        Harness tests for pioneer openstack installation

Requires:       python-lettuce python-IPy

%description
Test framework to test openstack installation

%prep
%setup -q -n %{name}-%{version}

%build
python setup.py build

%install
python setup.py install --prefix=%{_prefix} --root=%{buildroot} --record pioneer-autotest.files

%clean
rm -rf %{buildroot}

%files -f pioneer-autotest.files
%defattr(-,root,root,-)
%{python_sitelib}/pioneer_autotest
/usr/local/share/pioneer-autotest

%changelog
openSUSE Build Service is sponsored by