Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:sschapiro:openstack:upstream
openstack-client
openstack-client.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File openstack-client.spec of Package openstack-client
%global with_doc 0 %global prj client %global commit_id 0 %if ! (0%{?fedora} > 12 || 0%{?rhel} > 5) %{!?python_sitelib: %global python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print(get_python_lib())")} %endif Name: openstack-%{prj} Version: 2011.3 Release: b554 Summary: Client for OpenStack Nova API Group: Applications/System License: ASL 2.0 Vendor: Grid Dynamics Consulting Services, Inc. URL: http://pypi.python.org/pypi/python-novaclient Source0: python-novaclient-%{version}.tar.gz BuildRoot: %{_tmppath}/%{prj}-%{version}-%{release}-root-%(%{__id_u} -n) BuildArch: noarch BuildRequires: python-devel BuildRequires: python-setuptools BuildRequires: python-nose Requires: python-novaclient = %{version}-%{release} %description This is a client for the OpenStack Nova API. There's a Python API (the novaclient module), and a command-line script (nova). Each implements 100% of the OpenStack Nova API. This package contains command-line script. %package -n python-novaclient Summary: Python API for OpenStack Nova Group: Development/Languages Requires: python-argparse Requires: python-simplejson Requires: python-json Requires: python-httplib2 Requires: python-prettytable %description -n python-novaclient This is a client for the OpenStack Nova API. There's a Python API (the novaclient module), and a command-line script (nova). Each implements 100% of the OpenStack Nova API. This package contains Python API. %if 0%{?with_doc} %package doc Summary: Documentation for OpenStack Nova API Group: Documentation %description doc This is a client for the OpenStack Nova API. There's a Python API (the novaclient module), and a command-line script (nova). Each implements 100% of the OpenStack Nova API. This package contains autogenerated documentation. %endif %prep %setup -q -n python-novaclient-%{version} #patch1 -p1 %build %{__python} setup.py build %install rm -rf %{buildroot} %{__python} setup.py install -O1 --skip-build --root %{buildroot} # Delete tests rm -fr %{buildroot}%{python_sitelib}/tests %if 0%{?with_doc} export PYTHONPATH="$( pwd ):$PYTHONPATH" sphinx-build -b html docs html # Fix hidden-file-or-dir warnings rm -fr .doctrees .buildinfo %endif %clean rm -rf %{buildroot} %files %defattr(-,root,root,-) %{_bindir}/nova %files -n python-novaclient %defattr(-,root,root,-) %{python_sitelib}/novaclient %{python_sitelib}/*.egg-info %if 0%{?with_doc} %defattr(-,root,root,-) %files doc %doc html %endif %changelog * Tue Jul 19 2011 Andrey Brindeyev <abrindeyev@griddynamics.com> - 2.5.8-1.20251cc - 2.5.8 snapshot * Fri Jul 01 2011 Andrey Brindeyev <abrindeyev@griddynamics.com> - 2.5.7-1 - 2.5.7 release * Tue May 17 2011 Andrey Brindeyev <abrindeyev@griddynamics.com> - 2.4.2-1 - 2.4.2 release * Fri Mar 25 2011 Andrey Brindeyev <abrindeyev@griddynamics.com> - 2.4.1-3 - Added python-json in Requires * Fri Mar 25 2011 Andrey Brindeyev <abrindeyev@griddynamics.com> - 2.4.1-2 - Added dependencies on python-httplib2, python-prettytable * Fri Mar 25 2011 Andrey Brindeyev <abrindeyev@griddynamics.com> - 2.4.1-1 - First build
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor