summaryrefslogtreecommitdiff
path: root/python-markdown-checklist.spec
diff options
context:
space:
mode:
authorCoprDistGit <infra@openeuler.org>2023-05-15 03:45:26 +0000
committerCoprDistGit <infra@openeuler.org>2023-05-15 03:45:26 +0000
commite9d0df7a51af885c8fbc12f9ec2ad1b681de6fea (patch)
tree6a1bdb521faf5669d9265ad133107f7ebeb0e55d /python-markdown-checklist.spec
parent07c549430b7d7e0aabbc221e5b0f15e77623527e (diff)
automatic import of python-markdown-checklist
Diffstat (limited to 'python-markdown-checklist.spec')
-rw-r--r--python-markdown-checklist.spec72
1 files changed, 72 insertions, 0 deletions
diff --git a/python-markdown-checklist.spec b/python-markdown-checklist.spec
new file mode 100644
index 0000000..45526ce
--- /dev/null
+++ b/python-markdown-checklist.spec
@@ -0,0 +1,72 @@
+%global _empty_manifest_terminate_build 0
+Name: python-markdown-checklist
+Version: 0.4.4
+Release: 1
+Summary: Python Markdown extension for task lists with checkboxes
+License: MIT
+URL: https://github.com/FND/markdown-checklist
+Source0: https://mirrors.nju.edu.cn/pypi/web/packages/d5/ca/ed52b8a28ad74abc75592f8c527d151479b547586bba5db2d2c71ef62a0b/markdown-checklist-0.4.4.tar.gz
+BuildArch: noarch
+
+
+%description
+ $ pip install markdown-checklist
+
+%package -n python3-markdown-checklist
+Summary: Python Markdown extension for task lists with checkboxes
+Provides: python-markdown-checklist
+BuildRequires: python3-devel
+BuildRequires: python3-setuptools
+BuildRequires: python3-pip
+%description -n python3-markdown-checklist
+ $ pip install markdown-checklist
+
+%package help
+Summary: Development documents and examples for markdown-checklist
+Provides: python3-markdown-checklist-doc
+%description help
+ $ pip install markdown-checklist
+
+%prep
+%autosetup -n markdown-checklist-0.4.4
+
+%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-markdown-checklist -f filelist.lst
+%dir %{python3_sitelib}/*
+
+%files help -f doclist.lst
+%{_docdir}/*
+
+%changelog
+* Mon May 15 2023 Python_Bot <Python_Bot@openeuler.org> - 0.4.4-1
+- Package Spec generated