python-dateutil/python-dateutil.spec

58 lines
1.7 KiB
RPMSpec

Name: python-dateutil
Version: 2.2
Release: 1mamba
Summary: Extensions to the standard python datetime module
Group: System/Libraries/Python
Vendor: openmamba
Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: http://labix.org/python-dateutil
Source: https://pypi.python.org/packages/source/p/python-dateutil/python-dateutil-%{version}.tar.gz
License: PSF
Requires: python >= %python_version
BuildRoot: %{_tmppath}/%{name}-%{version}-root
%description
The dateutil module provides powerful extensions to the standard datetime module, available since Python 2.3+.
%prep
%setup -q
%build
%{__python} setup.py build
%install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%{__python} setup.py install \
--root="%{buildroot}" \
--install-headers=%{_includedir}/python \
--install-lib=%{python_sitearch}
%clean
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%files
%defattr(-,root,root)
%{python_sitearch}/dateutil/*
%{python_sitearch}/python_dateutil-%{version}-py*.egg-info/*
%changelog
* Fri Nov 01 2013 Automatic Build System <autodist@mambasoft.it> 2.2-1mamba
- automatic version update by autodist
* Wed May 22 2013 Automatic Build System <autodist@mambasoft.it> 2.1-1mamba
- automatic version update by autodist
* Fri May 17 2013 Silvan Calarco <silvan.calarco@mambasoft.it> 2.0-2mamba
- python 2.7 mass rebuild
* Wed Jul 11 2012 Automatic Build System <autodist@mambasoft.it> 2.0-1mamba
- automatic version update by autodist
* Mon Oct 26 2009 Silvan Calarco <silvan.calarco@mambasoft.it> 1.4.1-1mamba
- update to 1.4.1
* Thu May 15 2008 Silvan Calarco <silvan.calarco@mambasoft.it> 1.4-1mamba
- package created by autospec