2013-04-21 17:50:55 +00:00
|
|
|
#
|
|
|
|
# spec file for package python-oslo.config
|
|
|
|
#
|
2016-01-08 08:26:29 +00:00
|
|
|
# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany.
|
2013-04-21 17:50:55 +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.
|
|
|
|
|
|
|
|
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
|
|
|
#
|
|
|
|
|
|
|
|
|
2016-03-09 16:05:21 +00:00
|
|
|
%global sname oslo.config
|
2013-04-21 17:50:55 +00:00
|
|
|
Name: python-oslo.config
|
2016-08-08 09:27:13 +00:00
|
|
|
Version: 3.14.0
|
2013-04-21 17:50:55 +00:00
|
|
|
Release: 0
|
2016-03-09 16:05:21 +00:00
|
|
|
Summary: OpenStack common configuration library
|
2013-04-21 17:50:55 +00:00
|
|
|
License: Apache-2.0
|
2016-03-09 16:05:21 +00:00
|
|
|
Group: Development/Languages
|
|
|
|
Url: https://launchpad.net/%{sname}
|
2016-06-10 07:48:22 +00:00
|
|
|
Source0: https://pypi.io/packages/source/o/%{sname}/%{sname}-%{version}.tar.gz
|
2016-03-09 16:05:21 +00:00
|
|
|
BuildRequires: openstack-macros
|
2016-03-09 16:03:14 +00:00
|
|
|
BuildRequires: python-debtcollector >= 1.2.0
|
2016-03-09 16:05:21 +00:00
|
|
|
BuildRequires: python-devel
|
|
|
|
BuildRequires: python-fixtures >= 1.3.1
|
|
|
|
BuildRequires: python-mock >= 1.2
|
2016-06-10 07:48:22 +00:00
|
|
|
BuildRequires: python-netaddr >= 0.7.12
|
2016-03-09 16:05:21 +00:00
|
|
|
BuildRequires: python-oslo.i18n >= 2.1.0
|
|
|
|
BuildRequires: python-oslotest >= 1.10.0
|
|
|
|
BuildRequires: python-pbr >= 1.6
|
2014-04-17 13:02:59 +00:00
|
|
|
BuildRequires: python-python-subunit >= 0.0.18
|
2016-07-04 15:43:37 +00:00
|
|
|
BuildRequires: python-rfc3986 >= 0.2.0
|
2016-06-10 07:48:22 +00:00
|
|
|
BuildRequires: python-six >= 1.9.0
|
|
|
|
BuildRequires: python-stevedore >= 1.10.0
|
2014-09-27 15:54:53 +00:00
|
|
|
BuildRequires: python-testrepository >= 0.0.18
|
2014-03-27 10:31:43 +00:00
|
|
|
BuildRequires: python-testscenarios >= 0.4
|
2016-03-09 16:05:21 +00:00
|
|
|
BuildRequires: python-testtools >= 1.4.0
|
2016-02-26 13:24:18 +00:00
|
|
|
Requires: python-debtcollector >= 1.2.0
|
2014-09-27 15:54:53 +00:00
|
|
|
Requires: python-netaddr >= 0.7.12
|
2016-07-04 15:43:37 +00:00
|
|
|
Requires: python-oslo.i18n >= 2.1.0
|
|
|
|
Requires: python-rfc3986 >= 0.2.0
|
2015-06-24 16:27:42 +00:00
|
|
|
Requires: python-six >= 1.9.0
|
2016-06-10 07:48:22 +00:00
|
|
|
Requires: python-stevedore >= 1.10.0
|
2015-07-20 19:46:05 +00:00
|
|
|
BuildArch: noarch
|
2013-04-21 17:50:55 +00:00
|
|
|
|
|
|
|
%description
|
2016-03-09 16:05:21 +00:00
|
|
|
The Oslo project intends to produce a python library containing
|
|
|
|
infrastructure code shared by OpenStack projects. The APIs provided
|
|
|
|
by the project should be high quality, stable, consistent and generally
|
|
|
|
useful.
|
|
|
|
|
|
|
|
The oslo-config library is a command line and configuration file
|
|
|
|
parsing library from the Oslo project.
|
|
|
|
|
2013-04-21 17:50:55 +00:00
|
|
|
%package doc
|
2016-03-09 16:05:21 +00:00
|
|
|
Summary: Documentation for OpenStack common configuration library
|
|
|
|
Group: Development/Languages
|
2016-06-10 07:48:22 +00:00
|
|
|
BuildRequires: python-Sphinx
|
2016-03-09 16:05:21 +00:00
|
|
|
BuildRequires: python-oslosphinx >= 2.5.0
|
2013-04-21 17:50:55 +00:00
|
|
|
|
|
|
|
%description doc
|
2016-03-09 16:05:21 +00:00
|
|
|
Documentation for the oslo-config library.
|
2013-04-21 17:50:55 +00:00
|
|
|
|
|
|
|
%prep
|
2016-03-09 16:05:21 +00:00
|
|
|
%setup -q -n %{sname}-%{version}
|
2013-04-21 17:50:55 +00:00
|
|
|
|
|
|
|
%build
|
2016-07-29 15:42:38 +00:00
|
|
|
%{py2_build}
|
2016-03-09 16:05:21 +00:00
|
|
|
|
|
|
|
%{__python2} setup.py build_sphinx
|
2015-07-31 06:53:28 +00:00
|
|
|
# remove the sphinx-build leftovers
|
2015-08-28 11:03:18 +00:00
|
|
|
rm -rf doc/build/html/.{doctrees,buildinfo}
|
2013-04-21 17:50:55 +00:00
|
|
|
|
2016-02-26 13:24:18 +00:00
|
|
|
%install
|
2016-07-29 15:42:38 +00:00
|
|
|
%{py2_install}
|
2016-03-09 16:05:21 +00:00
|
|
|
|
|
|
|
%check
|
|
|
|
%{__python2} setup.py testr
|
2016-02-26 13:24:18 +00:00
|
|
|
|
2013-04-21 17:50:55 +00:00
|
|
|
%files
|
2016-03-09 16:05:21 +00:00
|
|
|
%doc README.rst
|
2016-02-26 13:24:18 +00:00
|
|
|
%license LICENSE
|
2014-09-27 15:54:53 +00:00
|
|
|
%{_bindir}/oslo-config-generator
|
2015-07-29 05:51:22 +00:00
|
|
|
%{python2_sitelib}/oslo_config
|
|
|
|
%{python2_sitelib}/*.egg-info
|
2013-04-21 17:50:55 +00:00
|
|
|
|
|
|
|
%files doc
|
2016-03-09 16:03:14 +00:00
|
|
|
%doc doc/build/html
|
2016-03-09 16:05:21 +00:00
|
|
|
%license LICENSE
|
2013-04-21 17:50:55 +00:00
|
|
|
|
|
|
|
%changelog
|