Package python-module-grokcore.view: Specfile
%define oname grokcore.view Name: python-module-%oname Version: 2.5 Release: alt1 Summary: Grok-like configuration for Zope browser pages License: ZPL Group: Development/Python Url: http://pypi.python.org/pypi/grokcore.view/ Packager: Eugeny A. Rostovtsev (REAL) <real at altlinux.org> Source: %name-%version.tar BuildPreReq: python-devel python-module-distribute %description This package provides support for writing browser pages for Zope and registering them directly in Python (without ZCML). %package tests Summary: Tests for grokcore.view Group: Development/Python Requires: %name = %version-%release %description tests This package provides support for writing browser pages for Zope and registering them directly in Python (without ZCML). This package contains tests for grokcore.view. %package -n python-module-grokcore Summary: Core files for grokcore Group: Development/Python %description -n python-module-grokcore This package provides support for writing browser pages for Zope and registering them directly in Python (without ZCML). This package contains corefiles for grokcore. %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 touch %buildroot%python_sitelibdir/grokcore/__init__.py %files %doc *.txt %python_sitelibdir/* %exclude %python_sitelibdir/grokcore/__init__.py* %exclude %python_sitelibdir/*/*/*test* %files -n python-module-grokcore %python_sitelibdir/grokcore/__init__.py* %files tests %python_sitelibdir/*/*/*test* %changelog * Tue May 24 2011 Eugeny A. Rostovtsev (REAL) <real at altlinux.org> 2.5-alt1 - Initial build for Sisyphus |