SPECS: python-dateutil.spec (NEW) - Initial spec for 1.1-1. Needs ...
matkor
matkor at pld-linux.org
Tue Mar 7 14:57:08 CET 2006
Author: matkor Date: Tue Mar 7 13:57:08 2006 GMT
Module: SPECS Tag: HEAD
---- Log message:
- Initial spec for 1.1-1. Needs only some pl. STBR(Ac).
---- Files affected:
SPECS:
python-dateutil.spec (NONE -> 1.1) (NEW)
---- Diffs:
================================================================
Index: SPECS/python-dateutil.spec
diff -u /dev/null SPECS/python-dateutil.spec:1.1
--- /dev/null Tue Mar 7 14:57:08 2006
+++ SPECS/python-dateutil.spec Tue Mar 7 14:57:03 2006
@@ -0,0 +1,64 @@
+# $Revision$, $Date$
+%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]
+
+%define date %(echo `LC_ALL="C" date +"%a %b %d %Y"`)
+%changelog
+* %{date} PLD Team <feedback at pld-linux.org>
+All persons listed below can be reached at <cvs_login>@pld-linux.org
+
+$Log$
+Revision 1.1 2006/03/07 13:57:03 matkor
+- Initial spec for 1.1-1. Needs only some pl. STBR(Ac).
+
================================================================
More information about the pld-cvs-commit
mailing list