diff options
author | CoprDistGit <infra@openeuler.org> | 2023-06-20 08:45:13 +0000 |
---|---|---|
committer | CoprDistGit <infra@openeuler.org> | 2023-06-20 08:45:13 +0000 |
commit | 4ad25a15a19cc92571cfc75b0ef3d36af5915e17 (patch) | |
tree | 67a9633a913db46887a3025971b44da011f84243 | |
parent | 34cab310aa67bc4f7ece57f1149c969705227f44 (diff) |
automatic import of python-mappertracopeneuler20.03
-rw-r--r-- | .gitignore | 1 | ||||
-rw-r--r-- | python-mappertrac.spec | 82 | ||||
-rw-r--r-- | sources | 1 |
3 files changed, 84 insertions, 0 deletions
@@ -0,0 +1 @@ +/mappertrac-1.3.0.tar.gz diff --git a/python-mappertrac.spec b/python-mappertrac.spec new file mode 100644 index 0000000..1d7b4fc --- /dev/null +++ b/python-mappertrac.spec @@ -0,0 +1,82 @@ +%global _empty_manifest_terminate_build 0 +Name: python-mappertrac +Version: 1.3.0 +Release: 1 +Summary: Probabilistic tractography for high-performance computing +License: BSD License +URL: https://pypi.org/project/mappertrac/ +Source0: https://mirrors.aliyun.com/pypi/web/packages/09/e8/f7febf05d69de11c88db820ae85bc41c76a902d5438327c694421c569d5b/mappertrac-1.3.0.tar.gz +BuildArch: noarch + +Requires: python3-pip +Requires: python3-parsl +Requires: python3-pytest +Requires: python3-pytest-cov +Requires: python3-scipy +Requires: python3-numpy +Requires: python3-gputil + +%description +MaPPeRTrac: A Massively Parallel, Portable, and Reproducible Tractography Pipeline + + +%package -n python3-mappertrac +Summary: Probabilistic tractography for high-performance computing +Provides: python-mappertrac +BuildRequires: python3-devel +BuildRequires: python3-setuptools +BuildRequires: python3-pip +%description -n python3-mappertrac +MaPPeRTrac: A Massively Parallel, Portable, and Reproducible Tractography Pipeline + + +%package help +Summary: Development documents and examples for mappertrac +Provides: python3-mappertrac-doc +%description help +MaPPeRTrac: A Massively Parallel, Portable, and Reproducible Tractography Pipeline + + +%prep +%autosetup -n mappertrac-1.3.0 + +%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-mappertrac -f filelist.lst +%dir %{python3_sitelib}/* + +%files help -f doclist.lst +%{_docdir}/* + +%changelog +* Tue Jun 20 2023 Python_Bot <Python_Bot@openeuler.org> - 1.3.0-1 +- Package Spec generated @@ -0,0 +1 @@ +26527af1b19e87945df6584cbb1ed7f0 mappertrac-1.3.0.tar.gz |