init package
This commit is contained in:
parent
92d2a7b22f
commit
794eb13ec1
58
python-sphinx-sitemap.spec
Normal file
58
python-sphinx-sitemap.spec
Normal file
@ -0,0 +1,58 @@
|
|||||||
|
%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.0
|
||||||
|
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
|
||||||
|
|
||||||
|
%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
|
||||||
|
|
||||||
|
%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.0-1
|
||||||
|
- Package init
|
||||||
BIN
sphinx-sitemap-2.5.0.tar.gz
Normal file
BIN
sphinx-sitemap-2.5.0.tar.gz
Normal file
Binary file not shown.
Loading…
x
Reference in New Issue
Block a user