diff options
author | CoprDistGit <infra@openeuler.org> | 2023-05-15 07:10:57 +0000 |
---|---|---|
committer | CoprDistGit <infra@openeuler.org> | 2023-05-15 07:10:57 +0000 |
commit | dbd3cf7ae83de6bf029f9cdf1a0a26929b375e13 (patch) | |
tree | eddaa0e55dc65d73237584146a487ba5edddaad3 /python-mustache-hic.spec | |
parent | 81138cc6bf7306f69cae82b0d7068a67e5d05c7c (diff) |
automatic import of python-mustache-hic
Diffstat (limited to 'python-mustache-hic.spec')
-rw-r--r-- | python-mustache-hic.spec | 86 |
1 files changed, 86 insertions, 0 deletions
diff --git a/python-mustache-hic.spec b/python-mustache-hic.spec new file mode 100644 index 0000000..254fe6c --- /dev/null +++ b/python-mustache-hic.spec @@ -0,0 +1,86 @@ +%global _empty_manifest_terminate_build 0 +Name: python-mustache-hic +Version: 1.3.1 +Release: 1 +Summary: Mustache is a Hi-C analysis tool +License: MIT +URL: http://github.com/ay-lab/mustache/ +Source0: https://mirrors.nju.edu.cn/pypi/web/packages/4b/05/0b5bf07c4f4349487bffac8482b9b2badb0c2dcc58dce7190e95a4299784/mustache_hic-1.3.1.tar.gz +BuildArch: noarch + +Requires: python3-cooler +Requires: python3-hic-straw +Requires: python3-numpy +Requires: python3-requests +Requires: python3-scipy +Requires: python3-pandas +Requires: python3-statsmodels +Requires: python3-pathlib + +%description +Mustache is a tool for multi-scale detection of chromatin loops from Hi-C and Micro-C contact maps in high resolutions (10kbp all the way to 500bp and even more). + + + +%package -n python3-mustache-hic +Summary: Mustache is a Hi-C analysis tool +Provides: python-mustache-hic +BuildRequires: python3-devel +BuildRequires: python3-setuptools +BuildRequires: python3-pip +%description -n python3-mustache-hic +Mustache is a tool for multi-scale detection of chromatin loops from Hi-C and Micro-C contact maps in high resolutions (10kbp all the way to 500bp and even more). + + + +%package help +Summary: Development documents and examples for mustache-hic +Provides: python3-mustache-hic-doc +%description help +Mustache is a tool for multi-scale detection of chromatin loops from Hi-C and Micro-C contact maps in high resolutions (10kbp all the way to 500bp and even more). + + + +%prep +%autosetup -n mustache-hic-1.3.1 + +%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-mustache-hic -f filelist.lst +%dir %{python3_sitelib}/* + +%files help -f doclist.lst +%{_docdir}/* + +%changelog +* Mon May 15 2023 Python_Bot <Python_Bot@openeuler.org> - 1.3.1-1 +- Package Spec generated |