]> git.pld-linux.org Git - packages/python-dateutil.git/blame - python-dateutil.spec
- Initial spec for 1.1-1. Needs only some pl. STBR(Ac).
[packages/python-dateutil.git] / python-dateutil.spec
CommitLineData
925dc3fc
MK
1%define module dateutil
2Summary: Extensions to the standard datetime module
3Summary(pl): Rozszerzenia modulu datetime jezyka Python
4Name: python-dateutil
5Version: 1.1
6Release: 1
7License: PSF
8Group: Libraries/Python
9Source0: http://labix.org/download/python-dateutil/python-%{module}-%{version}.tar.bz2
10# Source0-md5: f259496f4059dda806837503ee4235f3
11URL: http://labix.org/python-dateutil
12BuildRequires: rpm-pythonprov
13BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
14
15%description
16The dateutil module provides powerful extensions to the standard datetime module, available in Python 2.3+.
17Allows
18- computing of relative deltas (next month, next year, next monday, last week of month, etc),
19- computing of dates based on very flexible recurrence rules, using a superset of the [WWW] iCalendar specification,
20- parsing of RFC strings,
21- peneric parsing of dates in almost any string format.
22
23%description -l pl
24Modul dateutil jest poteznym rozszerzeniem standardowego modulu datetime, dostepnego w Pythonie 2.3+.
25Pozwala na
26- obliczanie relatywnych roznic (nastepny miesiac, rok, Poniedzialek, ostatni tydzien itp.),
27- obliczanie dat bazujcych na bardzo elastycznych rekurencyjnych zasadach, uzywajac nadzbioru specyfikacji [WWW] iCalendar.
28- parsowanie lancuchow znakowych RFC,
29- parsowanie dat w prawie kazdym formacie.
30
31%prep
32%setup -q
33
34%build
35python setup.py build
36
37%install
38rm -rf $RPM_BUILD_ROOT
39
40python setup.py install \
41 --root=$RPM_BUILD_ROOT --optimize=2
42
43%clean
44rm -rf $RPM_BUILD_ROOT
45
46%files
47%defattr(644,root,root,755)
48#%%doc AUTHORS CREDITS ChangeLog NEWS README THANKS TODO
49%dir %{py_sitescriptdir}/%{module}
50%{py_sitescriptdir}/%{module}/*.py[co]
51#NOTE: Not sure but seems zoneinfno is needed under windows only
52#%%dir %{py_sitescriptdir}/%{module}/zoneinfo
53#%%{py_sitescriptdir}/%{module}/zoneinfo/*.py[co]
This page took 0.123784 seconds and 4 git commands to generate.