Пакет python-module-nifti: 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 | %define oname nifti Name: python-module-%oname URL:http://niftilib.sf.net/pynifti/ Summary: Python interface to the NIfTI I/O libraries Version: 0.20090303.2 Release: alt1.git20090924.6 License: MIT Group: Development/Python # git://git.debian.org/git/pkg-exppsy/pynifti.gi Source: py%oname-%version.tar.gz Packager: Eugeny A. Rostovtsev (REAL) <real at altlinux.org> BuildRequires: libnumpy-devel libatlas-devel liblapack-devel BuildRequires: python-devel swig libniftilib-devel zlib-devel BuildRequires: gcc-c++ python-module-sphinx-devel python-module-Pygments BuildPreReq: texlive-latex-extra %setup_python_module %oname %description Using PyNIfTI one can easily read and write NIfTI and ANALYZE images from within Python. The NiftiImage class provides Python-style access to the full header information. Image data is made available via NumPy arrays. %package doc Summary: Documentation and examples for PyNIfTI Group: Development/Documentation BuildArch: noarch %description doc Using PyNIfTI one can easily read and write NIfTI and ANALYZE images from within Python. The NiftiImage class provides Python-style access to the full header information. Image data is made available via NumPy arrays. This package contains documentation and examples for PyNIfTI. %package pickles Summary: Pickles for PyNIfTI Group: Development/Python %description pickles Using PyNIfTI one can easily read and write NIfTI and ANALYZE images from within Python. The NiftiImage class provides Python-style access to the full header information. Image data is made available via NumPy arrays. This package contains pickles for PyNIfTI. %prep %setup sed -i 's|@PYVER@|%_python_version|g' doc/Makefile %prepare_sphinx doc %build %add_optflags -fno-strict-aliasing %python_build_debug export PYTHONPATH=$(find $PWD -name _clib.so|sed 's|/%oname/_clib.so||') pushd doc %make latex popd %install %python_install --prefix=%prefix --record=INSTALLED_FILES install -d %buildroot%_docdir/py%oname install -d %buildroot%_man1dir install -d %buildroot%python_sitelibdir/%oname cp -fR build/html build/latex/*.pdf tests/data/* doc/examples.txt \ %buildroot%_docdir/py%oname/ cp -fR build/pickle %buildroot%python_sitelibdir/%oname/ install -m644 man/* %buildroot%_man1dir %files -f INSTALLED_FILES %doc AUTHOR Changelog COPYING TODO %_bindir/* %_man1dir/* %python_sitelibdir/* %exclude %python_sitelibdir/%oname/pickle %files doc %_docdir/py%oname %files pickles %dir %python_sitelibdir/%oname %python_sitelibdir/%oname/pickle %changelog * Tue Apr 05 2011 Eugeny A. Rostovtsev (REAL) <real at altlinux.org> 0.20090303.2-alt1.git20090924.6 - Rebuilt with python-module-sphinx-devel * Sat Mar 26 2011 Eugeny A. Rostovtsev (REAL) <real at altlinux.org> 0.20090303.2-alt1.git20090924.5 - Rebuilt for debuginfo * Tue Oct 19 2010 Eugeny A. Rostovtsev (REAL) <real at altlinux.org> 0.20090303.2-alt1.git20090924.4 - Rebuilt with niftilib 0.20100720 * Mon Oct 18 2010 Eugeny A. Rostovtsev (REAL) <real at altlinux.org> 0.20090303.2-alt1.git20090924.3 - Fixed underlinking * Fri Mar 05 2010 Eugeny A. Rostovtsev (REAL) <real at altlinux.org> 0.20090303.2-alt1.git20090924.2 - Rebuilt with reformed NumPy - Added pickles package * Mon Jan 11 2010 Eugeny A. Rostovtsev (REAL) <real at altlinux.org> 0.20090303.1-alt1.git20090924.2 - Rebuilt with new NumPy * Thu Nov 19 2009 Eugeny A. Rostovtsev (REAL) <real at altlinux.org> 0.20090303.1-alt1.git20090924.1 - Rebuilt with python 2.6 * Fri Sep 25 2009 Eugeny A. Rostovtsev (REAL) <real at altlinux.org> 0.20090303.1-alt1.git20090924 - Initial build for Sisyphus * Tue Mar 3 2009 - Michael Hanke <michael.hanke@gmail.com> - 0.20090303.1-1 New bugfix release. * Thu Feb 5 2009 - Michael Hanke <michael.hanke@gmail.com> - 0.20090205.1-1 New upstream version. * Fri Oct 17 2008 - Michael Hanke <michael.hanke@gmail.com> - 0.20081017.1-1 New upstream version. * Sat Oct 4 2008 - Michael Hanke <michael.hanke@gmail.com> - 0.20080710.1-1 - Initial release |