File python-oslosphinx.spec of Package python-oslosphinx

#
# spec file for package python-oslosphinx
#
# Copyright (c) 2020 SUSE LINUX GmbH, Nuernberg, Germany.
#
# 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 https://bugs.opensuse.org/
#


Name:           python-oslosphinx
Version:        4.18.0
Release:        0
Summary:        OpenStack Sphinx
License:        Apache-2.0
Group:          Development/Languages/Python
URL:            https://launchpad.net/oslosphinx
Source0:        https://files.pythonhosted.org/packages/source/o/oslosphinx/oslosphinx-4.18.0.tar.gz
BuildRequires:  openstack-macros
BuildRequires:  python3-pbr
BuildRequires:  python3-setuptools
BuildArch:      noarch

%description
The Oslo Sphinx library provides an OpenStack common
layer of Sphinx plugins.

%package -n python3-oslosphinx
Summary:        OpenStack Sphinx
Group:          Development/Languages/Python
Requires:       python3-pbr
Requires:       python3-requests
Requires:       python3-six

%description -n python3-oslosphinx
The Oslo Sphinx library provides an OpenStack common
layer of Sphinx plugins.

%prep
%autosetup -p1 -n oslosphinx-4.18.0
%py_req_cleanup

%build
%py3_build

%install
%py3_install

%files -n python3-oslosphinx
%doc README.rst
%license LICENSE
%{python3_sitelib}/oslosphinx
%{python3_sitelib}/*.egg-info

%changelog