summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCoprDistGit <infra@openeuler.org>2023-05-31 08:09:55 +0000
committerCoprDistGit <infra@openeuler.org>2023-05-31 08:09:55 +0000
commita5a36e02919c8b30136b1cbf694092358b1f7ea2 (patch)
treef03c1b16c6863a6a570e052ad89a5dee011881c8
parentac630ed29042faa333a779e1d395a5fc9ba8db91 (diff)
automatic import of python-mkdocs-plugin-mermaid
-rw-r--r--.gitignore1
-rw-r--r--python-mkdocs-plugin-mermaid.spec72
-rw-r--r--sources1
3 files changed, 74 insertions, 0 deletions
diff --git a/.gitignore b/.gitignore
index e69de29..b06a26a 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/mkdocs-plugin-mermaid-0.1.1.tar.gz
diff --git a/python-mkdocs-plugin-mermaid.spec b/python-mkdocs-plugin-mermaid.spec
new file mode 100644
index 0000000..97e72fc
--- /dev/null
+++ b/python-mkdocs-plugin-mermaid.spec
@@ -0,0 +1,72 @@
+%global _empty_manifest_terminate_build 0
+Name: python-mkdocs-plugin-mermaid
+Version: 0.1.1
+Release: 1
+Summary: A MkDocs plugin that support mermaid graph in markdown file
+License: MIT
+URL: https://github.com/suchasplus/mkdocs-plugin-mermaid
+Source0: https://mirrors.nju.edu.cn/pypi/web/packages/ec/c0/7771b6aa115cd7a89bbd0f0bd2b068704918585cec974e888799b723f8ce/mkdocs-plugin-mermaid-0.1.1.tar.gz
+BuildArch: noarch
+
+
+%description
+This is a mkdocs plugin that could enable the mermaid graph in the markdown file.Please follow the instruction in readme to enable this plugin
+
+%package -n python3-mkdocs-plugin-mermaid
+Summary: A MkDocs plugin that support mermaid graph in markdown file
+Provides: python-mkdocs-plugin-mermaid
+BuildRequires: python3-devel
+BuildRequires: python3-setuptools
+BuildRequires: python3-pip
+%description -n python3-mkdocs-plugin-mermaid
+This is a mkdocs plugin that could enable the mermaid graph in the markdown file.Please follow the instruction in readme to enable this plugin
+
+%package help
+Summary: Development documents and examples for mkdocs-plugin-mermaid
+Provides: python3-mkdocs-plugin-mermaid-doc
+%description help
+This is a mkdocs plugin that could enable the mermaid graph in the markdown file.Please follow the instruction in readme to enable this plugin
+
+%prep
+%autosetup -n mkdocs-plugin-mermaid-0.1.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-mkdocs-plugin-mermaid -f filelist.lst
+%dir %{python3_sitelib}/*
+
+%files help -f doclist.lst
+%{_docdir}/*
+
+%changelog
+* Wed May 31 2023 Python_Bot <Python_Bot@openeuler.org> - 0.1.1-1
+- Package Spec generated
diff --git a/sources b/sources
new file mode 100644
index 0000000..a7910bf
--- /dev/null
+++ b/sources
@@ -0,0 +1 @@
+e5a317842325b5eb63fa953c957b54c1 mkdocs-plugin-mermaid-0.1.1.tar.gz