forked from pool/python-openstacksdk
update to version 0.9.7 * Revert "Event list can not display "timestamp" * Event list can not display "timestamp" * Add project_id field to cluster's policy and profile * Fix the issue non-admin user failed to list trusts * Fix error in node action * compute/v2/server: add ?all_tenants=bool to list update to version 0.9.6 * Add extended Glance Image properties * Fix connection init when session is provided * Rebase keystone v3 proxy to proxy2 * Fix 'config_drive' and 'networks' for compute server * Fix cluster query mapping * Rebase keystone resources onto resource2 * Add new function for router-gateway * Obtain Image checksum via additional GET * Adjust router add/remove interface method names * Add 'dependents' property to Node and Cluster class * Add QoS rule type object and CRUD commands * Add QoS bandwidth limit rule object and CRUD commands * Add QoS DSCP marking rule object and CRUD commands * Add QoS minimum bandwidth rule object and CRUD commands * Add network segment create, delete and update support * Rebase telemetry resources to resource2/proxy2 * Fix telemetry/metering service version * Fix the issue that 'type' field is missing in profile list OBS-URL: https://build.opensuse.org/request/show/429734 OBS-URL: https://build.opensuse.org/package/show/Cloud:OpenStack:Factory/python-openstacksdk?expand=0&rev=11
95 lines
3.1 KiB
RPMSpec
95 lines
3.1 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.7
|
|
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-fixtures >= 3.0.0
|
|
BuildRequires: python-mock >= 2.0
|
|
BuildRequires: python-pbr >= 1.6
|
|
BuildRequires: python-requests >= 2.10.0
|
|
BuildRequires: python-requests-mock >= 1.0
|
|
BuildRequires: python-setuptools >= 16.0
|
|
BuildRequires: python-six >= 1.9.0
|
|
BuildRequires: python-stevedore >= 1.16.0
|
|
BuildRequires: python-testrepository >= 0.0.18
|
|
BuildRequires: python-testscenarios >= 0.4
|
|
BuildRequires: python-testtools >= 1.4.0
|
|
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
|