forked from pool/python-openstacksdk
* Add SoftwareDeployment resource to orchestration * Add policy validation for senlin * Fix cluster resource in cluster service * Add API microversion support * Add collect_cluster_attrs API to cluster service * Remove update_flavor method from compute * Fix problems about location header in resource2 * Add SoftwareConfig resource to orchestration * _alternate_id should return a server-side name * Add support for message resource of Zaqar v2 API * Relocate alarm service into a submodule * Add support for claim for Zaqar V2 API * Add QoS policy object and CRUD commands. * Replace _transpose_component with _filter_component * Tweak endpoint discovery for apache-style services * Improve docstring for some resource2 methods * Add services operations into compute service * Add 'check_stack' operation to proxy * Fix test_limits functional test failure * Add profile validation for senlin * Add force-delete into compute service * Make end-user modules accessible from top level * Fix orchestration service initialization * HAProxy uses milliseconds for its timeout values. * Rebase cluster service to resource2/proxy2 * Rebase orchestration to resource2/proxy2 * Support fetching network project default quota * Add support for Zaqar V2 queue resource * Fix nova server image and flavor OBS-URL: https://build.opensuse.org/package/show/Cloud:OpenStack:Factory/python-openstacksdk?expand=0&rev=9
90 lines
2.9 KiB
RPMSpec
90 lines
2.9 KiB
RPMSpec
#
|
|
# spec file for package python-openstacksdk
|
|
#
|
|
# Copyright (c) 2016 SUSE LINUX 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/
|
|
#
|
|
|
|
|
|
%global sname openstacksdk
|
|
Name: python-openstacksdk
|
|
Version: 0.9.4
|
|
Release: 0
|
|
Summary: An SDK for building applications to work with OpenStack
|
|
License: Apache-2.0
|
|
Group: Development/Languages/Python
|
|
Url: https://launchpad.net/%{sname}
|
|
Source0: https://pypi.io/packages/source/o/%{sname}/%{sname}-%{version}.tar.gz
|
|
BuildRequires: openstack-macros
|
|
BuildRequires: python-devel
|
|
BuildRequires: python-mock >= 2.0
|
|
BuildRequires: python-pbr >= 1.6
|
|
BuildRequires: python-setuptools >= 16.0
|
|
BuildRequires: python-six >= 1.9.0
|
|
BuildRequires: python-stevedore >= 1.16.0
|
|
BuildRequires: python-testrepository >= 0.0.18
|
|
Requires: python-keystoneauth1 >= 2.10.0
|
|
Requires: python-os-client-config >= 1.13.1
|
|
Requires: python-six >= 1.9.0
|
|
Requires: python-stevedore >= 1.16.0
|
|
BuildArch: noarch
|
|
|
|
%description
|
|
The python-openstacksdk is a collection of libraries for building
|
|
applications to work with OpenStack clouds. The project aims to
|
|
provide a consistent and complete set of interactions with OpenStack's
|
|
many services, along with complete documentation, examples, and tools.
|
|
|
|
%package doc
|
|
Summary: %{summary} - Documentation
|
|
Group: Documentation/HTML
|
|
BuildRequires: python-Sphinx
|
|
BuildRequires: python-keystoneauth1 >= 2.10.0
|
|
BuildRequires: python-openstackdocstheme >= 1.4.0
|
|
BuildRequires: python-os-client-config >= 1.13.1
|
|
Requires: %{name} = %{version}
|
|
|
|
%description doc
|
|
The python-openstacksdk is a collection of libraries for building
|
|
applications to work with OpenStack clouds. The project aims to
|
|
provide a consistent and complete set of interactions with OpenStack's
|
|
many services, along with complete documentation, examples, and tools.
|
|
|
|
This package contains documentation files for %{name}.
|
|
|
|
%prep
|
|
%setup -q -n %{sname}-%{version}
|
|
|
|
%build
|
|
%py2_build
|
|
%{__python2} setup.py build_sphinx
|
|
rm -rf doc/build/html/.{doctrees,buildinfo}
|
|
|
|
%install
|
|
%py2_install
|
|
|
|
%check
|
|
%{__python2} setup.py testr
|
|
|
|
%files
|
|
%license LICENSE
|
|
%doc ChangeLog README.rst
|
|
%{python2_sitelib}/openstack
|
|
%{python2_sitelib}/*.egg-info
|
|
|
|
%files doc
|
|
%license LICENSE
|
|
%doc doc/build/html
|
|
|
|
%changelog
|