52 lines
1.7 KiB
RPMSpec
52 lines
1.7 KiB
RPMSpec
Name: python-APScheduler
|
|
Version: 3.0.1
|
|
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 <silvan.calarco@mambasoft.it>
|
|
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
|
|
* Sat Nov 15 2014 Automatic Build System <autodist@mambasoft.it> 3.0.1-1mamba
|
|
- automatic update by autodist
|
|
|
|
* Wed Jun 25 2014 Automatic Build System <autodist@mambasoft.it> 3.0.0b1-1mamba
|
|
- automatic update by autodist
|
|
|
|
* Tue Apr 01 2014 Silvan Calarco <silvan.calarco@mambasoft.it> 2.1.2-1mamba
|
|
- package created using the webbuild interface
|