2016-10-13 14:33:54 +00:00
|
|
|
#
|
|
|
|
|
# spec file for package python-senlinclient
|
|
|
|
|
#
|
2024-01-14 18:05:36 +00:00
|
|
|
# Copyright (c) 2024 SUSE LLC
|
2016-10-13 14:33:54 +00:00
|
|
|
#
|
|
|
|
|
# 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.
|
|
|
|
|
|
2019-04-08 12:59:56 +00:00
|
|
|
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
2016-10-13 14:33:54 +00:00
|
|
|
#
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Name: python-senlinclient
|
2024-01-14 18:05:36 +00:00
|
|
|
Version: 3.1.0
|
2016-10-13 14:33:54 +00:00
|
|
|
Release: 0
|
|
|
|
|
Summary: Python API and CLI for OpenStack Senlin
|
|
|
|
|
License: Apache-2.0
|
|
|
|
|
Group: Development/Languages/Python
|
2021-05-02 17:16:42 +00:00
|
|
|
URL: https://docs.openstack.org/python-senlinclient
|
2024-01-14 18:05:36 +00:00
|
|
|
Source0: https://files.pythonhosted.org/packages/source/p/python-senlinclient/python-senlinclient-3.1.0.tar.gz
|
2016-10-13 14:33:54 +00:00
|
|
|
BuildRequires: openstack-macros
|
2019-04-08 12:59:56 +00:00
|
|
|
BuildRequires: python3-PrettyTable >= 0.7.2
|
2021-10-26 22:01:04 +00:00
|
|
|
BuildRequires: python3-PyYAML >= 5.3.1
|
2019-04-08 12:59:56 +00:00
|
|
|
BuildRequires: python3-devel
|
|
|
|
|
BuildRequires: python3-fixtures
|
|
|
|
|
BuildRequires: python3-heatclient >= 1.10.0
|
|
|
|
|
BuildRequires: python3-openstackclient
|
|
|
|
|
BuildRequires: python3-openstacksdk >= 0.24.0
|
2020-10-09 19:19:25 +00:00
|
|
|
BuildRequires: python3-osc-lib >= 1.11.0
|
2019-04-08 12:59:56 +00:00
|
|
|
BuildRequires: python3-oslo.i18n >= 3.15.3
|
|
|
|
|
BuildRequires: python3-oslo.serialization >= 2.18.0
|
|
|
|
|
BuildRequires: python3-oslo.utils >= 3.33.0
|
|
|
|
|
BuildRequires: python3-oslotest
|
|
|
|
|
BuildRequires: python3-pbr >= 2.0.0
|
|
|
|
|
BuildRequires: python3-requests >= 2.14.2
|
|
|
|
|
BuildRequires: python3-requests-mock
|
|
|
|
|
BuildRequires: python3-stestr
|
2016-10-13 14:33:54 +00:00
|
|
|
BuildArch: noarch
|
|
|
|
|
|
|
|
|
|
%description
|
|
|
|
|
OpenStack Clustering service Provisioning API Client Library
|
|
|
|
|
|
2018-02-23 13:42:58 +00:00
|
|
|
This is a client for the OpenStack Senlin API.
|
|
|
|
|
It provides a Python API (the senlinclient module).
|
2016-10-13 14:33:54 +00:00
|
|
|
|
2020-03-11 13:11:19 +00:00
|
|
|
%package -n python3-senlinclient
|
|
|
|
|
Summary: Python API and CLI for OpenStack Senlin
|
|
|
|
|
Requires: python3-PrettyTable >= 0.7.2
|
2021-10-26 22:01:04 +00:00
|
|
|
Requires: python3-PyYAML >= 5.3.1
|
2020-03-11 13:11:19 +00:00
|
|
|
Requires: python3-heatclient >= 1.10.0
|
2021-10-26 22:01:04 +00:00
|
|
|
Requires: python3-keystoneauth1 >= 3.11.0
|
2020-03-11 13:11:19 +00:00
|
|
|
Requires: python3-openstackclient
|
|
|
|
|
Requires: python3-openstacksdk >= 0.24.0
|
2020-10-09 19:19:25 +00:00
|
|
|
Requires: python3-osc-lib >= 1.11.0
|
2020-03-11 13:11:19 +00:00
|
|
|
Requires: python3-oslo.i18n >= 3.15.3
|
|
|
|
|
Requires: python3-oslo.serialization >= 2.18.0
|
|
|
|
|
Requires: python3-oslo.utils >= 3.33.0
|
|
|
|
|
Requires: python3-pbr >= 2.0.0
|
|
|
|
|
Requires: python3-requests >= 2.14.2
|
|
|
|
|
|
|
|
|
|
%description -n python3-senlinclient
|
|
|
|
|
OpenStack Clustering service Provisioning API Client Library
|
|
|
|
|
|
|
|
|
|
This is a client for the OpenStack Senlin API.
|
|
|
|
|
It provides a Python API (the senlinclient module).
|
|
|
|
|
|
|
|
|
|
This package provides the Python 3.x module.
|
|
|
|
|
|
2019-04-08 12:59:56 +00:00
|
|
|
%package -n python-senlinclient-doc
|
2016-10-13 14:33:54 +00:00
|
|
|
Summary: Documentation for OpenStack Senlin API Client
|
2018-01-15 12:05:11 +00:00
|
|
|
Group: Documentation/HTML
|
2020-03-11 13:11:19 +00:00
|
|
|
BuildRequires: python3-Sphinx
|
|
|
|
|
BuildRequires: python3-openstackdocstheme
|
|
|
|
|
BuildRequires: python3-reno
|
2016-10-13 14:33:54 +00:00
|
|
|
|
2019-04-08 12:59:56 +00:00
|
|
|
%description -n python-senlinclient-doc
|
2018-02-23 13:42:58 +00:00
|
|
|
This is a client for the OpenStack Senlin API.
|
|
|
|
|
It implements 100% of the OpenStack Senlin API. This package contains
|
2016-10-13 14:33:54 +00:00
|
|
|
auto-generated documentation.
|
|
|
|
|
|
|
|
|
|
%prep
|
2024-01-14 18:05:36 +00:00
|
|
|
%autosetup -p1 -n python-senlinclient-3.1.0
|
2017-02-13 13:01:45 +00:00
|
|
|
%py_req_cleanup
|
2016-10-13 14:33:54 +00:00
|
|
|
|
|
|
|
|
%build
|
2020-03-11 13:11:19 +00:00
|
|
|
%{py3_build}
|
2016-10-13 14:33:54 +00:00
|
|
|
|
2020-03-11 13:11:19 +00:00
|
|
|
PBR_VERSION=%version %sphinx_build -b html doc/source doc/build/html
|
2016-10-13 14:33:54 +00:00
|
|
|
# remove the sphinx-build leftovers
|
|
|
|
|
rm -rf doc/build/html/.{doctrees,buildinfo}
|
|
|
|
|
|
|
|
|
|
%install
|
2020-03-11 13:11:19 +00:00
|
|
|
%{py3_install}
|
2016-10-13 14:33:54 +00:00
|
|
|
|
|
|
|
|
%check
|
2024-01-14 18:05:36 +00:00
|
|
|
%{openstack_stestr_run}
|
2016-10-13 14:33:54 +00:00
|
|
|
|
2020-03-11 13:11:19 +00:00
|
|
|
%files -n python3-senlinclient
|
2016-10-13 14:33:54 +00:00
|
|
|
%license LICENSE
|
|
|
|
|
%doc README.rst
|
2020-03-11 13:11:19 +00:00
|
|
|
%{python3_sitelib}/senlinclient
|
|
|
|
|
%{python3_sitelib}/*.egg-info
|
2016-10-13 14:33:54 +00:00
|
|
|
|
2019-04-08 12:59:56 +00:00
|
|
|
%files -n python-senlinclient-doc
|
2016-10-13 14:33:54 +00:00
|
|
|
%license LICENSE
|
|
|
|
|
%doc doc/build/html
|
|
|
|
|
|
|
|
|
|
%changelog
|