summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCoprDistGit <infra@openeuler.org>2023-06-20 07:58:40 +0000
committerCoprDistGit <infra@openeuler.org>2023-06-20 07:58:40 +0000
commitb7d0bec3ab73dbaadc4c78621c7758a8ad77d009 (patch)
tree0d89d21439dfb621146d8970787c9cfb5c6ea588
parent2d453f412f5038f21ac6c0fc7ff04d8ed232d075 (diff)
automatic import of python-umi-toolsopeneuler20.03
-rw-r--r--.gitignore1
-rw-r--r--python-umi-tools.spec75
-rw-r--r--sources1
3 files changed, 77 insertions, 0 deletions
diff --git a/.gitignore b/.gitignore
index e69de29..1d3ff2a 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/umi_tools-1.1.4.tar.gz
diff --git a/python-umi-tools.spec b/python-umi-tools.spec
new file mode 100644
index 0000000..17caf36
--- /dev/null
+++ b/python-umi-tools.spec
@@ -0,0 +1,75 @@
+%global _empty_manifest_terminate_build 0
+Name: python-umi-tools
+Version: 1.1.4
+Release: 1
+Summary: umi_tools: Tools for UMI analyses
+License: MIT
+URL: https://github.com/CGATOxford/UMI-tools
+Source0: https://mirrors.aliyun.com/pypi/web/packages/14/99/0fdd1dc7a3effb29fc80a14076da2496e69d0714b7858bb1ec816d6571c6/umi_tools-1.1.4.tar.gz
+BuildArch: noarch
+
+
+%description
+umi_tools: Tools for UMI analyses
+
+
+%package -n python3-umi-tools
+Summary: umi_tools: Tools for UMI analyses
+Provides: python-umi-tools
+BuildRequires: python3-devel
+BuildRequires: python3-setuptools
+BuildRequires: python3-pip
+%description -n python3-umi-tools
+umi_tools: Tools for UMI analyses
+
+
+%package help
+Summary: Development documents and examples for umi-tools
+Provides: python3-umi-tools-doc
+%description help
+umi_tools: Tools for UMI analyses
+
+
+%prep
+%autosetup -n umi_tools-1.1.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-umi-tools -f filelist.lst
+%dir %{python3_sitelib}/*
+
+%files help -f doclist.lst
+%{_docdir}/*
+
+%changelog
+* Tue Jun 20 2023 Python_Bot <Python_Bot@openeuler.org> - 1.1.4-1
+- Package Spec generated
diff --git a/sources b/sources
new file mode 100644
index 0000000..689283c
--- /dev/null
+++ b/sources
@@ -0,0 +1 @@
+3552e5418cccbbb560a079c7c48dc429 umi_tools-1.1.4.tar.gz