Пакет python-module-z3c.jsonrpcproxy: Specfile

%define oname z3c.jsonrpcproxy
Name: python-module-%oname
Version: 0.6.0
Release: alt2.1
Summary: JSON RPC (javascript) proxy implementation for Zope3
License: ZPLv2.1
Group: Development/Python
Url: http://pypi.python.org/pypi/z3c.jsonrpcproxy/
Packager: Eugeny A. Rostovtsev (REAL) <real at altlinux.org>

Source: %name-%version.tar

BuildPreReq: python-devel python-module-distribute

%py_requires zope.publisher zope.viewlet z3c.xmlhttp

%description
This package provides an JSON-RPC (javascript) proxy used for Zope3. But
the javascript itself does not depend on any zope library and can be
used with any other JSON-RPC server. Note the xmlhttp request javascript
library form z3c.xmlhttp is required for this implementation.

%prep
%setup

%build
%python_build

%install
%python_install

%ifarch x86_64
install -d %buildroot%python_sitelibdir
mv %buildroot%python_sitelibdir_noarch/* \
	%buildroot%python_sitelibdir/
%endif

%files
%doc *.txt
%python_sitelibdir/*
%exclude %python_sitelibdir/*.pth

%changelog
* Thu Oct 20 2011 Vitaly Kuznetsov <vitty@altlinux.ru> 0.6.0-alt2.1
- Rebuild with Python-2.7

* Fri Jun 24 2011 Eugeny A. Rostovtsev (REAL) <real at altlinux.org> 0.6.0-alt2
- Added necessary requirements
- Excluded *.pth

* Sat May 28 2011 Eugeny A. Rostovtsev (REAL) <real at altlinux.org> 0.6.0-alt1
- Initial build for Sisyphus