commit 485f52395c366952eb54bc5dd5d162153a899100
Author: Jakub Bogusz <[email protected]>
Date:   Wed Feb 14 21:21:04 2024 +0100

    - updated to 1.33.0

 python-os-client-config.spec | 103 +++++++++++++++++++++++++++++--------------
 1 file changed, 69 insertions(+), 34 deletions(-)
---
diff --git a/python-os-client-config.spec b/python-os-client-config.spec
index 5ae6967..f01d98e 100644
--- a/python-os-client-config.spec
+++ b/python-os-client-config.spec
@@ -1,33 +1,68 @@
 #
 # Conditional build:
-%bcond_with    doc     # build doc (deps missing)
-%bcond_with    tests   # do perform "make test" (deps missing)
+%bcond_without doc     # Sphinx documentation
+%bcond_with    tests   # unit tests (deps missing)
 %bcond_without python2 # CPython 2.x module
 %bcond_without python3 # CPython 3.x module
 
-Summary:       OpenStack Client Configuation Library
+Summary:       OpenStack Client Configuration Library
+Summary(pl.UTF-8):     Biblioteka konfiguracji klienta OpenStack
 Name:          python-os-client-config
-Version:       1.28.0
-Release:       7
-License:       Apache
+# keep 1.x here for python2 support
+Version:       1.33.0
+Release:       1
+License:       Apache v2.0
 Group:         Libraries/Python
 Source0:       
https://files.pythonhosted.org/packages/source/o/os-client-config/os-client-config-%{version}.tar.gz
-# Source0-md5: cf0bffcf349932c306fd1d81459b1a9e
-URL:           https://pypi.python.org/pypi/os-client-config
+# Source0-md5: 94cc492acd8ccdeb721d2ee4229d05cd
+URL:           https://pypi.org/project/os-client-config/
 BuildRequires: rpm-pythonprov
 BuildRequires: rpmbuild(macros) >= 1.714
 %if %{with python2}
-BuildRequires: python-pbr
+BuildRequires: python-modules >= 1:2.7
+BuildRequires: python-pbr >= 2.0.0
 BuildRequires: python-setuptools
+%if %{with tests}
+BuildRequires: python-extras >= 1.0.0
+BuildRequires: python-fixtures >= 3.0.0
+BuildRequires: python-glanceclient >= 2.8.0
+BuildRequires: python-jsonschema >= 2.6.0
+BuildRequires: python-jsonschema < 3.0.0
+BuildRequires: python-mock >= 2.0.0
+BuildRequires: python-openstacksdk >= 0.13.0
+BuildRequires: python-oslotest >= 3.2.0
+BuildRequires: python-stestr >= 1.0.0
+BuildRequires: python-subunit >= 1.0.0
+BuildRequires: python-testscenarios >= 0.4
+BuildRequires: python-testtools >= 2.2.0
+%endif
 %endif
 %if %{with python3}
-BuildRequires: python3-pbr
+BuildRequires: python3-modules >= 1:3.6
+BuildRequires: python3-pbr >= 2.0.0
 BuildRequires: python3-setuptools
+%if %{with tests}
+BuildRequires: python3-extras >= 1.0.0
+BuildRequires: python3-fixtures >= 3.0.0
+BuildRequires: python3-glanceclient >= 2.8.0
+BuildRequires: python3-jsonschema >= 2.6.0
+BuildRequires: python3-jsonschema < 3.0.0
+BuildRequires: python3-openstacksdk >= 0.13.0
+BuildRequires: python3-oslotest >= 3.2.0
+BuildRequires: python3-stestr >= 1.0.0
+BuildRequires: python3-subunit >= 1.0.0
+BuildRequires: python3-testscenarios >= 0.4
+BuildRequires: python3-testtools >= 2.2.0
+%endif
+%endif
+%if %{with doc}
+BuildRequires: python-docutils >= 0.11
+BuildRequires: python-openstackdocstheme >= 1.18.1
+BuildRequires: python-openstacksdk >= 0.13.0
+BuildRequires: python-reno >= 2.5.0
+BuildRequires: sphinx-pdg-2 >= 1.7.0
 %endif
