]> git.pld-linux.org Git - packages/python-dateutil.git/commitdiff
- Initial spec for 1.1-1. Needs only some pl. STBR(Ac).
authorMateusz Korniak <matkor@pld-linux.org>
Tue, 7 Mar 2006 13:57:03 +0000 (13:57 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    python-dateutil.spec -> 1.1

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

diff --git a/python-dateutil.spec b/python-dateutil.spec
new file mode 100644 (file)
index 0000000..ad482b9
--- /dev/null
@@ -0,0 +1,53 @@
+%define         module dateutil
+Summary:       Extensions to the standard datetime module
+Summary(pl):   Rozszerzenia modulu datetime jezyka Python
+Name:          python-dateutil
+Version:       1.1
+Release:       1
+License:       PSF
+Group:         Libraries/Python
+Source0:       http://labix.org/download/python-dateutil/python-%{module}-%{version}.tar.bz2
+# Source0-md5: f259496f4059dda806837503ee4235f3
+URL:           http://labix.org/python-dateutil
+BuildRequires: rpm-pythonprov
+BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+The dateutil module provides powerful extensions to the standard datetime module, available in Python 2.3+.
+Allows
+- computing of relative deltas (next month, next year, next monday, last week of month, etc),
+- computing of dates based on very flexible recurrence rules, using a superset of the [WWW] iCalendar specification,
+- parsing of RFC strings,
+- peneric parsing of dates in almost any string format.
+
+%description -l pl
+Modul dateutil jest poteznym rozszerzeniem standardowego modulu datetime, dostepnego w Pythonie 2.3+.
+Pozwala na
+- obliczanie relatywnych roznic (nastepny miesiac, rok, Poniedzialek, ostatni tydzien itp.),
+- obliczanie  dat bazujcych na bardzo elastycznych rekurencyjnych zasadach, uzywajac nadzbioru specyfikacji [WWW] iCalendar.
+- parsowanie lancuchow znakowych RFC,
+- parsowanie dat w prawie kazdym formacie.
+
+%prep
+%setup -q
+
+%build
+python setup.py build
+
+%install
+rm -rf $RPM_BUILD_ROOT
+
+python setup.py install \
+        --root=$RPM_BUILD_ROOT  --optimize=2
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+#%%doc AUTHORS CREDITS ChangeLog NEWS README THANKS TODO
+%dir %{py_sitescriptdir}/%{module}
+%{py_sitescriptdir}/%{module}/*.py[co]
+#NOTE: Not sure but seems zoneinfno is needed under windows only
+#%%dir %{py_sitescriptdir}/%{module}/zoneinfo
+#%%{py_sitescriptdir}/%{module}/zoneinfo/*.py[co]
This page took 0.126679 seconds and 4 git commands to generate.