Package python-module-nipy: 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 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 | %define oname nipy Name: python-module-%oname Version: 0.1.2 Release: alt1.git20110404 Summary: The neuroimaging in python (NIPY) project License: MIT Group: Development/Python Url: http://neuroimaging.scipy.org/ Packager: Eugeny A. Rostovtsev (REAL) <real at altlinux.org> # git://github.com/nipy/nipy.git Source: %oname-%version.tar.gz Requires: %oname-data Mayavi BuildPreReq: python-devel python-module-nifti python-module-scipy BuildPreReq: python-module-sympy liblapack-goto-devel BuildPreReq: /proc gcc-fortran %oname-data libnumpy-devel sympy BuildPreReq: python-module-sympy dvipng libniftilib-devel BuildPreReq: python-module-nibabel python-module-Cython BuildPreReq: python-module-sphinx-devel python-module-Pygments BuildPreReq: texlive-latex-extra graphviz ghostscript-utils %setup_python_module %oname %description The neuroimaging in python (NIPY) project is an environment for the analysis of structural and functional neuroimaging data. It currently has a full system for general linear modeling of functional magnetic resonance imaging (fMRI). %package examples Summary: Examples for neuroimaging in python (NIPY) project Group: Development/Documentation Requires: %name = %version-%release %description examples The neuroimaging in python (NIPY) project is an environment for the analysis of structural and functional neuroimaging data. It currently has a full system for general linear modeling of functional magnetic resonance imaging (fMRI). This package contains examples for NIPY. %package tests Summary: Tests for neuroimaging in python (NIPY) project Group: Development/Python Requires: %name = %version-%release %description tests The neuroimaging in python (NIPY) project is an environment for the analysis of structural and functional neuroimaging data. It currently has a full system for general linear modeling of functional magnetic resonance imaging (fMRI). This package contains tests for NIPY. %package docs Summary: Documentation for neuroimaging in python (NIPY) project Group: Development/Documentation BuildArch: noarch %description docs The neuroimaging in python (NIPY) project is an environment for the analysis of structural and functional neuroimaging data. It currently has a full system for general linear modeling of functional magnetic resonance imaging (fMRI). This package contains documentation for NIPY. %package pickles Summary: Pickles for neuroimaging in python (NIPY) project Group: Development/Python %description pickles The neuroimaging in python (NIPY) project is an environment for the analysis of structural and functional neuroimaging data. It currently has a full system for general linear modeling of functional magnetic resonance imaging (fMRI). This package contains pickles for NIPY. %prep %setup sed -i 's|@PYVER@|%_python_version|g' doc/Makefile %prepare_sphinx . %build %python_build_debug %install %python_install export PYTHONPATH=%buildroot%python_sitelibdir mkdir -p ~/.matplotlib cp %python_sitelibdir/matplotlib/mpl-data/matplotlibrc ~/.matplotlib/ sed -i 's|^\(backend\).*|\1 : PDF|' ~/.matplotlib/matplotlibrc %make -C doc pickle #make -C doc html #make -C doc pdf install fff2.py %buildroot%python_sitelibdir cp -fR examples %buildroot%python_sitelibdir/%oname/ #mkdir -p doc/pdf #for i in $(find doc -name '*.pdf'); do # cp -f $i doc/pdf/ #done cp -fR doc/build/pickle %buildroot%python_sitelibdir/%oname/ %files %doc LICENSE README THANKS %_bindir/* %python_sitelibdir/* %exclude %python_sitelibdir/%oname/pickle %exclude %python_sitelibdir/*/examples %exclude %python_sitelibdir/*/testing %exclude %python_sitelibdir/*/*/tests %exclude %python_sitelibdir/*/*/*/tests #exclude %python_sitelibdir/*/*/*/testing %exclude %python_sitelibdir/*/*/*/*/tests %exclude %python_sitelibdir/*/*/*/*/*/tests %exclude %python_sitelibdir/*/*/*/test #files docs #doc doc/build/html #doc doc/pdf %files pickles %dir %python_sitelibdir/%oname %python_sitelibdir/%oname/pickle %files examples %python_sitelibdir/*/examples %files tests %python_sitelibdir/*/*/*/test %python_sitelibdir/*/testing %python_sitelibdir/*/*/tests %python_sitelibdir/*/*/*/tests #python_sitelibdir/*/*/*/testing %python_sitelibdir/*/*/*/*/tests %python_sitelibdir/*/*/*/*/*/tests %changelog * Sat Apr 09 2011 Eugeny A. Rostovtsev (REAL) <real at altlinux.org> 0.1.2-alt1.git20110404 - New snapshot - Build with GotoBLAS2 instead of ATLAS * Tue Apr 05 2011 Eugeny A. Rostovtsev (REAL) <real at altlinux.org> 0.1.2-alt1.git20101104.2 - Rebuilt with python-module-sphinx-devel * Sat Mar 26 2011 Eugeny A. Rostovtsev (REAL) <real at altlinux.org> 0.1.2-alt1.git20101104.1 - Rebuilt for debuginfo * Wed Nov 24 2010 Eugeny A. Rostovtsev (REAL) <real at altlinux.org> 0.1.2-alt1.git20101104 - New snapshot * Mon Oct 18 2010 Eugeny A. Rostovtsev (REAL) <real at altlinux.org> 0.1.2-alt1.git20100828.2 - Fixed underlinking * Tue Sep 28 2010 Eugeny A. Rostovtsev (REAL) <real at altlinux.org> 0.1.2-alt1.git20100828.1 - Moved all tests into tests package * Mon Sep 27 2010 Eugeny A. Rostovtsev (REAL) <real at altlinux.org> 0.1.2-alt1.git20100828 - New snapshot - Fixed build of docs * Tue Jun 15 2010 Eugeny A. Rostovtsev (REAL) <real at altlinux.org> 0.1.2-alt1.git20100601 - New snapshot * Sun Mar 07 2010 Eugeny A. Rostovtsev (REAL) <real at altlinux.org> 0.1.2-alt1.bzr20100301 - New snapshot - Extracted examples and tests into separate packages - Added docs and pickles packages * Mon Jan 11 2010 Eugeny A. Rostovtsev (REAL) <real at altlinux.org> 0.1.2-alt1.bzr20090924.3 - Rebuilt with new NumPy * Thu Nov 19 2009 Eugeny A. Rostovtsev (REAL) <real at altlinux.org> 0.1.2-alt1.bzr20090924.2 - Rebuilt with python 2.6 * Fri Oct 02 2009 Eugeny A. Rostovtsev (REAL) <real at altlinux.org> 0.1.2-alt1.bzr20090924.1 - Added necessary requitements: nipy-data, python2.x(enthought) * Fri Sep 25 2009 Eugeny A. Rostovtsev (REAL) <real at altlinux.org> 0.1.2-alt1.bzr20090924 - Initial build for Sisyphus |