-Requires:      python-PyYAML >= 3.1.0
-Requires:      python-appdirs >= 1.3.0
-Requires:      python-keystoneauth1 >= 2.1.0
-Requires:      python-requestsexceptions >= 1.1.1
+Requires:      python-modules >= 1:2.7
 BuildArch:     noarch
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
@@ -37,21 +72,21 @@ using an OpenStack cloud in a consistent and comprehensive 
manner. It
 will find cloud config for as few as 1 cloud and as many as you want
 to put in a config file. It will read environment variables and config
 files, and it also contains some vendor specific default values so
-that you don't have to know extra info to use OpenStack
+that you don't have to know extra info to use OpenStack.
 
-- If you have a config file, you will get the clouds listed in it
-- If you have environment variables, you will get a cloud named
-  envvars
-- If you have neither, you will get a cloud named defaults with base
-  defaults
+%description -l pl.UTF-8
+os-client-config to biblioteka do zbierania konfiguracji klienckiej do
+używania chmury OpenStack w sposób spójny i wyczerpujący. Odnajdzie
+konifgurację chmury - od jednej do tylu, ile umieści się w pliku
+konfiguracyjnym. Odczyta zmienne środowiskowe i pliki konfiguracyjne;
+zawiera też wartości domyślne, więc nie trzeba znać dodatkowych
+informacji, aby używać OpenStack.
 
 %package -n python3-os-client-config
 Summary:       OpenStack Client Configuation Library
+Summary(pl.UTF-8):     Biblioteka konfiguracji klienta OpenStack
 Group:         Libraries/Python
-Requires:      python3-PyYAML >= 3.1.0
-Requires:      python3-appdirs >= 1.3.0
-Requires:      python3-keystoneauth1 >= 2.1.0
-Requires:      python3-requestsexceptions >= 1.1.1
+Requires:      python3-modules >= 1:3.6
 
 %description -n python3-os-client-config
 os-client-config is a library for collecting client configuration for
@@ -59,13 +94,15 @@ using an OpenStack cloud in a consistent and comprehensive 
manner. It
 will find cloud config for as few as 1 cloud and as many as you want
 to put in a config file. It will read environment variables and config
 files, and it also contains some vendor specific default values so
-that you don't have to know extra info to use OpenStack
+that you don't have to know extra info to use OpenStack.
 
-- If you have a config file, you will get the clouds listed in it
-- If you have environment variables, you will get a cloud named
-  envvars
-- If you have neither, you will get a cloud named defaults with base
-  defaults
+%description -n python3-os-client-config -l pl.UTF-8
+os-client-config to biblioteka do zbierania konfiguracji klienckiej do
+używania chmury OpenStack w sposób spójny i wyczerpujący. Odnajdzie
+konifgurację chmury - od jednej do tylu, ile umieści się w pliku
+konfiguracyjnym. Odczyta zmienne środowiskowe i pliki konfiguracyjne;
+zawiera też wartości domyślne, więc nie trzeba znać dodatkowych
+informacji, aby używać OpenStack.
 
 %package apidocs
 Summary:       API documentation for Python os-client-config module
@@ -91,9 +128,7 @@ Dokumentacja API modułu Pythona os-client-config.
 %endif
 
 %if %{with doc}
-cd doc
-%{__make} -j1 html
-rm -rf _build/html/_sources
+sphinx-build-2 -b html doc/source doc/build/html
 %endif
 
 %install
@@ -131,5 +166,5 @@ rm -rf $RPM_BUILD_ROOT
 %if %{with doc}
 %files apidocs
 %defattr(644,root,root,755)
-%doc doc/_build/html/*
+%doc doc/build/html/{_static,contributor,install,reference,user,*.html,*.js}
 %endif
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/python-os-client-config.git/commitdiff/485f52395c366952eb54bc5dd5d162153a899100

_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

Reply via email to