Пакет python-module-repoze.debug: 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 | %define oname repoze.debug Name: python-module-%oname Version: 0.8 Release: alt1.git20130130 Summary: WSGI middleware: debugging utilities License: BSD Group: Development/Python Url: https://github.com/repoze/repoze.debug Packager: Eugeny A. Rostovtsev (REAL) <real at altlinux.org> # https://github.com/repoze/repoze.debug.git Source: %name-%version.tar BuildPreReq: python-devel python-module-distribute BuildPreReq: python-module-sphinx-devel %py_requires repoze threadframe paste webob %description Middleware which can help with in-production forensic debugging. %package tests Summary: Tests for repoze.debug Group: Development/Python Requires: %name = %version-%release %description tests Middleware which can help with in-production forensic debugging. This package contains tests for repoze.debug. %package pickles Summary: Pickles for repoze.debug Group: Development/Python %description pickles Middleware which can help with in-production forensic debugging. This package contains pickles for repoze.debug. %package docs Summary: Documentation for repoze.debug Group: Development/Documentation BuildArch: noarch %description docs Middleware which can help with in-production forensic debugging. This package contains documentation for repoze.debug. %prep %setup %prepare_sphinx . ln -s ../objects.inv docs/ %build %python_build %install %python_install %ifarch x86_64 install -d %buildroot%python_sitelibdir mv %buildroot%python_sitelibdir_noarch/* \ %buildroot%python_sitelibdir/ %endif export PYTHONPATH=%buildroot%python_sitelibdir pushd docs %make pickle %make html popd install -d %buildroot%python_sitelibdir/%oname cp -fR docs/_build/pickle %buildroot%python_sitelibdir/%oname/ %files %doc *.txt %_bindir/* %python_sitelibdir/* %exclude %python_sitelibdir/*.pth %exclude %python_sitelibdir/%oname/pickle %exclude %python_sitelibdir/*/*/tests %files tests %exclude %python_sitelibdir/*/*/tests %files pickles %python_sitelibdir/%oname/pickle %files docs %doc docs/_build/html/* %changelog * Thu Apr 04 2013 Eugeny A. Rostovtsev (REAL) <real at altlinux.org> 0.8-alt1.git20130130 - Version 0.8 * Mon Oct 24 2011 Vitaly Kuznetsov <vitty@altlinux.ru> 0.7.2-alt1.git20110418.1.1 - Rebuild with Python-2.7 * Thu Jun 30 2011 Eugeny A. Rostovtsev (REAL) <real at altlinux.org> 0.7.2-alt1.git20110418.1 - Added necessary requirements - Excluded *.pth * Wed Jun 08 2011 Eugeny A. Rostovtsev (REAL) <real at altlinux.org> 0.7.2-alt1.git20110418 - Initial build for Sisyphus |