!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:
commit
49917a85bf
68
python-sphinx-mdinclude.spec
Normal file
68
python-sphinx-mdinclude.spec
Normal 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
|
||||
BIN
sphinx_mdinclude-0.5.3.tar.gz
Normal file
BIN
sphinx_mdinclude-0.5.3.tar.gz
Normal file
Binary file not shown.
Loading…
x
Reference in New Issue
Block a user