summaryrefslogtreecommitdiff
path: root/python-nesoni.spec
diff options
context:
space:
mode:
authorCoprDistGit <infra@openeuler.org>2023-06-20 03:49:23 +0000
committerCoprDistGit <infra@openeuler.org>2023-06-20 03:49:23 +0000
commit726c397bf9307b7f0e33040148096e572f9b6d5d (patch)
treefa60750b7f6b6763ce86bbdeb91121f0615f9c44 /python-nesoni.spec
parent69d3a67c37548cff8435b32b37b129dfb790cdc7 (diff)
automatic import of python-nesoniopeneuler20.03
Diffstat (limited to 'python-nesoni.spec')
-rw-r--r--python-nesoni.spec72
1 files changed, 72 insertions, 0 deletions
diff --git a/python-nesoni.spec b/python-nesoni.spec
new file mode 100644
index 0000000..b4ed37d
--- /dev/null
+++ b/python-nesoni.spec
@@ -0,0 +1,72 @@
+%global _empty_manifest_terminate_build 0
+Name: python-nesoni
+Version: 0.132
+Release: 1
+Summary: Collection of tools for processing high-throughput sequencing data, with an emphasis on bacterial data.
+License: UNKNOWN
+URL: http://bioinformatics.net.au/software.nesoni.shtml
+Source0: https://mirrors.aliyun.com/pypi/web/packages/1b/13/71a70dfeb70af44ef5bc264d6555a1b4667288b7c4cc01114fa1cd37344a/nesoni-0.132.tar.gz
+BuildArch: noarch
+
+
+%description
+UNKNOWN
+
+%package -n python3-nesoni
+Summary: Collection of tools for processing high-throughput sequencing data, with an emphasis on bacterial data.
+Provides: python-nesoni
+BuildRequires: python3-devel
+BuildRequires: python3-setuptools
+BuildRequires: python3-pip
+%description -n python3-nesoni
+UNKNOWN
+
+%package help
+Summary: Development documents and examples for nesoni
+Provides: python3-nesoni-doc
+%description help
+UNKNOWN
+
+%prep
+%autosetup -n nesoni-0.132
+
+%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-nesoni -f filelist.lst
+%dir %{python3_sitelib}/*
+
+%files help -f doclist.lst
+%{_docdir}/*
+
+%changelog
+* Tue Jun 20 2023 Python_Bot <Python_Bot@openeuler.org> - 0.132-1
+- Package Spec generated