# # This is 2012.1 essex-3 milestone # %global release_name essex %global release_letter e %global milestone 3 Name: python-quantumclient Version: 2012.1 Release: 0.1.%{release_letter}%{milestone}%{?dist} Summary: Python API and CLI for OpenStack Quantum Group: Development/Languages License: ASL 2.0 URL: https://github.com/openstack/python-quantumclient BuildArch: noarch Source0: http://launchpad.net/quantum/%{release_name}/%{release_name}-%{milestone}/+download/%{name}-%{version}~%{release_letter}%{milestone}.tar.gz # Taken from: # http://launchpad.net/quantum/essex/essex-3/+download/quantum-2012.1~e3.tar.gz # https://bugs.launchpad.net/quantum/+bug/922440 Source1: quantum__init__.py Patch1: python-quantumclient-non-executable-files.patch # Previously python-quantum owned /usr/lib/python/site-package/quantum # Newer versions will require this package. Users will have to upgrade # both simultaneously. Conflicts: python-quantum <= 2011.3 Requires: python-gflags Requires: python-paste-deploy Requires: python-webob BuildRequires: python2-devel BuildRequires: python-setuptools %description Client library and command line utility for interacting with Openstack Quantum's API. %prep %setup -q %patch1 -p1 %build %{__python} setup.py build %install %{__python} setup.py install -O1 --skip-build --root %{buildroot} install -p -m 644 %{SOURCE1} %{buildroot}%{python_sitelib}/quantum/__init__.py %files %doc README %{_bindir}/quantum %{python_sitelib}/quantum %{python_sitelib}/*.egg-info %changelog * Thu Jan 26 2012 Cole Robinson - 2012.1-0.1.e3 - Initial package