Upload building elements
This commit is contained in:
parent
626a4ca113
commit
6493b1511d
BIN
python-designateclient-4.1.0.tar.gz
Normal file
BIN
python-designateclient-4.1.0.tar.gz
Normal file
Binary file not shown.
103
python-designateclient.spec
Normal file
103
python-designateclient.spec
Normal file
@ -0,0 +1,103 @@
|
||||
%global _empty_manifest_terminate_build 0
|
||||
Name: python-designateclient
|
||||
Version: 4.1.0
|
||||
Release: 2%{?dist}
|
||||
Summary: Python API and CLI for OpenStack Designate
|
||||
License: Apache-2.0
|
||||
URL: https://launchpad.net/python-designateclient/
|
||||
Source0: https://tarballs.openstack.org/python-designateclient/python-designateclient-4.1.0.tar.gz
|
||||
BuildArch: noarch
|
||||
BuildRequires: git
|
||||
BuildRequires: openstack-macros
|
||||
|
||||
%description
|
||||
Client library and command line utility for interacting with Openstack Designate API
|
||||
|
||||
%package -n python3-designateclient
|
||||
Summary: Python API and CLI for OpenStack Designate
|
||||
%{?python_provide:%python_provide python3-designateclient}
|
||||
BuildRequires: python3-devel
|
||||
BuildRequires: python3-setuptools
|
||||
BuildRequires: python3-pbr
|
||||
BuildRequires: python3-pip
|
||||
|
||||
Requires: python3-pbr
|
||||
Requires: python3-keystoneauth1 >= 3.4.0
|
||||
Requires: python3-requests >= 2.14.2
|
||||
Requires: python3-six >= 1.10.0
|
||||
Requires: python3-stevedore
|
||||
Requires: python3-osc-lib >= 1.8.0
|
||||
Requires: python3-debtcollector
|
||||
Requires: python3-oslo-utils >= 3.33.0
|
||||
Requires: python3-oslo-serialization >= 2.18.0
|
||||
Requires: python3-cliff
|
||||
Requires: python3-jsonschema >= 2.6.0
|
||||
|
||||
%description -n python3-designateclient
|
||||
Client library and command line utility for interacting with Openstack Designate API
|
||||
|
||||
|
||||
%package -n python3-designateclient-tests
|
||||
Summary: Python API and CLI for OpenStack Designate (tests)
|
||||
%{?python_provide:%python_provide python3-designateclient-tests}
|
||||
Requires: python3-designateclient = 4.1.0-2
|
||||
|
||||
%description -n python3-designateclient-tests
|
||||
Client library and command line utility for interacting with Openstack Designate API
|
||||
|
||||
This package contains Designate client tests files.
|
||||
|
||||
%if 0%{?with_doc}
|
||||
%package doc
|
||||
Summary: Documentation for OpenStack Designate API Client
|
||||
|
||||
BuildRequires: python3-sphinx
|
||||
BuildRequires: python3-openstackdocstheme
|
||||
BuildRequires: python3-keystoneauth1
|
||||
BuildRequires: python3-osc-lib
|
||||
BuildRequires: python3-jsonschema
|
||||
BuildRequires: python3-oslo-serialization
|
||||
|
||||
%description doc
|
||||
Client library and command line utility for interacting with Openstack Designate API
|
||||
|
||||
This package contains auto-generated documentation.
|
||||
%endif
|
||||
|
||||
%prep
|
||||
%autosetup -n python-designateclient-4.1.0 -S git
|
||||
|
||||
%py_req_cleanup
|
||||
|
||||
%build
|
||||
%{py3_build}
|
||||
|
||||
%if 0%{?with_doc}
|
||||
PYTHONPATH=. sphinx-build-3 -b html doc/source doc/build/html
|
||||
rm -fr doc/build/html/.{doctrees,buildinfo}
|
||||
%endif
|
||||
|
||||
%install
|
||||
%{py3_install}
|
||||
|
||||
%files -n python3-designateclient
|
||||
|
||||
%doc README.rst
|
||||
%license LICENSE
|
||||
|
||||
%{python3_sitelib}/designateclient
|
||||
%exclude %{python3_sitelib}/designateclient/tests
|
||||
%{python3_sitelib}/*.egg-info
|
||||
|
||||
%files -n python3-designateclient-tests
|
||||
%{python3_sitelib}/designateclient/tests
|
||||
|
||||
%if 0%{?with_doc}
|
||||
%files doc
|
||||
%doc doc/build/html
|
||||
%license LICENSE
|
||||
%endif
|
||||
|
||||
%changelog
|
||||
* Thu Jan 07 2021 Python_Bot <Python_Bot@openeuler.org>
|
||||
- Package Spec generated
|
||||
Loading…
x
Reference in New Issue
Block a user