summaryrefslogtreecommitdiff
path: root/python-celery-once.spec
diff options
context:
space:
mode:
authorCoprDistGit <infra@openeuler.org>2023-04-10 23:13:44 +0000
committerCoprDistGit <infra@openeuler.org>2023-04-10 23:13:44 +0000
commit80994ec594d8e2edf7be6489c376cb87764bef1f (patch)
tree272b82a0f64bb5197ed06ff7f6cade0e4af4a983 /python-celery-once.spec
parent4554c4786fd3987c91b22ff61c32fdb0a24a63e0 (diff)
automatic import of python-celery-once
Diffstat (limited to 'python-celery-once.spec')
-rw-r--r--python-celery-once.spec75
1 files changed, 75 insertions, 0 deletions
diff --git a/python-celery-once.spec b/python-celery-once.spec
new file mode 100644
index 0000000..ed92bb2
--- /dev/null
+++ b/python-celery-once.spec
@@ -0,0 +1,75 @@
+%global _empty_manifest_terminate_build 0
+Name: python-celery_once
+Version: 3.0.1
+Release: 1
+Summary: Allows you to prevent multiple execution and queuing of celery tasks.
+License: BSD
+URL: https://github.com/cameronmaske/celery-once
+Source0: https://mirrors.nju.edu.cn/pypi/web/packages/07/ff/af718344bfa9e0e25fb6855095a928ac6525f23b14a3998dd99699dfdee0/celery_once-3.0.1.tar.gz
+BuildArch: noarch
+
+
+%description
+|Build Status| |Coverage Status|
+Celery Once allows you to prevent multiple execution and queuing of `celery <http://www.celeryproject.org/>`_ tasks.
+
+%package -n python3-celery_once
+Summary: Allows you to prevent multiple execution and queuing of celery tasks.
+Provides: python-celery_once
+BuildRequires: python3-devel
+BuildRequires: python3-setuptools
+BuildRequires: python3-pip
+%description -n python3-celery_once
+|Build Status| |Coverage Status|
+Celery Once allows you to prevent multiple execution and queuing of `celery <http://www.celeryproject.org/>`_ tasks.
+
+%package help
+Summary: Development documents and examples for celery_once
+Provides: python3-celery_once-doc
+%description help
+|Build Status| |Coverage Status|
+Celery Once allows you to prevent multiple execution and queuing of `celery <http://www.celeryproject.org/>`_ tasks.
+
+%prep
+%autosetup -n celery_once-3.0.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-celery_once -f filelist.lst
+%dir %{python3_sitelib}/*
+
+%files help -f doclist.lst
+%{_docdir}/*
+
+%changelog
+* Mon Apr 10 2023 Python_Bot <Python_Bot@openeuler.org> - 3.0.1-1
+- Package Spec generated