Blob Blame History Raw
%global srcname sphinx-sitemap

Name:           python-%{srcname}
Version:        2.2.0
Release:        2%{?dist}
Summary:        Sitemap generator for Sphinx

License:        MIT
Source0:        %{url}/archive/v%{version}/%{srcname}-%{version}.tar.gz

BuildArch:      noarch

BuildRequires:  python3-devel
BuildRequires:  %{py3_dist pip}
BuildRequires:  %{py3_dist setuptools}
BuildRequires:  %{py3_dist six}
BuildRequires:  %{py3_dist sphinx}
BuildRequires:  %{py3_dist wheel}

%global _description %{expand:
This package contains a Sphinx extension to generate multiversion and
multilanguage sitemaps for the HTML version of
your Sphinx documentation.}

%description %_description

%package     -n python3-%{srcname}
Summary:        Sitemap generator for Sphinx

%description -n python3-%{srcname} %_description

%autosetup -n %{srcname}-%{version}

rst2html --no-datestamp README.rst README.html

%pyproject_save_files sphinx_sitemap

%py3_check_import sphinx_sitemap

%files -n python3-%{srcname} -f %{pyproject_files}
%doc README.html
%license LICENSE

* Fri Jan 21 2022 Fedora Release Engineering <> - 2.2.0-2
- Rebuilt for

* Sat Oct  2 2021 Jerry James <> - 2.2.0-1
- Initial RPM