70 lines
2.0 KiB
RPMSpec
70 lines
2.0 KiB
RPMSpec
# Created by pyp2rpm-3.3.9
|
|
%global pypi_name mkdocs
|
|
%global pypi_version 1.4.3
|
|
|
|
Name: python-%{pypi_name}
|
|
Version: %{pypi_version}
|
|
Release: 1
|
|
Summary: Project documentation with Markdown
|
|
|
|
License: BSD
|
|
URL: https://www.mkdocs.org
|
|
Source0: https://files.pythonhosted.org/packages/b0/ef/49b4427e5eec761b77a3c3c421d3fd63010e2798b7401dc0fa2b875ef6b5/mkdocs-1.4.3.tar.gz
|
|
BuildArch: noarch
|
|
|
|
Patch001:0001-markdown_mkdocs1.4.3.patch
|
|
|
|
BuildRequires: python3-devel
|
|
BuildRequires: python3dist(setuptools)
|
|
BuildRequires: python3-pip
|
|
BuildRequires: python3-wheel
|
|
BuildRequires: python3-editables
|
|
BuildRequires: python3-hatch-vcs
|
|
BuildRequires: python3-hatchling
|
|
BuildRequires: python3-babel
|
|
|
|
%description
|
|
MkDocs is a fast and simple way to create a website from source files written
|
|
in Markdown, and configured with a YAML configuration file, the documentation
|
|
can be hosted anywhere, even in free hosting services like Read the Docs and
|
|
GitHub Pages.
|
|
MkDocs is Python powered, this package is built with Python 3.
|
|
|
|
%package -n python3-%{pypi_name}
|
|
Summary: %{summary}
|
|
%{?python_provide:%python_provide python3-%{pypi_name}}
|
|
|
|
%description -n python3-%{pypi_name}
|
|
MkDocs is a fast and simple way to create a website from source files written
|
|
in Markdown, and configured with a YAML configuration file, the documentation
|
|
can be hosted anywhere, even in free hosting services like Read the Docs and
|
|
GitHub Pages.
|
|
MkDocs is Python powered, this package is built with Python 3.
|
|
|
|
%patch001 -p1
|
|
|
|
%prep
|
|
%autosetup -n %{pypi_name}-%{pypi_version}
|
|
# Remove bundled egg-info
|
|
rm -rf %{pypi_name}.egg-info
|
|
|
|
%build
|
|
%pyproject_build
|
|
|
|
%install
|
|
%pyproject_install
|
|
|
|
%files -n python3-%{pypi_name}
|
|
%license LICENSE
|
|
%doc README.md
|
|
%{_bindir}/mkdocs
|
|
%{python3_sitelib}/%{pypi_name}
|
|
%{python3_sitelib}/%{pypi_name}-*-info
|
|
|
|
%changelog
|
|
* Mon Jun 26 2023 luolu12 <luluoc@isoftstone.com> - 1.4.3-1
|
|
- update package of version 1.4.3.
|
|
|
|
* Thu Jun 15 2023 luolu12 <luluoc@isoftstone.com> - 1.3.1-1
|
|
- Initial package.
|