Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
Cloud:OpenStack:Havana:Staging
python-openstackclient
python-openstackclient.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File python-openstackclient.spec of Package python-openstackclient
# # spec file for package python-openstackclient # # Copyright (c) 2014 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. # Please submit bugfixes or comments via http://bugs.opensuse.org/ # %define component openstackclient Name: python-%{component} Version: 0.2.2 Release: 0 Summary: OpenStack Unified Command Line Client License: Apache-2.0 Group: Development/Languages/Python Url: http://launchpad.net/python-openstackclient Source: http://tarballs.openstack.org/python-openstackclient/python-openstackclient-%{version}.tar.gz Patch0: 0001-Adjust-to-non-deprecated-names-in-Keyring-1.6.patch BuildRequires: openstack-suse-macros BuildRequires: python BuildRequires: python-distribute BuildRequires: python-pbr Requires: python-keyring >= 1.6.1 # Packages below are only needed for documentation build BuildRequires: python-Sphinx Requires: python >= 2.6.8 Requires: python-cinderclient >= 1.0.5 Requires: python-cliff >= 1.4 Requires: python-glanceclient >= 0.9.0 Requires: python-novaclient >= 2.12.0 Requires: python-pbr >= 0.5.21 Requires: python-pycrypto >= 2.6 BuildRoot: %{_tmppath}/%{name}-%{version}-build %if 0%{?suse_version} && 0%{?suse_version} <= 1110 %{!?python_sitelib: %global python_sitelib %(python -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")} %py_requires %else BuildArch: noarch %endif %description A unified command-line client for OpenStack. Combines the functionality of the individual OpenStack project clients. %package test Summary: OpenStack Unified Client - Testsuite Group: System/Management Requires: %{name} = %{version} Requires: python-coverage >= 3.6 %if 0%{?suse_version} && 0%{?suse_version} <= 1110 Requires: python-discover %endif Requires: python-Babel >= 0.9.6 Requires: python-WebOb >= 1.2.3 Requires: python-fixtures >= 0.3.14 Requires: python-flake8 >= 2.0 Requires: python-hacking >= 0.5.6 Requires: python-httpretty >= 0.6.3 Requires: python-keystoneclient >= 0.3.2 Requires: python-mock >= 1.0 Requires: python-mox3 >= 0.7.0 Requires: python-pep8 >= 1.4.5 Requires: python-pyflakes >= 0.7.2 Requires: python-testrepository >= 0.0.17 Requires: python-testtools >= 0.9.32 %description test This package contains testsuite files for %{name}. %prep %setup -q -n python-openstackclient-0.2.2 %patch0 -p1 %openstack_cleanup_prep %build python setup.py build python setup.py build_sphinx rm doc/build/html/.buildinfo %install python setup.py install --prefix=%{_prefix} --root=%{buildroot} # test package %openstack_test_package_install %files %defattr(-,root,root,-) %doc LICENSE README.rst %{_bindir}/openstack %{python_sitelib}/%{component}/ %{python_sitelib}/python_%{component}-*.egg-info %files test %defattr(-,root,root,-) %doc LICENSE %{_localstatedir}/lib/%{name}-test %changelog
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