summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCoprDistGit <infra@openeuler.org>2023-05-15 05:50:08 +0000
committerCoprDistGit <infra@openeuler.org>2023-05-15 05:50:08 +0000
commite2a3a246b652aa107e6af2f72918519b7a57b0a6 (patch)
tree86a0ca58ea8d09dc5d6a0e102fe777bbe545e996
parent6848f690dbb9dcc25e2eee1fdc18fe0d5d23b27d (diff)
automatic import of python-oolongtool
-rw-r--r--.gitignore1
-rw-r--r--python-oolongtool.spec81
-rw-r--r--sources1
3 files changed, 83 insertions, 0 deletions
diff --git a/.gitignore b/.gitignore
index e69de29..4083221 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/oolongTool-0.2.94.tar.gz
diff --git a/python-oolongtool.spec b/python-oolongtool.spec
new file mode 100644
index 0000000..09d2aec
--- /dev/null
+++ b/python-oolongtool.spec
@@ -0,0 +1,81 @@
+%global _empty_manifest_terminate_build 0
+Name: python-oolongTool
+Version: 0.2.94
+Release: 1
+Summary: tiny tools in using slurm cluster
+License: MIT Licence
+URL: https://github.com/Suchun-sv/ClusterTools
+Source0: https://mirrors.nju.edu.cn/pypi/web/packages/17/b5/9897271b9689803ec9ceadc074955fcc5680c57fd39974f2b8a96d9eb89b/oolongTool-0.2.94.tar.gz
+BuildArch: noarch
+
+
+%description
+this is a project for collecting some useful tools
+
+
+
+
+%package -n python3-oolongTool
+Summary: tiny tools in using slurm cluster
+Provides: python-oolongTool
+BuildRequires: python3-devel
+BuildRequires: python3-setuptools
+BuildRequires: python3-pip
+%description -n python3-oolongTool
+this is a project for collecting some useful tools
+
+
+
+
+%package help
+Summary: Development documents and examples for oolongTool
+Provides: python3-oolongTool-doc
+%description help
+this is a project for collecting some useful tools
+
+
+
+
+%prep
+%autosetup -n oolongTool-0.2.94
+
+%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-oolongTool -f filelist.lst
+%dir %{python3_sitelib}/*
+
+%files help -f doclist.lst
+%{_docdir}/*
+
+%changelog
+* Mon May 15 2023 Python_Bot <Python_Bot@openeuler.org> - 0.2.94-1
+- Package Spec generated
diff --git a/sources b/sources
new file mode 100644
index 0000000..2f004ac
--- /dev/null
+++ b/sources
@@ -0,0 +1 @@
+5d8762105730b536a39ad5421c75a1e0 oolongTool-0.2.94.tar.gz