python-mkdocs-gen-files/python-mkdocs-gen-files.spec

48 lines
1.3 KiB
RPMSpec

%global pypi_name mkdocs-gen-files
%global source_name mkdocs_gen_files
Name: python-%{pypi_name}
Version: 0.5.0
Release: 1
Summary: MkDocs plugin to programmatically generate documentation pages during the build
License: MIT
URL: https://github.com/oprypin/mkdocs-gen-files
Source0: https://files.pythonhosted.org/packages/48/85/2d634462fd59136197d3126ca431ffb666f412e3db38fd5ce3a60566303e/mkdocs_gen_files-0.5.0.tar.gz
BuildArch: noarch
BuildRequires: python3-devel
BuildRequires: python3-setuptools
BuildRequires: python3-pip
BuildRequires: python3-wheel
BuildRequires: python3-hatchling
%description
Plugin for MkDocs to programmatically generate documentation pages during the build
%package -n python3-%{pypi_name}
Summary: %{summary}
%{?python_provide:%python_provide python3-%{pypi_name}}
%description -n python3-%{pypi_name}
Plugin for MkDocs to programmatically generate documentation pages during the build
%prep
%autosetup -n %{source_name}-%{version}
%build
%pyproject_build
%install
%pyproject_install
%files -n python3-%{pypi_name}
%license LICENSE.md
%doc README.md
%{python3_sitelib}/mkdocs_gen_files*
%changelog
* Wed Aug 23 2023 luolu12 <luluoc@isoftstone.com> - 0.5.0-1
- Initial package.