1
0
Files
python-openstacksdk/python-openstacksdk.spec
Thomas Bechtold e8c0ca4248 - update to version 0.9.0:
* Refactor compute for new resource/proxy
  * Allow alternate_id to be accessed directly
  * Add neutron rbac support
  * Updated from global requirements
  * Add temporary test_proxy_base2
  * Add segment_id property to subnet resource
  * Allow resources to check their equality
  * Remove type=timestamp usages
  * Cluster user guide - part 2
  * Move version definition
  * Fix clustering event properties
- update _service and switch to upstream .spec file

OBS-URL: https://build.opensuse.org/package/show/Cloud:OpenStack:Factory/python-openstacksdk?expand=0&rev=8
2016-07-22 15:04:54 +00:00

88 lines
2.8 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.0
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}
Source: https://pypi.io/packages/source/o/%{sname}/%{sname}-%{version}.tar.gz
BuildRequires: openstack-macros
BuildRequires: python-devel
BuildRequires: python-pbr >= 1.6
BuildRequires: python-setuptools >= 16.0
BuildRequires: python-six >= 1.9.0
BuildRequires: python-stevedore >= 1.10.0
Requires: python-keystoneauth1 >= 2.1.0
Requires: python-os-client-config >= 1.13.1
Requires: python-six >= 1.9.0
Requires: python-stevedore >= 1.10.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.1.0
BuildRequires: python-openstackdocstheme >= 1.0.3
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