summaryrefslogtreecommitdiff
path: root/python-aioschedule.spec
diff options
context:
space:
mode:
authorCoprDistGit <infra@openeuler.org>2023-05-05 12:11:08 +0000
committerCoprDistGit <infra@openeuler.org>2023-05-05 12:11:08 +0000
commit0e0f10f5e7d18b8ef92d2f0e9f4f75a5bfef1f34 (patch)
treee9950fb162ce434cb4f939c47c481434a9640fa6 /python-aioschedule.spec
parentbef60bb59273110914e00ba910c616ae88e8e9b4 (diff)
automatic import of python-aioscheduleopeneuler20.03
Diffstat (limited to 'python-aioschedule.spec')
-rw-r--r--python-aioschedule.spec87
1 files changed, 87 insertions, 0 deletions
diff --git a/python-aioschedule.spec b/python-aioschedule.spec
new file mode 100644
index 0000000..ba34ed2
--- /dev/null
+++ b/python-aioschedule.spec
@@ -0,0 +1,87 @@
+%global _empty_manifest_terminate_build 0
+Name: python-aioschedule
+Version: 0.5.2
+Release: 1
+Summary: Job scheduling for humans.
+License: MIT
+URL: https://github.com/ibrb/python-aioschedule
+Source0: https://mirrors.nju.edu.cn/pypi/web/packages/39/8a/f73565aca3a01420a2e0906b7cd56c21060aeb420deba79b33b7e1f1c39e/aioschedule-0.5.2.tar.gz
+BuildArch: noarch
+
+
+%description
+Python job scheduling for humans. Forked and modified from github.com/dbader/schedule.
+An in-process scheduler for periodic jobs that uses the builder pattern
+for configuration. Schedule lets you run Python functions (or any other
+callable) periodically at pre-determined intervals using a simple,
+human-friendly syntax.
+Inspired by `Adam Wiggins' <https://github.com/adamwiggins>`_ article `"Rethinking Cron" <https://adam.herokuapp.com/past/2010/4/13/rethinking_cron/>`_ and the `clockwork <https://github.com/Rykian/clockwork>`_ Ruby module.
+
+%package -n python3-aioschedule
+Summary: Job scheduling for humans.
+Provides: python-aioschedule
+BuildRequires: python3-devel
+BuildRequires: python3-setuptools
+BuildRequires: python3-pip
+%description -n python3-aioschedule
+Python job scheduling for humans. Forked and modified from github.com/dbader/schedule.
+An in-process scheduler for periodic jobs that uses the builder pattern
+for configuration. Schedule lets you run Python functions (or any other
+callable) periodically at pre-determined intervals using a simple,
+human-friendly syntax.
+Inspired by `Adam Wiggins' <https://github.com/adamwiggins>`_ article `"Rethinking Cron" <https://adam.herokuapp.com/past/2010/4/13/rethinking_cron/>`_ and the `clockwork <https://github.com/Rykian/clockwork>`_ Ruby module.
+
+%package help
+Summary: Development documents and examples for aioschedule
+Provides: python3-aioschedule-doc
+%description help
+Python job scheduling for humans. Forked and modified from github.com/dbader/schedule.
+An in-process scheduler for periodic jobs that uses the builder pattern
+for configuration. Schedule lets you run Python functions (or any other
+callable) periodically at pre-determined intervals using a simple,
+human-friendly syntax.
+Inspired by `Adam Wiggins' <https://github.com/adamwiggins>`_ article `"Rethinking Cron" <https://adam.herokuapp.com/past/2010/4/13/rethinking_cron/>`_ and the `clockwork <https://github.com/Rykian/clockwork>`_ Ruby module.
+
+%prep
+%autosetup -n aioschedule-0.5.2
+
+%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-aioschedule -f filelist.lst
+%dir %{python3_sitelib}/*
+
+%files help -f doclist.lst
+%{_docdir}/*
+
+%changelog
+* Fri May 05 2023 Python_Bot <Python_Bot@openeuler.org> - 0.5.2-1
+- Package Spec generated