]> git.pld-linux.org Git - packages/python-pytz.git/blame - python-pytz.spec
- converted to UTF-8
[packages/python-pytz.git] / python-pytz.spec
CommitLineData
1d169444 1
1d169444
MG
2%define module pytz
3
4Summary: pytz - Olson timezone database in Python
a49ed86c 5Summary(pl.UTF-8): pytz - baza stref czasowych Olsona w Pythonie
1d169444 6Name: python-%{module}
ce06966e 7Version: 2006p
1d169444
MG
8Release: 1
9License: BSD
10Group: Libraries/Python
11Source0: http://dl.sourceforge.net/pytz/%{module}-%{version}.tar.bz2
ce06966e 12# Source0-md5: ae3569bc2831d30d2ee1fabac54c43dd
1d169444 13URL: http://sourceforge.net/projects/pytz/
a17a0084 14BuildRequires: python-devel >= 1:2.3
1d169444
MG
15Requires: python >= 2.3
16BuildArch: noarch
17BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
18
19%description
20pytz brings the Olson tz database into Python. This library allows
21accurate and cross platform timezone calculations using Python 2.3 or
22higher.
23
a49ed86c
JR
24%description -l pl.UTF-8
25pytz dodaje do Pythona moduł umożliwiający odpytywanie bazy stref
26czasowych Olsona. Moduł ten umożliwia przeprowadzanie dokładnych,
27niezależnych od platformy obliczeń uwzględniających strefy czasowy
28przy użyciu Pythona w wersji co najmniej 2.3.
1d169444
MG
29
30%prep
31%setup -q -n %{module}-%{version}
32
33%build
34python setup.py build_ext
35
36%install
37rm -rf $RPM_BUILD_ROOT
38install -d $RPM_BUILD_ROOT%{py_sitescriptdir}
39
40python setup.py install \
41 --root=$RPM_BUILD_ROOT \
42 --install-lib=%{py_sitescriptdir} \
43 --optimize=2
44
45find $RPM_BUILD_ROOT%{py_sitescriptdir} -name \*.py -exec rm {} \;
46
47%clean
48rm -rf $RPM_BUILD_ROOT
49
50%files
51%defattr(644,root,root,755)
52%doc README.txt
53%{py_sitescriptdir}/pytz
This page took 0.12891 seconds and 4 git commands to generate.