Name: python-cinderclient Version: 0.2 Release: 1%{?dist} Summary: Python API and CLI for OpenStack cinder Group: Development/Languages License: ASL 2.0 URL: http://github.com/openstack/python-cinderclient Source0: https://launchpad.net/%{name}/trunk/%{version}/+download/%{name}-%{version}.tar.gz # # patches_base=0.2 # Patch0001: 0001-remove-auto-deps.patch BuildArch: noarch BuildRequires: python-setuptools Requires: python-httplib2 Requires: python-prettytable Requires: python-setuptools %description This is a client for the OpenStack cinder API. There's a Python API (the cinderclient module), and a command-line script (cinder). Each implements 100% of the OpenStack cinder API. %prep %setup -q %patch0001 -p1 # Remove bundled egg-info rm -rf python_cinderclient.egg-info %build %{__python} setup.py build %install %{__python} setup.py install -O1 --skip-build --root %{buildroot} # Delete tests rm -fr %{buildroot}%{python_sitelib}/tests %files %doc README.rst %doc LICENSE %{_bindir}/cinder %{python_sitelib}/cinderclient %{python_sitelib}/*.egg-info %changelog * Mon Sep 3 2012 Pádraig Brady 0.2-1 - Initial release