2016-10-22 11:21:45 +00:00
|
|
|
#
|
|
|
|
# spec file for package python-openstack-doc-tools
|
|
|
|
#
|
2022-02-01 12:24:39 +00:00
|
|
|
# Copyright (c) 2022 SUSE LLC
|
2016-10-22 11:21:45 +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-12-20 07:59:07 +00:00
|
|
|
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
2016-10-22 11:21:45 +00:00
|
|
|
#
|
|
|
|
|
|
|
|
|
|
|
|
%global module os_doc_tools
|
|
|
|
Name: python-openstack-doc-tools
|
2022-06-07 09:21:38 +00:00
|
|
|
Version: 3.3.1
|
2016-10-22 11:21:45 +00:00
|
|
|
Release: 0
|
|
|
|
Summary: OpenStack Docs Tools
|
|
|
|
License: Apache-2.0
|
|
|
|
Group: Development/Languages/Python
|
2021-05-02 18:01:27 +00:00
|
|
|
URL: https://docs.openstack.org/openstack-doc-tools
|
2022-06-07 09:21:38 +00:00
|
|
|
Source0: https://files.pythonhosted.org/packages/source/o/openstack-doc-tools/openstack-doc-tools-3.3.1.tar.gz
|
2016-10-22 11:21:45 +00:00
|
|
|
BuildRequires: openstack-macros
|
2020-10-09 19:16:04 +00:00
|
|
|
BuildRequires: python3-PyYAML >= 3.13
|
2020-05-12 10:07:08 +00:00
|
|
|
BuildRequires: python3-Sphinx
|
2020-10-09 19:16:04 +00:00
|
|
|
BuildRequires: python3-lxml >= 4.5.0
|
2020-05-12 10:07:08 +00:00
|
|
|
BuildRequires: python3-openstackdocstheme
|
|
|
|
BuildRequires: python3-pbr >= 2.0.0
|
2016-10-22 11:21:45 +00:00
|
|
|
BuildArch: noarch
|
|
|
|
|
|
|
|
%description
|
|
|
|
Tools used by the OpenStack Documentation Project.
|
|
|
|
|
2020-05-12 10:07:08 +00:00
|
|
|
%package -n python3-openstack-doc-tools
|
|
|
|
Summary: OpenStack Docs Tools
|
2020-10-09 19:16:04 +00:00
|
|
|
Requires: python3-PyYAML >= 3.13
|
2020-05-12 10:07:08 +00:00
|
|
|
Requires: python3-Sphinx
|
|
|
|
Requires: python3-iso8601 >= 0.1.11
|
2020-10-09 19:16:04 +00:00
|
|
|
Requires: python3-lxml >= 4.5.0
|
2020-05-12 10:07:08 +00:00
|
|
|
Requires: python3-openstackdocstheme
|
2020-07-14 09:50:58 +00:00
|
|
|
%if 0%{?suse_version}
|
|
|
|
Obsoletes: python2-openstack-doc-tools < 1.8.0
|
|
|
|
%endif
|
2020-05-12 10:07:08 +00:00
|
|
|
|
|
|
|
%description -n python3-openstack-doc-tools
|
|
|
|
Tools used by the OpenStack Documentation Project.
|
|
|
|
|
|
|
|
This package contains the Python 3.x module.
|
|
|
|
|
2016-10-22 11:21:45 +00:00
|
|
|
%prep
|
2020-05-12 10:07:08 +00:00
|
|
|
%autosetup -n openstack-doc-tools-%{version}
|
2017-02-10 16:35:43 +00:00
|
|
|
%py_req_cleanup
|
2016-10-22 11:21:45 +00:00
|
|
|
|
|
|
|
%build
|
2020-05-12 10:07:08 +00:00
|
|
|
%py3_build
|
2016-10-22 11:21:45 +00:00
|
|
|
|
|
|
|
%install
|
2020-05-12 10:07:08 +00:00
|
|
|
%py3_install
|
2016-10-22 11:21:45 +00:00
|
|
|
|
2020-05-12 10:07:08 +00:00
|
|
|
%files -n python3-openstack-doc-tools
|
2016-10-22 11:21:45 +00:00
|
|
|
%license LICENSE
|
|
|
|
%doc README.rst
|
|
|
|
%{_bindir}/doc-tools-build-rst
|
|
|
|
%{_bindir}/doc-tools-check-languages
|
2020-05-12 10:07:08 +00:00
|
|
|
%{python3_sitelib}/%{module}
|
|
|
|
%{_datadir}/openstack-doc-tools
|
|
|
|
%{python3_sitelib}/*.egg-info
|
2016-10-22 11:21:45 +00:00
|
|
|
|
|
|
|
%changelog
|