commit 8c220d44d075ebf1e4d4ce028388410f7ffc7ca4 Author: tigro Date: Sat Jan 4 15:43:42 2025 +0300 import python-sphinx-sitemap-2.6.0-4.el10 diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..fdf2091 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +SOURCES/sphinx-sitemap-2.6.0.tar.gz diff --git a/.python-sphinx-sitemap.metadata b/.python-sphinx-sitemap.metadata new file mode 100644 index 0000000..d7cb035 --- /dev/null +++ b/.python-sphinx-sitemap.metadata @@ -0,0 +1 @@ +27247b19a3f4fda829e636d0470543c9194ca780 SOURCES/sphinx-sitemap-2.6.0.tar.gz diff --git a/SPECS/python-sphinx-sitemap.spec b/SPECS/python-sphinx-sitemap.spec new file mode 100644 index 0000000..36fa0bf --- /dev/null +++ b/SPECS/python-sphinx-sitemap.spec @@ -0,0 +1,127 @@ +## START: Set by rpmautospec +## (rpmautospec version 0.6.5) +## RPMAUTOSPEC: autorelease, autochangelog +%define autorelease(e:s:pb:n) %{?-p:0.}%{lua: + release_number = 4; + base_release_number = tonumber(rpm.expand("%{?-b*}%{!?-b:1}")); + print(release_number + base_release_number - 1); +}%{?-e:.%{-e*}}%{?-s:.%{-s*}}%{!?-n:%{?dist}} +## END: Set by rpmautospec + +%global giturl https://github.com/jdillard/sphinx-sitemap + +Name: python-sphinx-sitemap +Version: 2.6.0 +Release: %autorelease +Summary: Sitemap generator for Sphinx + +License: MIT +URL: https://sphinx-sitemap.readthedocs.io/ +VCS: git:%{giturl}.git +Source: %{giturl}/archive/v%{version}/sphinx-sitemap-%{version}.tar.gz + +BuildArch: noarch +BuildRequires: python3-devel + +%global _description %{expand: +This package contains a Sphinx extension to generate multiversion and +multilanguage sitemaps.org-compliant sitemaps for the HTML version of +your Sphinx documentation.} + +%description %_description + +%package -n python3-sphinx-sitemap +Summary: Sitemap generator for Sphinx + +%description -n python3-sphinx-sitemap %_description + +%prep +%autosetup -n sphinx-sitemap-%{version} + +%generate_buildrequires +%pyproject_buildrequires -t + +%build +%pyproject_wheel +rst2html --no-datestamp README.rst README.html + +%install +%pyproject_install +%pyproject_save_files sphinx_sitemap + +%check +%tox + +%files -n python3-sphinx-sitemap -f %{pyproject_files} +%doc README.html + +%changelog +* Sat Jan 04 2025 Arkady L. Shane - 2.6.0-4 +- Rebuilt for MSVSphere 10 + +## START: Generated by rpmautospec +* Fri Jul 19 2024 Fedora Release Engineering - 2.6.0-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild + +* Wed Jul 17 2024 Jerry James - 2.6.0-3 +- Fix the VCS field + +* Fri Jun 07 2024 Python Maint - 2.6.0-2 +- Rebuilt for Python 3.13 + +* Mon Apr 29 2024 Jerry James - 2.6.0-1 +- Version 2.6.0 +- Drop upstreamed setuptools patch +- Use %%tox to test + +* Fri Jan 26 2024 Sandro - 2.5.1-4 +- Fix for setuptools >= 69 (RHBZ#2259652) + +* Fri Jan 26 2024 Fedora Release Engineering - 2.5.1-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild + +* Mon Jan 22 2024 Fedora Release Engineering - 2.5.1-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild + +* Fri Aug 18 2023 Jerry James - 2.5.1-1 +- Version 2.5.1 + +* Fri Jul 21 2023 Fedora Release Engineering - 2.5.0-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild + +* Wed Jun 14 2023 Python Maint - 2.5.0-2 +- Rebuilt for Python 3.12 + +* Thu Feb 23 2023 Jerry James - 2.5.0-1 +- Dynamically generate BuildRequires + +* Sat Jan 28 2023 Jerry James - 2.5.0-1 +- Version 2.5.0 + +* Fri Jan 20 2023 Fedora Release Engineering - 2.4.0-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild + +* Fri Jan 6 2023 Jerry James - 2.4.0-1 +- Version 2.4.0 +- Verify that MIT is the correct SPDX identifier + +* Wed Dec 21 2022 Jerry James - 2.3.0-1 +- Version 2.3.0 +- Test with pytest + +* Sat Nov 12 2022 Jerry James - 2.2.1-1 +- Version 2.2.1 + +* Fri Jul 22 2022 Fedora Release Engineering - 2.2.0-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild + +* Mon Jun 13 2022 Python Maint - 2.2.0-3 +- Rebuilt for Python 3.11 + +* Fri Jan 21 2022 Fedora Release Engineering - 2.2.0-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild + +* Sat Oct 2 2021 Jerry James - 2.2.0-1 +- Initial RPM + +## END: Generated by rpmautospec