summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCoprDistGit <infra@openeuler.org>2023-05-05 06:40:58 +0000
committerCoprDistGit <infra@openeuler.org>2023-05-05 06:40:58 +0000
commit1d75324b1322e56c4bac9d953e2c664cfb14e165 (patch)
treef0f8563db07924e0906b474927f9a143aafb2dcd
parent31d79b824a4fda6c4d8e58eec3f7a8550b5e074e (diff)
automatic import of python-qm-spideropeneuler20.03
-rw-r--r--.gitignore1
-rw-r--r--python-qm-spider.spec75
-rw-r--r--sources1
3 files changed, 77 insertions, 0 deletions
diff --git a/.gitignore b/.gitignore
index e69de29..55eef0e 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/QM_Spider-0.0.151.tar.gz
diff --git a/python-qm-spider.spec b/python-qm-spider.spec
new file mode 100644
index 0000000..5db2b69
--- /dev/null
+++ b/python-qm-spider.spec
@@ -0,0 +1,75 @@
+%global _empty_manifest_terminate_build 0
+Name: python-QM-Spider
+Version: 0.0.151
+Release: 1
+Summary: QueueMaster Spider library
+License: Apache License 2.0
+URL: https://github.com/ShellMonster/QM_Spider
+Source0: https://mirrors.nju.edu.cn/pypi/web/packages/31/e8/66971dd319a55915dcfc935aa8cfbdb2ed26e0fab0a4efddfd154b4859a2/QM_Spider-0.0.151.tar.gz
+BuildArch: noarch
+
+
+%description
+QiMai Spider library
+
+
+%package -n python3-QM-Spider
+Summary: QueueMaster Spider library
+Provides: python-QM-Spider
+BuildRequires: python3-devel
+BuildRequires: python3-setuptools
+BuildRequires: python3-pip
+%description -n python3-QM-Spider
+QiMai Spider library
+
+
+%package help
+Summary: Development documents and examples for QM-Spider
+Provides: python3-QM-Spider-doc
+%description help
+QiMai Spider library
+
+
+%prep
+%autosetup -n QM-Spider-0.0.151
+
+%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-QM-Spider -f filelist.lst
+%dir %{python3_sitelib}/*
+
+%files help -f doclist.lst
+%{_docdir}/*
+
+%changelog
+* Fri May 05 2023 Python_Bot <Python_Bot@openeuler.org> - 0.0.151-1
+- Package Spec generated
diff --git a/sources b/sources
new file mode 100644
index 0000000..bb7c25b
--- /dev/null
+++ b/sources
@@ -0,0 +1 @@
+be13793eafca3ab7e00d13254925f582 QM_Spider-0.0.151.tar.gz