diff options
Diffstat (limited to 'python-galaxy-ml.spec')
-rw-r--r-- | python-galaxy-ml.spec | 135 |
1 files changed, 135 insertions, 0 deletions
diff --git a/python-galaxy-ml.spec b/python-galaxy-ml.spec new file mode 100644 index 0000000..9e5437c --- /dev/null +++ b/python-galaxy-ml.spec @@ -0,0 +1,135 @@ +%global _empty_manifest_terminate_build 0 +Name: python-Galaxy-ML +Version: 0.10.0 +Release: 1 +Summary: Galaxy Machine Learning Library +License: MIT License +URL: https://github.com/goeckslab/Galaxy-ML/ +Source0: https://mirrors.nju.edu.cn/pypi/web/packages/32/f5/28fb10cf56cf8d84a9cc6cee355341b0dbe48ca924ccf6bc68714a89319a/Galaxy-ML-0.10.0.tar.gz +BuildArch: noarch + + +%description + + +This library contains APIs for +[Galaxy](https://github.com/galaxyproject/galaxy) +machine learning tools(Galaxy-ML). + +Galaxy-ML is a web machine learning end-to-end pipeline building +framework, with special support to biomedical data. Under the +management of unified scikit-learn APIs, cutting-edge machine +learning libraries (scikit-learn, tensorflow, mlxtend, imbalanced-learn, +and more) are combined together to provide thousands +of different pipelines suitable for various needs. In the form +of Galalxy tools, Galaxy-ML provides scalabe, reproducible and +transparent machine learning computations. + +This library and tools are hosted at +https://github.com/geockslab/Galaxy-ML. + +The documentation can be found at +https://goeckslab.github.io/Galaxy-ML/ + + + +%package -n python3-Galaxy-ML +Summary: Galaxy Machine Learning Library +Provides: python-Galaxy-ML +BuildRequires: python3-devel +BuildRequires: python3-setuptools +BuildRequires: python3-pip +%description -n python3-Galaxy-ML + + +This library contains APIs for +[Galaxy](https://github.com/galaxyproject/galaxy) +machine learning tools(Galaxy-ML). + +Galaxy-ML is a web machine learning end-to-end pipeline building +framework, with special support to biomedical data. Under the +management of unified scikit-learn APIs, cutting-edge machine +learning libraries (scikit-learn, tensorflow, mlxtend, imbalanced-learn, +and more) are combined together to provide thousands +of different pipelines suitable for various needs. In the form +of Galalxy tools, Galaxy-ML provides scalabe, reproducible and +transparent machine learning computations. + +This library and tools are hosted at +https://github.com/geockslab/Galaxy-ML. + +The documentation can be found at +https://goeckslab.github.io/Galaxy-ML/ + + + +%package help +Summary: Development documents and examples for Galaxy-ML +Provides: python3-Galaxy-ML-doc +%description help + + +This library contains APIs for +[Galaxy](https://github.com/galaxyproject/galaxy) +machine learning tools(Galaxy-ML). + +Galaxy-ML is a web machine learning end-to-end pipeline building +framework, with special support to biomedical data. Under the +management of unified scikit-learn APIs, cutting-edge machine +learning libraries (scikit-learn, tensorflow, mlxtend, imbalanced-learn, +and more) are combined together to provide thousands +of different pipelines suitable for various needs. In the form +of Galalxy tools, Galaxy-ML provides scalabe, reproducible and +transparent machine learning computations. + +This library and tools are hosted at +https://github.com/geockslab/Galaxy-ML. + +The documentation can be found at +https://goeckslab.github.io/Galaxy-ML/ + + + +%prep +%autosetup -n Galaxy-ML-0.10.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-Galaxy-ML -f filelist.lst +%dir %{python3_sitelib}/* + +%files help -f doclist.lst +%{_docdir}/* + +%changelog +* Wed May 31 2023 Python_Bot <Python_Bot@openeuler.org> - 0.10.0-1 +- Package Spec generated |