summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCoprDistGit <infra@openeuler.org>2023-04-11 00:48:14 +0000
committerCoprDistGit <infra@openeuler.org>2023-04-11 00:48:14 +0000
commit15bcb6a47f2fa4ca08cd288e321ccb4c874a2e2b (patch)
tree7f7e656cb3c1d362fff6f8a9e459b08379813e7b
parent25f6a9acdb76d7c36dde7a3874b146f16727f78e (diff)
automatic import of python-sphinxcontrib-mermaid
-rw-r--r--.gitignore1
-rw-r--r--python-sphinxcontrib-mermaid.spec87
-rw-r--r--sources1
3 files changed, 89 insertions, 0 deletions
diff --git a/.gitignore b/.gitignore
index e69de29..1a88730 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/sphinxcontrib-mermaid-0.8.1.tar.gz
diff --git a/python-sphinxcontrib-mermaid.spec b/python-sphinxcontrib-mermaid.spec
new file mode 100644
index 0000000..0714dda
--- /dev/null
+++ b/python-sphinxcontrib-mermaid.spec
@@ -0,0 +1,87 @@
+%global _empty_manifest_terminate_build 0
+Name: python-sphinxcontrib-mermaid
+Version: 0.8.1
+Release: 1
+Summary: Mermaid diagrams in yours Sphinx powered docs
+License: BSD
+URL: https://github.com/mgaitan/sphinxcontrib-mermaid
+Source0: https://mirrors.nju.edu.cn/pypi/web/packages/a9/8b/36db743512d537c012c9635e828a0b73d911ef61d985a5ca93fc450945b7/sphinxcontrib-mermaid-0.8.1.tar.gz
+BuildArch: noarch
+
+
+%description
+You can install it using pip
+ pip install sphinxcontrib-mermaid
+Then add ``sphinxcontrib.mermaid`` in ``extensions`` list of your project's ``conf.py``::
+ extensions = [
+ 'sphinxcontrib.mermaid'
+ ]
+
+%package -n python3-sphinxcontrib-mermaid
+Summary: Mermaid diagrams in yours Sphinx powered docs
+Provides: python-sphinxcontrib-mermaid
+BuildRequires: python3-devel
+BuildRequires: python3-setuptools
+BuildRequires: python3-pip
+%description -n python3-sphinxcontrib-mermaid
+You can install it using pip
+ pip install sphinxcontrib-mermaid
+Then add ``sphinxcontrib.mermaid`` in ``extensions`` list of your project's ``conf.py``::
+ extensions = [
+ 'sphinxcontrib.mermaid'
+ ]
+
+%package help
+Summary: Development documents and examples for sphinxcontrib-mermaid
+Provides: python3-sphinxcontrib-mermaid-doc
+%description help
+You can install it using pip
+ pip install sphinxcontrib-mermaid
+Then add ``sphinxcontrib.mermaid`` in ``extensions`` list of your project's ``conf.py``::
+ extensions = [
+ 'sphinxcontrib.mermaid'
+ ]
+
+%prep
+%autosetup -n sphinxcontrib-mermaid-0.8.1
+
+%build
+%py3_build
+
+%install
+%py3_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
+pushd %{buildroot}
+if [ -d usr/lib ]; then
+ find usr/lib -type f -printf "/%h/%f\n" >> filelist.lst
+fi
+if [ -d usr/lib64 ]; then
+ find usr/lib64 -type f -printf "/%h/%f\n" >> filelist.lst
+fi
+if [ -d usr/bin ]; then
+ find usr/bin -type f -printf "/%h/%f\n" >> filelist.lst
+fi
+if [ -d usr/sbin ]; then
+ find usr/sbin -type f -printf "/%h/%f\n" >> filelist.lst
+fi
+touch doclist.lst
+if [ -d usr/share/man ]; then
+ find usr/share/man -type f -printf "/%h/%f.gz\n" >> doclist.lst
+fi
+popd
+mv %{buildroot}/filelist.lst .
+mv %{buildroot}/doclist.lst .
+
+%files -n python3-sphinxcontrib-mermaid -f filelist.lst
+%dir %{python3_sitelib}/*
+
+%files help -f doclist.lst
+%{_docdir}/*
+
+%changelog
+* Tue Apr 11 2023 Python_Bot <Python_Bot@openeuler.org> - 0.8.1-1
+- Package Spec generated
diff --git a/sources b/sources
new file mode 100644
index 0000000..4f527e4
--- /dev/null
+++ b/sources
@@ -0,0 +1 @@
+bda0049b7c2bc07d4eb68a7246332281 sphinxcontrib-mermaid-0.8.1.tar.gz