From 128d8f9f741869e3311c5c458453885bc9d60ef6 Mon Sep 17 00:00:00 2001 From: Automatic Build System Date: Sat, 6 Jan 2024 11:18:32 +0100 Subject: [PATCH] automatic update by autodist [release 0.5.0-1mamba;Thu Feb 27 2014] --- README.md | 2 ++ python-isodate.spec | 61 +++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 63 insertions(+) create mode 100644 python-isodate.spec diff --git a/README.md b/README.md index a97dedd..7db689d 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,4 @@ # python-isodate +An ISO 8601 date/time/duration parser and formatter. + diff --git a/python-isodate.spec b/python-isodate.spec new file mode 100644 index 0000000..e2d93ac --- /dev/null +++ b/python-isodate.spec @@ -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 +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 0.5.0-1mamba +- automatic update by autodist + +* Fri May 17 2013 Silvan Calarco 0.4.9-2mamba +- python 2.7 mass rebuild + +* Tue Oct 30 2012 Automatic Build System 0.4.9-1mamba +- automatic version update by autodist + +* Tue Sep 04 2012 Silvan Calarco 0.4.8-1mamba +- package created by autospec