Пакет python-module-cvxopt: 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 | %define oname cvxopt Name: python-module-%oname Version: 1.1.3 Release: alt5 Summary: Python Software for Convex Optimization License: GPL v3 or higher/GPL v2 of higher Group: Development/Python Url: http://abel.ee.ucla.edu/cvxopt/ Packager: Eugeny A. Rostovtsev (REAL) <real at altlinux.org> Source: %oname-%version.tar.gz %setup_python_module %oname # disable requirements on commertial software %add_python_req_skip mosekarr pymosek mosek BuildRequires(pre): rpm-build-python BuildPreReq: python-devel liblapack-goto-devel libgsl-devel BuildPreReq: libfftw3-devel libglpk4-devel libdsdp-devel BuildPreReq: python-module-sphinx-devel texlive-latex-recommended dvipng Conflicts: %name-pickles < %version-%release %description CVXOPT is a free software package for convex optimization based on the Python programming language. It can be used with the interactive Python interpreter, on the command line by executing Python scripts, or integrated in other software via Python extension modules. Its main purpose is to make the development of software for convex optimization applications straightforward by building on Python's extensive standard library and on the strengths of Python as a high-level programming language. %package doc Summary: Documentation for CVXOPT Group: Documentation BuildArch: noarch %description doc CVXOPT is a free software package for convex optimization based on the Python programming language. It can be used with the interactive Python interpreter, on the command line by executing Python scripts, or integrated in other software via Python extension modules. Its main purpose is to make the development of software for convex optimization applications straightforward by building on Python's extensive standard library and on the strengths of Python as a high-level programming language. This package contains documentation for CVXOPT. %package examples Summary: Examples for CVXOPT Group: Documentation BuildArch: noarch %description examples CVXOPT is a free software package for convex optimization based on the Python programming language. It can be used with the interactive Python interpreter, on the command line by executing Python scripts, or integrated in other software via Python extension modules. Its main purpose is to make the development of software for convex optimization applications straightforward by building on Python's extensive standard library and on the strengths of Python as a high-level programming language. This package contains examples for CVXOPT. %package pickles Summary: Pickles for CVXOPT Group: Development/Python %description pickles CVXOPT is a free software package for convex optimization based on the Python programming language. It can be used with the interactive Python interpreter, on the command line by executing Python scripts, or integrated in other software via Python extension modules. Its main purpose is to make the development of software for convex optimization applications straightforward by building on Python's extensive standard library and on the strengths of Python as a high-level programming language. This package contains pickles for CVXOPT. %prep %setup %prepare_sphinx doc/source %build pushd src %ifarch x86_64 sed -i 's|@64@|64|g' setup.py %else sed -i 's|@64@||g' setup.py %endif %add_optflags -fno-strict-aliasing %python_build_debug popd %make -C doc html %install pushd src %python_install popd install -d %buildroot%_docdir/%name cp -fR doc/build/html examples %buildroot%_docdir/%name/ install -d %buildroot%python_sitelibdir/%oname cp -fR doc/build/pickle %buildroot%python_sitelibdir/%oname/ %files %doc LICENSE %python_sitelibdir/* %exclude %python_sitelibdir/%oname/pickle %files doc %doc %dir %_docdir/%name %doc %_docdir/%name/html %files examples %doc %dir %_docdir/%name %doc %_docdir/%name/examples %files pickles %dir %python_sitelibdir/%oname %python_sitelibdir/%oname/pickle %changelog * Sat Apr 09 2011 Eugeny A. Rostovtsev (REAL) <real at altlinux.org> 1.1.3-alt5 - Built with GotoBLAS2 instead of ATLAS * Tue Apr 05 2011 Eugeny A. Rostovtsev (REAL) <real at altlinux.org> 1.1.3-alt4 - Rebuilt with python-module-sphinx-devel * Fri Mar 25 2011 Eugeny A. Rostovtsev (REAL) <real at altlinux.org> 1.1.3-alt3 - Rebuilt for debuginfo * Mon Oct 18 2010 Eugeny A. Rostovtsev (REAL) <real at altlinux.org> 1.1.3-alt2 - Fixed underlinking * Tue Sep 21 2010 Eugeny A. Rostovtsev (REAL) <real at altlinux.org> 1.1.3-alt1 - Version 1.1.3 - Enabled pickles package * Fri Sep 10 2010 Eugeny A. Rostovtsev (REAL) <real at altlinux.org> 1.1.2-alt3 - Added explicit conflict with old pickles package (ALT #24051) * Mon Aug 02 2010 Eugeny A. Rostovtsev (REAL) <real at altlinux.org> 1.1.2-alt2 - Rebuilt with Sphinx 1.0.1 * Tue Jul 27 2010 Eugeny A. Rostovtsev (REAL) <real at altlinux.org> 1.1.2-alt1 - Version 1.1.2 - Added pickles * Wed Nov 11 2009 Eugeny A. Rostovtsev (REAL) <real at altlinux.org> 1.1.1-alt3 - Rebuilt with python 2.6 * Fri Sep 04 2009 Eugeny A. Rostovtsev (REAL) <real at altlinux.org> 1.1.1-alt2 - Rebuilt with shared library of DSDP * Mon Aug 03 2009 Eugeny A. Rostovtsev (REAL) <real at altlinux.org> 1.1.1-alt1 - Initial build for Sisyphus |