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 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 | %define oname nipy %def_enable docs Name: python-module-%oname Version: 0.4.0 Release: alt1.git20130205 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 BuildPreReq: python-devel python-module-nifti python-module-scipy BuildPreReq: python-module-sympy liblapack-devel python-module-matplotlib BuildPreReq: /proc gcc-fortran %oname-data libnumpy-devel sympy BuildPreReq: dvipng libniftilib-devel BuildPreReq: python-module-nibabel python-module-Cython BuildPreReq: python-module-sphinx-devel python-module-Pygments BuildPreReq: 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. %if_enabled docs %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. %endif %prep %setup %if_enabled docs sed -i 's|@PYVER@|%_python_version|g' doc/Makefile %prepare_sphinx . %endif rm -f doc/labs/image_registration.rst %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 %if_enabled docs %make -C doc pickle %make -C doc html #make -C doc pdf %endif install fff2.py %buildroot%python_sitelibdir cp -fR examples %buildroot%python_sitelibdir/%oname/ %if_enabled docs #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/ %endif %files %doc AUTHOR Changelog LICENSE README* THANKS %_bindir/* %python_sitelibdir/* %if_enabled docs %exclude %python_sitelibdir/%oname/pickle %endif %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 %if_enabled docs %files docs %doc doc/build/html/* #doc doc/pdf %files pickles %dir %python_sitelibdir/%oname %python_sitelibdir/%oname/pickle %endif %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 * Tue Apr 02 2013 Eugeny A. Rostovtsev (REAL) <real at altlinux.org> 0.4.0-alt1.git20130205 - Version 0.4.0 * Sun Aug 12 2012 Eugeny A. Rostovtsev (REAL) <real at altlinux.org> 0.2.0-alt2.git20120705 - Built with OpenBLAS instead of GotoBLAS2 * Tue Jul 10 2012 Eugeny A. Rostovtsev (REAL) <real at altlinux.org> 0.2.0-alt1.git20120705 - Version 0.2.0 - Disabled docs (what's wrong in girar-builder?) * Thu Apr 12 2012 Vitaly Kuznetsov <vitty@altlinux.ru> 0.1.2-alt2.git20110404.1 - Rebuild to remove redundant libpython2.7 dependency * Mon Nov 28 2011 Eugeny A. Rostovtsev (REAL) <real at altlinux.org> 0.1.2-alt2.git20110404 - Enabled docs (except pdf) * Tue Nov 15 2011 Dmitry V. Levin <ldv@altlinux.org> 0.1.2-alt1.git20110404.2 - Removed Mayavi from package requirements. * Mon Oct 24 2011 Vitaly Kuznetsov <vitty@altlinux.ru> 0.1.2-alt1.git20110404.1 - Rebuild with Python-2.7 * 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 |