!1 Init package with version 0.5.3

From: @desert-sailor 
Reviewed-by: @yangzhao_kl 
Signed-off-by: @yangzhao_kl
This commit is contained in:
openeuler-ci-bot 2023-11-10 02:37:51 +00:00 committed by Gitee
commit 49917a85bf
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F
2 changed files with 68 additions and 0 deletions

View File

@ -0,0 +1,68 @@
%global _empty_manifest_terminate_build 0
Name: python-sphinx-mdinclude
Version: 0.5.3
Release: 1
Summary: Markdown extension for Sphinx.
License: MIT
URL: https://github.com/omnilib/sphinx-mdinclude
Source0: https://files.pythonhosted.org/packages/9f/53/7a4f8c341066f12795a32d544ead6a1a1f0f7d8ccf7fe3465d994437f44a/sphinx_mdinclude-0.5.3.tar.gz
BuildArch: noarch
BuildRequires: python3-devel
BuildRequires: python3-setuptools
BuildRequires: python3-pbr
BuildRequires: python3-pip
BuildRequires: python3-wheel
BuildRequires: python3-hatchling
BuildRequires: python3-flit-core
BuildRequires: python3-docutils
BuildRequires: python3-mistune
BuildRequires: python3-pygments
%description
Markdown extension for Sphinx.
%package -n python3-sphinx-mdinclude
Summary: Markdown extension for Sphinx.
Provides: python-sphinx-mdinclude
BuildRequires: python3-devel
BuildRequires: python3-setuptools
BuildRequires: python3-hatchling
%description -n python3-sphinx-mdinclude
Markdown extension for Sphinx.
%package help
Summary: Development documents and examples for sphinx-mdinclude
Provides: python3-sphinx-mdinclude-doc
%description help
Development documents and examples for sphinx-mdinclude.
%prep
%autosetup -n sphinx_mdinclude-%{version}
%build
%pyproject_build
%install
%pyproject_install
install -d -m755 %{buildroot}/%{_pkgdocdir}
if [ -d doc ]; then cp -arf doc %{buildroot}/%{_pkgdocdir}; fi
if [ -d docs ]; then cp -arf docs %{buildroot}/%{_pkgdocdir}; fi
if [ -d example ]; then cp -arf example %{buildroot}/%{_pkgdocdir}; fi
if [ -d examples ]; then cp -arf examples %{buildroot}/%{_pkgdocdir}; fi
%files -n python3-sphinx-mdinclude
%doc README.md
%license LICENSE
%{python3_sitelib}/sphinx_mdinclude
%{python3_sitelib}/sphinx_mdinclude*.dist-info/
%files help
%{_docdir}/*
%changelog
* Tue Nov 7 2023 Dongxing Wang <dxwangk@isoftstone.com> - 0.5.3-1
- Init package

Binary file not shown.