%define module isodate
Summary: An ISO 8601 date/time/duration parser and formater
+Summary(pl.UTF-8): Moduł analizujący i formatujący daty/czas/okresy w formacie ISO 8601
Name: python-%{module}
Version: 0.4.7
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: 4ab330655445387b449de381f6ca864c
+URL: http://pypi.python.org/pypi/isodate/
BuildRequires: python-modules
BuildRequires: python-setuptools
BuildRequires: rpm-pythonprov
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.
+%description -l pl.UTF-8
+Ten moduł zawiera implementację analizy daty, czasu i okresów w
+formacie ISO 8601. Implementacja jest zgodna ze standardem
+ISO8601:2004 i zawiera tylko reprezentacje daty/czasu opisane w
+standardzie.
+
%prep
%setup -q -n isodate-%{version}
%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
+%{py_sitescriptdir}/isodate/*.py[co]
+%{py_sitescriptdir}/isodate-%{version}-py*.egg-info