2023-08-25 10:48:29 +08:00
|
|
|
%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
|
2023-09-04 16:43:54 +08:00
|
|
|
Release: 2
|
2023-08-25 10:48:29 +08:00
|
|
|
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
|
|
|
|
|
|
2023-09-04 16:43:54 +08:00
|
|
|
# for test
|
|
|
|
|
BuildRequires: python3-pytest
|
|
|
|
|
BuildRequires: python3-pytest-cov
|
|
|
|
|
BuildRequires: python3-pytest-randomly
|
|
|
|
|
BuildRequires: python3-pytest-xdist
|
|
|
|
|
BuildRequires: python3-mkdocs
|
|
|
|
|
BuildRequires: python3-markdown
|
|
|
|
|
|
2023-08-25 10:48:29 +08:00
|
|
|
%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
|
|
|
|
|
|
2023-09-04 16:43:54 +08:00
|
|
|
%check
|
|
|
|
|
%pytest
|
|
|
|
|
|
2023-08-25 10:48:29 +08:00
|
|
|
%files -n python3-%{pypi_name}
|
|
|
|
|
%license LICENSE
|
|
|
|
|
%doc README.md
|
|
|
|
|
%{python3_sitelib}/mkdocs_autorefs-%{version}.dist-info/
|
|
|
|
|
%{python3_sitelib}/mkdocs_autorefs/
|
|
|
|
|
|
|
|
|
|
%changelog
|
2023-09-04 16:43:54 +08:00
|
|
|
* Mon Sep 4 2023 li-miaomiao_zhr <mmlidc@isoftstone.com> - 0.5.0-2
|
|
|
|
|
- Start self-test of sofware package
|
|
|
|
|
|
2023-08-25 10:48:29 +08:00
|
|
|
* Fri Aug 25 2023 li-miaomiao_zhr <mmlidc@isoftstone.com> - 0.5.0-1
|
|
|
|
|
- Package init
|