49 lines
1.2 KiB
RPMSpec
49 lines
1.2 KiB
RPMSpec
%global _empty_manifest_terminate_build 0
|
|
%global pypi_name mkdocs-autorefs
|
|
|
|
%global _description %{expand:
|
|
Automatically link across pages in MkDocs.}
|
|
|
|
Name: python-%{pypi_name}
|
|
Version: 0.5.0
|
|
Release: 1
|
|
Summary: Automatically link across pages in MkDocs.
|
|
License: ISC
|
|
URL: https://github.com/mkdocstrings/autorefs
|
|
Source0: %{url}/archive/%{version}/mkdocs_autorefs-%{version}.tar.gz
|
|
BuildArch: noarch
|
|
|
|
BuildRequires: python3-devel
|
|
BuildRequires: python3-pip
|
|
BuildRequires: python3-wheel
|
|
BuildRequires: python3-setuptools
|
|
BuildRequires: python3-setuptools_scm
|
|
BuildRequires: python3-pdm-backend
|
|
|
|
%description %_description
|
|
|
|
%package -n python3-%{pypi_name}
|
|
Summary: Automatically link across pages in MkDocs.
|
|
%{?python_provide:%python_provide python3-%{pypi_name}}
|
|
|
|
%description -n python3-%{pypi_name} %_description
|
|
|
|
%prep
|
|
%autosetup -n mkdocs_autorefs-%{version}
|
|
|
|
%build
|
|
%pyproject_build
|
|
|
|
%install
|
|
%pyproject_install
|
|
|
|
%files -n python3-%{pypi_name}
|
|
%license LICENSE
|
|
%doc README.md
|
|
%{python3_sitelib}/mkdocs_autorefs-%{version}.dist-info/
|
|
%{python3_sitelib}/mkdocs_autorefs/
|
|
|
|
%changelog
|
|
* Fri Aug 25 2023 li-miaomiao_zhr <mmlidc@isoftstone.com> - 0.5.0-1
|
|
- Package init
|