From 30f8699037bc1753f879af3b55073ae88afaa848 Mon Sep 17 00:00:00 2001 From: Silvan Calarco Date: Sat, 6 Jan 2024 10:39:33 +0100 Subject: [PATCH] package created using the webbuild interface [release 2.1.2-1mamba;Tue Apr 01 2014] --- README.md | 2 ++ python-APScheduler.spec | 45 +++++++++++++++++++++++++++++++++++++++++ 2 files changed, 47 insertions(+) create mode 100644 python-APScheduler.spec diff --git a/README.md b/README.md index ab8f22d..64a82c6 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,4 @@ # python-APScheduler +Advanced Python Scheduler (APScheduler) is a light but powerful in-process task scheduler that lets you schedule jobs (functions or any python callables) to be executed at times of your choosing. + diff --git a/python-APScheduler.spec b/python-APScheduler.spec new file mode 100644 index 0000000..7ac4890 --- /dev/null +++ b/python-APScheduler.spec @@ -0,0 +1,45 @@ +Name: python-APScheduler +Version: 2.1.2 +Release: 1mamba +Summary: A light but powerful in-process task scheduler that lets you schedule jobs +Group: System/Libraries +Vendor: openmamba +Distribution: openmamba +Packager: Silvan Calarco +URL: https://pypi.python.org/pypi/APScheduler +Source: https://pypi.python.org/packages/source/A/APScheduler/APScheduler-%{version}.tar.gz +License: MIT +## AUTOBUILDREQ-BEGIN +BuildRequires: libpython-devel +## AUTOBUILDREQ-END +Provides: python-apscheduler +Obsoletes: python-apscheduler +Requires: python >= %python_version +BuildRoot: %{_tmppath}/%{name}-%{version}-root + +%description +Advanced Python Scheduler (APScheduler) is a light but powerful in-process task scheduler that lets you schedule jobs (functions or any python callables) to be executed at times of your choosing. + +%prep +%setup -q -n APScheduler-%{version} + +%build +CFLAGS="%{optflags}" %{__python} setup.py build + +%install +[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" +%{__python} setup.py install \ + -O1 --skip-build \ + --root="%{buildroot}" \ + --install-headers=%{_includedir}/python \ + --install-lib=%{python_sitearch} \ + --record=%{name}.filelist + +sed -i "\,\.egg-info/,d;s,.*/man/.*,&.gz," %{name}.filelist + +%files -f %{name}.filelist +%defattr(-,root,root) + +%changelog +* Tue Apr 01 2014 Silvan Calarco 2.1.2-1mamba +- package created using the webbuild interface