From 909ae3331b403242f815fb98ef072e7f80ddcee4 Mon Sep 17 00:00:00 2001 From: CoprDistGit Date: Mon, 15 May 2023 06:00:53 +0000 Subject: automatic import of python-girder-worker --- python-girder-worker.spec | 99 +++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 99 insertions(+) create mode 100644 python-girder-worker.spec (limited to 'python-girder-worker.spec') diff --git a/python-girder-worker.spec b/python-girder-worker.spec new file mode 100644 index 0000000..7edb553 --- /dev/null +++ b/python-girder-worker.spec @@ -0,0 +1,99 @@ +%global _empty_manifest_terminate_build 0 +Name: python-girder-worker +Version: 0.9.0 +Release: 1 +Summary: Batch execution engine built on celery. +License: Apache 2.0 +URL: https://github.com/girder/girder_worker +Source0: https://mirrors.nju.edu.cn/pypi/web/packages/4b/26/f0dc89c55c13e38e6b6a2026ba1fd238ec2ec953438462f29f94dd492214/girder-worker-0.9.0.tar.gz +BuildArch: noarch + + +%description +A flexible, simple script execution engine that integrates with the +`Girder `_ data management system to run +distributed batch jobs. +The worker supports running tasks in many environments including Python, R, +and Docker, and supports fetching and pushing data to +and from various data sources, including Girder. +Visit the `documentation `_ for more details and API documentation. +For questions, comments, or to get in touch with the maintainers, head to our `Gitter Forum +`_. +We'd love for you to `contribute to Girder Worker `_. + +%package -n python3-girder-worker +Summary: Batch execution engine built on celery. +Provides: python-girder-worker +BuildRequires: python3-devel +BuildRequires: python3-setuptools +BuildRequires: python3-pip +%description -n python3-girder-worker +A flexible, simple script execution engine that integrates with the +`Girder `_ data management system to run +distributed batch jobs. +The worker supports running tasks in many environments including Python, R, +and Docker, and supports fetching and pushing data to +and from various data sources, including Girder. +Visit the `documentation `_ for more details and API documentation. +For questions, comments, or to get in touch with the maintainers, head to our `Gitter Forum +`_. +We'd love for you to `contribute to Girder Worker `_. + +%package help +Summary: Development documents and examples for girder-worker +Provides: python3-girder-worker-doc +%description help +A flexible, simple script execution engine that integrates with the +`Girder `_ data management system to run +distributed batch jobs. +The worker supports running tasks in many environments including Python, R, +and Docker, and supports fetching and pushing data to +and from various data sources, including Girder. +Visit the `documentation `_ for more details and API documentation. +For questions, comments, or to get in touch with the maintainers, head to our `Gitter Forum +`_. +We'd love for you to `contribute to Girder Worker `_. + +%prep +%autosetup -n girder-worker-0.9.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-girder-worker -f filelist.lst +%dir %{python3_sitelib}/* + +%files help -f doclist.lst +%{_docdir}/* + +%changelog +* Mon May 15 2023 Python_Bot - 0.9.0-1 +- Package Spec generated -- cgit v1.2.3