2012-11-08 20:52:11 +00:00
|
|
|
#
|
|
|
|
# spec file for package python-novaclient
|
|
|
|
#
|
2024-01-14 18:01:55 +00:00
|
|
|
# Copyright (c) 2024 SUSE LLC
|
2012-11-08 20:52:11 +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:51 +00:00
|
|
|
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
2012-11-08 20:52:11 +00:00
|
|
|
#
|
|
|
|
|
|
|
|
|
2016-08-11 13:08:01 +00:00
|
|
|
Name: python-novaclient
|
2024-03-24 20:12:24 +00:00
|
|
|
Version: 18.6.0
|
2012-11-08 20:52:11 +00:00
|
|
|
Release: 0
|
2021-05-02 17:17:43 +00:00
|
|
|
Epoch: 0
|
2016-08-11 13:08:01 +00:00
|
|
|
Summary: Python API and CLI for OpenStack Nova
|
2013-04-21 17:56:28 +00:00
|
|
|
License: Apache-2.0
|
2012-11-08 20:52:11 +00:00
|
|
|
Group: Development/Languages/Python
|
2021-05-02 17:17:43 +00:00
|
|
|
URL: https://docs.openstack.org/python-novaclient
|
2024-03-24 20:12:24 +00:00
|
|
|
Source0: https://files.pythonhosted.org/packages/source/p/python-novaclient/python-novaclient-18.6.0.tar.gz
|
2016-08-11 13:08:01 +00:00
|
|
|
BuildRequires: openssl
|
|
|
|
BuildRequires: openstack-macros
|
2018-09-01 08:54:45 +00:00
|
|
|
BuildRequires: python3-cinderclient
|
|
|
|
BuildRequires: python3-ddt
|
|
|
|
BuildRequires: python3-fixtures
|
|
|
|
BuildRequires: python3-glanceclient
|
|
|
|
BuildRequires: python3-keystoneclient
|
|
|
|
BuildRequires: python3-os-client-config
|
|
|
|
BuildRequires: python3-osprofiler
|
2018-01-18 15:50:41 +00:00
|
|
|
BuildRequires: python3-pbr >= 2.0.0
|
2018-09-01 08:54:45 +00:00
|
|
|
BuildRequires: python3-requests-mock
|
|
|
|
BuildRequires: python3-stestr
|
|
|
|
BuildRequires: python3-testscenarios
|
|
|
|
BuildRequires: python3-testtools
|
2012-11-08 20:52:11 +00:00
|
|
|
BuildArch: noarch
|
|
|
|
|
|
|
|
%description
|
|
|
|
This is a client for the OpenStack Nova API. There's a Python API (the
|
2016-08-11 13:08:01 +00:00
|
|
|
novaclient module), and a command-line script (nova). Each implements 100% of
|
|
|
|
the OpenStack Nova API.
|
2012-11-08 20:52:11 +00:00
|
|
|
|
2020-03-11 21:01:31 +00:00
|
|
|
%package -n python3-novaclient
|
|
|
|
Summary: Python API and CLI for OpenStack Nova
|
|
|
|
Requires: openssl
|
2020-10-09 19:15:56 +00:00
|
|
|
Requires: python3-Babel
|
2020-03-11 21:01:31 +00:00
|
|
|
Requires: python3-PrettyTable >= 0.7.2
|
|
|
|
Requires: python3-iso8601 >= 0.1.11
|
|
|
|
Requires: python3-keystoneauth1 >= 3.5.0
|
|
|
|
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
|
2021-05-02 17:17:43 +00:00
|
|
|
Requires: python3-simplejson
|
2020-03-23 12:29:25 +00:00
|
|
|
%if 0%{?suse_version}
|
|
|
|
Obsoletes: python2-novaclient < 16.0.0
|
|
|
|
%endif
|
2020-03-11 21:01:31 +00:00
|
|
|
|
|
|
|
%description -n python3-novaclient
|
|
|
|
This is a client for the OpenStack Nova API. There's a Python API (the
|
|
|
|
novaclient module), and a command-line script (nova). Each implements 100% of
|
|
|
|
the OpenStack Nova API.
|
|
|
|
|
2018-01-18 15:50:41 +00:00
|
|
|
%package -n python-novaclient-doc
|
2016-08-11 13:08:01 +00:00
|
|
|
Summary: Documentation for OpenStack Nova API Client
|
2018-01-18 15:50:41 +00:00
|
|
|
Group: Documentation/HTML
|
2019-10-09 13:05:02 +00:00
|
|
|
BuildRequires: python3-Sphinx
|
|
|
|
BuildRequires: python3-openstackdocstheme
|
|
|
|
BuildRequires: python3-reno
|
|
|
|
BuildRequires: python3-sphinxcontrib-apidoc
|
2012-11-08 20:52:11 +00:00
|
|
|
|
2018-01-18 15:50:41 +00:00
|
|
|
%description -n python-novaclient-doc
|
2016-08-11 13:08:01 +00:00
|
|
|
This is a client for the OpenStack Nova API. There's a Python API (the
|
|
|
|
novaclient module), and a command-line script (nova). Each implements 100% of
|
|
|
|
the OpenStack Nova API.
|
2012-11-08 20:52:11 +00:00
|
|
|
|
2016-08-11 13:08:01 +00:00
|
|
|
This package contains auto-generated documentation.
|
2012-11-08 20:52:11 +00:00
|
|
|
|
|
|
|
%prep
|
2017-08-07 11:55:38 +00:00
|
|
|
%autosetup -p1 -n %{name}-%{version}
|
2017-02-13 12:57:49 +00:00
|
|
|
%py_req_cleanup
|
2012-11-08 20:52:11 +00:00
|
|
|
|
|
|
|
%build
|
2020-03-11 21:01:31 +00:00
|
|
|
%{py3_build}
|
2014-03-25 14:22:24 +00:00
|
|
|
|
2024-03-24 20:12:24 +00:00
|
|
|
PBR_VERSION=18.6.0 %sphinx_build -b html -d doc/build/doctrees doc/source doc/build/html
|
2016-08-11 13:08:01 +00:00
|
|
|
# Fix hidden-file-or-dir warnings
|
2019-04-08 12:59:51 +00:00
|
|
|
rm -fr doc/build/html/.doctrees doc/build/html/.buildinfo
|
2012-11-08 20:52:11 +00:00
|
|
|
|
2018-01-18 15:50:41 +00:00
|
|
|
%install
|
2020-03-11 21:01:31 +00:00
|
|
|
%{py3_install}
|
2018-01-18 15:50:41 +00:00
|
|
|
|
|
|
|
%check
|
|
|
|
export OS_TEST_PATH=novaclient/tests/unit
|
2023-03-07 07:01:41 +00:00
|
|
|
%{openstack_stestr_run}
|
2013-01-17 14:22:57 +00:00
|
|
|
|
2020-03-11 21:01:31 +00:00
|
|
|
%files -n python3-novaclient
|
2016-08-11 13:08:01 +00:00
|
|
|
%license LICENSE
|
2020-03-11 21:01:31 +00:00
|
|
|
%{_bindir}/nova
|
|
|
|
%{python3_sitelib}/novaclient
|
|
|
|
%{python3_sitelib}/*.egg-info
|
2012-11-08 20:52:11 +00:00
|
|
|
|
2018-01-18 15:50:41 +00:00
|
|
|
%files -n python-novaclient-doc
|
|
|
|
%doc README.rst doc/build/html
|
2016-10-21 09:58:42 +00:00
|
|
|
%license LICENSE
|
|
|
|
|
2012-11-08 20:52:11 +00:00
|
|
|
%changelog
|