55 lines
1.5 KiB
RPMSpec
55 lines
1.5 KiB
RPMSpec
%global _empty_manifest_terminate_build 0
|
|
%global pypi_name mkdocs-include-markdown-plugin
|
|
|
|
%global _description %{expand:
|
|
Mkdocs Markdown includer plugin.}
|
|
|
|
Name: python-%{pypi_name}
|
|
Version: 6.0.4
|
|
Release: 1
|
|
Summary: Mkdocs Markdown includer plugin.
|
|
License: Apache-2.0
|
|
URL: https://github.com/mondeja/mkdocs-include-markdown-plugin
|
|
Source0: %{url}/archive/%{version}/mkdocs_include_markdown_plugin-%{version}.tar.gz
|
|
BuildArch: noarch
|
|
|
|
BuildRequires: python3-devel
|
|
BuildRequires: python3-pip
|
|
BuildRequires: python3-wheel
|
|
BuildRequires: python3-setuptools
|
|
BuildRequires: python3-setuptools_scm
|
|
BuildRequires: python3-hatchling
|
|
|
|
%description %_description
|
|
|
|
%package -n python3-%{pypi_name}
|
|
Summary: Mkdocs Markdown includer plugin.
|
|
%{?python_provide:%python_provide python3-%{pypi_name}}
|
|
|
|
%description -n python3-%{pypi_name} %_description
|
|
|
|
%prep
|
|
%autosetup -n mkdocs_include_markdown_plugin-%{version}
|
|
|
|
%build
|
|
%pyproject_build
|
|
|
|
%install
|
|
%pyproject_install
|
|
|
|
%files -n python3-%{pypi_name}
|
|
%license LICENSE
|
|
%doc README.md
|
|
%{python3_sitelib}/mkdocs_include_markdown_plugin-%{version}.dist-info/
|
|
%{python3_sitelib}/mkdocs_include_markdown_plugin/
|
|
|
|
%changelog
|
|
* Tue Mar 5 2024 Dongxing Wang <dongxing.wang_a@thundersoft.com> - 6.0.4-1
|
|
- Update package with version 6.0.4
|
|
Add mkdocs>=1.4 as dependency.
|
|
Dropped Python upper version requirement bound.
|
|
Fixed some warnings not shown when missing start and end delimiters in some contexts
|
|
|
|
* Wed Aug 23 2023 li-miaomiao_zhr <mmlidc@isoftstone.com> - 6.0.0-1
|
|
- Package init
|