2 %define module simplejson
3 Summary: Simple, fast, extensible JSON encoder/decoder for Python
4 Summary(pl): Prosty, szybki, rozszerzalny (de)koder JSON dla Pythona
10 Source0: http://cheeseshop.python.org/packages/source/s/simplejson/%{module}-%{version}.tar.gz
11 # Source0-md5: 5fbad786a4b151d44a9b1e1e157e5510
12 URL: http://undefined.org/python/#simplejson
13 BuildRequires: python >= 1:2.5
14 BuildRequires: python-setuptools >= 0.6-0.c1
15 BuildRequires: rpm-pythonprov
16 %pyrequires_eq python-libs
18 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
21 simplejson is a simple, fast, complete, correct and extensible JSON
22 <http://json.org/> encoder and decoder for Python 2.3+. It is pure
23 Python code with no dependencies.
26 simplejson to prosty, szybki, pe³ny, poprawny i rozszerzalny koder i
27 dekoder JSON (<http://json.org/>) dla Pythona 2.3 i nowszych wersji.
28 Jest to kod wy³±cznie w Pythonie bez dodatkowych zale¿no¶ci.
31 %setup -qn %{module}-%{version}
37 rm -rf $RPM_BUILD_ROOT
39 python setup.py install \
40 --root=$RPM_BUILD_ROOT \
44 rm -rf $RPM_BUILD_ROOT%{py_sitescriptdir}/simplejson/tests
47 rm -rf $RPM_BUILD_ROOT
50 %defattr(644,root,root,755)
51 %dir %{py_sitescriptdir}/simplejson
52 %{py_sitescriptdir}/simplejson/*.py[co]
53 %{py_sitescriptdir}/simplejson-%{version}-py*.egg-info