automatic update by autodist [release 0.5.0-1mamba;Thu Feb 27 2014]
This commit is contained in:
parent
55cf9a7a78
commit
128d8f9f74
@ -1,2 +1,4 @@
|
||||
# python-isodate
|
||||
|
||||
An ISO 8601 date/time/duration parser and formatter.
|
||||
|
||||
|
61
python-isodate.spec
Normal file
61
python-isodate.spec
Normal file
@ -0,0 +1,61 @@
|
||||
Name: python-isodate
|
||||
Version: 0.5.0
|
||||
Release: 1mamba
|
||||
Summary: An ISO 8601 date/time/duration parser and formatter
|
||||
Group: System/Libraries/Python
|
||||
Vendor: openmamba
|
||||
Distribution: openmamba
|
||||
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
||||
URL: http://pypi.python.org/pypi/isodate/
|
||||
Source: http://pypi.python.org/packages/source/i/isodate/isodate-%{version}.tar.gz
|
||||
License: BSD
|
||||
## AUTOBUILDREQ-BEGIN
|
||||
BuildRequires: libpython-devel
|
||||
BuildRequires: python
|
||||
## AUTOBUILDREQ-END
|
||||
BuildRequires: libpython-devel
|
||||
Requires: python >= %python_version
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
||||
|
||||
%description
|
||||
%{summary}.
|
||||
|
||||
%prep
|
||||
%setup -q -n isodate-%{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} \
|
||||
--single-version-externally-managed \
|
||||
--record=%{name}.filelist
|
||||
|
||||
sed -i "\,\.egg-info/,d;s,.*/man/.*,&.gz," %{name}.filelist
|
||||
|
||||
%files -f %{name}.filelist
|
||||
%defattr(-,root,root)
|
||||
## note: this list is just an example; modify as required
|
||||
# %{python_sitearch}/%{name}.py*
|
||||
# %{python_sitearch}/%{name}.so
|
||||
|
||||
## note: eventually add the remaining documents (if any)
|
||||
# %doc README.txt
|
||||
|
||||
%changelog
|
||||
* Thu Feb 27 2014 Automatic Build System <autodist@mambasoft.it> 0.5.0-1mamba
|
||||
- automatic update by autodist
|
||||
|
||||
* Fri May 17 2013 Silvan Calarco <silvan.calarco@mambasoft.it> 0.4.9-2mamba
|
||||
- python 2.7 mass rebuild
|
||||
|
||||
* Tue Oct 30 2012 Automatic Build System <autodist@mambasoft.it> 0.4.9-1mamba
|
||||
- automatic version update by autodist
|
||||
|
||||
* Tue Sep 04 2012 Silvan Calarco <silvan.calarco@mambasoft.it> 0.4.8-1mamba
|
||||
- package created by autospec
|
Loading…
Reference in New Issue
Block a user