Package python-module-jinja2: Specfile
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 | Name: python-module-jinja2 Version: 2.5.5 Release: alt1 Summary: The new and improved version of a small but fast template engine License: BSD Group: Development/Python Url: http://jinja.pocoo.org/2/ Packager: Eugeny A. Rostovtsev (REAL) <real at altlinux.org> Source0: %name-%version.tar Patch: %name-%version-%release.patch BuildArch: noarch BuildPreReq: python-devel python-module-setuptools # for docs BuildPreReq: python-module-sphinx python-module-Pygments BuildPreReq: python-module-jinja2-tests Requires: %name-tests = %version-%release %description Jinja2 is a template engine written in pure Python. It provides a Django inspired non-XML syntax but supports inline expressions and an optional sandboxed environment. %package tests Summary: Tests for Jinja2 Group: Development/Python Requires: %name = %version-%release %description tests Jinja2 is a template engine written in pure Python. It provides a Django inspired non-XML syntax but supports inline expressions and an optional sandboxed environment. This package contains tests for Jinja2. %package doc Summary: Documentation for Jinja2 Group: Development/Documentation %description doc Jinja2 is a template engine written in pure Python. It provides a Django inspired non-XML syntax but supports inline expressions and an optional sandboxed environment. This package contains HTML documentation for Jinja2. %package pickles Summary: Pickles for Jinja2 Group: Development/Python %description pickles Jinja2 is a template engine written in pure Python. It provides a Django inspired non-XML syntax but supports inline expressions and an optional sandboxed environment. This package contains pickles for Jinja2. %prep %setup %patch -p1 %build %python_build %make_build -C docs html %make_build -C docs pickle %install %python_install # IronPython support rm -f %buildroot%python_sitelibdir/jinja2/_ipysupport.py cp -fR docs/_build/pickle %buildroot%python_sitelibdir/jinja2/ #%%check #make test %files %python_sitelibdir/jinja2/ %python_sitelibdir/*.egg-info %exclude %python_sitelibdir/jinja2/tests.py* %exclude %python_sitelibdir/jinja2/testsuite %exclude %python_sitelibdir/jinja2/pickle %doc AUTHORS CHANGES %doc ext/ %files tests %python_sitelibdir/jinja2/tests.py* %python_sitelibdir/jinja2/testsuite %files doc %doc docs/_build/html/* %files pickles %dir %python_sitelibdir/jinja2 %python_sitelibdir/jinja2/pickle %changelog * Tue Nov 23 2010 Eugeny A. Rostovtsev (REAL) <real at altlinux.org> 2.5.5-alt1 - Version 2.5.5 * Mon Aug 02 2010 Eugeny A. Rostovtsev (REAL) <real at altlinux.org> 2.5-alt2 - Added requirement on tests package * Mon Aug 02 2010 Eugeny A. Rostovtsev (REAL) <real at altlinux.org> 2.5-alt1 - Version 2.5 - Extracted tests into separate package - Added pickles * Thu Nov 12 2009 Eugeny A. Rostovtsev (REAL) <real at altlinux.org> 2.2.1-alt1.2 - Enable building of documentation * Thu Nov 12 2009 Eugeny A. Rostovtsev (REAL) <real at altlinux.org> 2.2.1-alt1.1 - Rebuilt with python 2.6 (bootstrap) * Thu Sep 17 2009 Andrey Rahmatullin <wrar@altlinux.ru> 2.2.1-alt1 - 2.2.1 - enable building of documentation - build as noarch * Mon May 04 2009 Andrey Rahmatullin <wrar@altlinux.ru> 2.1.1-alt1 - initial build |