summaryrefslogtreecommitdiff
path: root/python-girder-worker.spec
diff options
context:
space:
mode:
Diffstat (limited to 'python-girder-worker.spec')
-rw-r--r--python-girder-worker.spec99
1 files changed, 99 insertions, 0 deletions
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 <http://girder.readthedocs.org>`_ 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 <http://girder-worker.readthedocs.org>`_ for more details and API documentation.
+For questions, comments, or to get in touch with the maintainers, head to our `Gitter Forum
+<https://gitter.im/girder/girder_worker>`_.
+We'd love for you to `contribute to Girder Worker <CONTRIBUTING.md>`_.
+
+%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 <http://girder.readthedocs.org>`_ 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 <http://girder-worker.readthedocs.org>`_ for more details and API documentation.
+For questions, comments, or to get in touch with the maintainers, head to our `Gitter Forum
+<https://gitter.im/girder/girder_worker>`_.
+We'd love for you to `contribute to Girder Worker <CONTRIBUTING.md>`_.
+
+%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 <http://girder.readthedocs.org>`_ 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 <http://girder-worker.readthedocs.org>`_ for more details and API documentation.
+For questions, comments, or to get in touch with the maintainers, head to our `Gitter Forum
+<https://gitter.im/girder/girder_worker>`_.
+We'd love for you to `contribute to Girder Worker <CONTRIBUTING.md>`_.
+
+%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 <Python_Bot@openeuler.org> - 0.9.0-1
+- Package Spec generated