Blame python-sphinx-sitemap.spec

ab526fa
%global srcname sphinx-sitemap
ab526fa
ab526fa
Name:           python-%{srcname}
ab526fa
Version:        2.2.0
22bd673
Release:        2%{?dist}
ab526fa
Summary:        Sitemap generator for Sphinx
ab526fa
ab526fa
License:        MIT
ab526fa
URL:            https://github.com/jdillard/sphinx-sitemap
ab526fa
Source0:        %{url}/archive/v%{version}/%{srcname}-%{version}.tar.gz
ab526fa
ab526fa
BuildArch:      noarch
ab526fa
ab526fa
BuildRequires:  python3-devel
ab526fa
BuildRequires:  %{py3_dist pip}
ab526fa
BuildRequires:  %{py3_dist setuptools}
ab526fa
BuildRequires:  %{py3_dist six}
ab526fa
BuildRequires:  %{py3_dist sphinx}
ab526fa
BuildRequires:  %{py3_dist wheel}
ab526fa
ab526fa
%global _description %{expand:
ab526fa
This package contains a Sphinx extension to generate multiversion and
ab526fa
multilanguage sitemaps.org-compliant sitemaps for the HTML version of
ab526fa
your Sphinx documentation.}
ab526fa
ab526fa
%description %_description
ab526fa
ab526fa
%package     -n python3-%{srcname}
ab526fa
Summary:        Sitemap generator for Sphinx
ab526fa
ab526fa
%description -n python3-%{srcname} %_description
ab526fa
ab526fa
%prep
ab526fa
%autosetup -n %{srcname}-%{version}
ab526fa
ab526fa
%build
ab526fa
%pyproject_wheel
ab526fa
rst2html --no-datestamp README.rst README.html
ab526fa
ab526fa
%install
ab526fa
%pyproject_install
ab526fa
%pyproject_save_files sphinx_sitemap
ab526fa
ab526fa
%check
ab526fa
%py3_check_import sphinx_sitemap
ab526fa
ab526fa
%files -n python3-%{srcname} -f %{pyproject_files}
ab526fa
%doc CHANGELOG.md README.html
ab526fa
%license LICENSE
ab526fa
ab526fa
%changelog
22bd673
* Fri Jan 21 2022 Fedora Release Engineering <releng@fedoraproject.org> - 2.2.0-2
22bd673
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
22bd673
ab526fa
* Sat Oct  2 2021 Jerry James <loganjerry@gmail.com> - 2.2.0-1
ab526fa
- Initial RPM