]> git.pld-linux.org Git - packages/python-isodate.git/commitdiff
- initial auto/th/python-isodate-0_4_4-1
authorArkadiusz Miśkiewicz <arekm@maven.pl>
Mon, 18 Jul 2011 12:50:41 +0000 (12:50 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    python-isodate.spec -> 1.1

python-isodate.spec [new file with mode: 0644]

diff --git a/python-isodate.spec b/python-isodate.spec
new file mode 100644 (file)
index 0000000..2717d90
--- /dev/null
@@ -0,0 +1,49 @@
+%define        module  isodate
+Summary:       An ISO 8601 date/time/duration parser and formater
+Name:          python-%{module}
+Version:       0.4.4
+Release:       1
+License:       GPL v3
+Group:         Development/Languages
+URL:           http://pypi.python.org/pypi/isodate/
+Source0:       http://pypi.python.org/packages/source/i/isodate/isodate-%{version}.tar.gz
+# Source0-md5: c331586a738ca77fb94190b35e2a5a11
+BuildRequires: python-modules
+BuildRequires: python-setuptools
+BuildRequires: rpm-pythonprov
+BuildRequires: rpmbuild(macros) >= 1.219
+BuildArch:     noarch
+BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+ISO 8601 date/time parser
+
+This module implements ISO 8601 date, time and duration parsing. The
+implementation follows ISO8601:2004 standard, and implements only
+date/time representations mentioned in the standard. If something is
+not mentioned there, then it is treated as non existent, and not as an
+allowed option.
+
+%prep
+%setup -q -n isodate-%{version}
+
+%build
+%{__python} setup.py build
+
+%install
+rm -rf $RPM_BUILD_ROOT
+%{__python} setup.py install \
+       --optimize=2 \
+       --root=$RPM_BUILD_ROOT
+
+%py_postclean
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%doc CHANGES.txt README.txt TODO.txt
+%dir %{py_sitescriptdir}/isodate
+%{py_sitescriptdir}/isodate/*.py*
+%{py_sitescriptdir}/isodate-%{version}*.egg-info
This page took 0.102708 seconds and 4 git commands to generate.