diff options
author | CoprDistGit <infra@openeuler.org> | 2023-09-08 06:13:18 +0000 |
---|---|---|
committer | CoprDistGit <infra@openeuler.org> | 2023-09-08 06:13:18 +0000 |
commit | eed3f4dfcb7f2665327d132ee31f895146b1f474 (patch) | |
tree | 4e9d64c4d9351e55c76a5059e7ce9d37fb90e5e0 | |
parent | b24c234dc802742894969c061c8b97a70d83b166 (diff) |
automatic import of python-sphinx-sitemapopeneuler23.03
-rw-r--r-- | .gitignore | 1 | ||||
-rw-r--r-- | python-sphinx-sitemap.spec | 65 | ||||
-rw-r--r-- | sources | 1 |
3 files changed, 67 insertions, 0 deletions
@@ -0,0 +1 @@ +/sphinx-sitemap-2.5.1.tar.gz diff --git a/python-sphinx-sitemap.spec b/python-sphinx-sitemap.spec new file mode 100644 index 0000000..5bab331 --- /dev/null +++ b/python-sphinx-sitemap.spec @@ -0,0 +1,65 @@ +%global _empty_manifest_terminate_build 0 +%global pypi_name sphinx-sitemap + +%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.} + +Name: python-%{pypi_name} +Version: 2.5.1 +Release: 1 +Summary: Sitemap generator for Sphinx +License: MIT +URL: https://github.com/jdillard/sphinx-sitemap +Source0: %{url}/archive/%{version}/%{pypi_name}-%{version}.tar.gz +BuildArch: noarch + +BuildRequires: python3-devel +BuildRequires: python3-pip +BuildRequires: python3-wheel +BuildRequires: python3-setuptools +BuildRequires: python3-setuptools_scm + +# for test +BuildRequires: python3-pytest +BuildRequires: python3-sphinx + +%description %_description + +%package -n python3-%{pypi_name} +Summary: Sitemap generator for Sphinx +%{?python_provide:%python_provide python3-%{pypi_name}} + +%description -n python3-%{pypi_name} %_description + +%package help +Summary: Help documents for %{name} + +%description help +Help documents for the %{name} API + +%prep +%autosetup -n %{pypi_name}-%{version} + +%build +%pyproject_build + +%install +%pyproject_install + +%check +%pytest + +%files -n python3-%{pypi_name} +%license LICENSE +%doc README.rst +%{python3_sitelib}/sphinx_sitemap/ +%{python3_sitelib}/sphinx_sitemap-*.dist-info/ + +%files help +%doc docs + +%changelog +* Thu Aug 17 2023 li-miaomiao_zhr <mmlidc@isoftstone.com> - 2.5.1-1 +- Package init @@ -0,0 +1 @@ +b126c4c60db003e5d1d9bb043f1edd39 sphinx-sitemap-2.5.1.tar.gz |