Пакет CoinCouenne: 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 | %define mpiimpl openmpi %define mpidir %_libdir/%mpiimpl %define sover 0.0.0 %define oname Couenne Name: Coin%oname Version: 0.4.7 Release: alt1.svn20140514 Summary: Convex Over and Under ENvelopes for Nonlinear Estimation License: CPL v1.0 Group: Sciences/Mathematics Url: http://www.coin-or.org/projects/Couenne.xml Packager: Eugeny A. Rostovtsev (REAL) <real at altlinux.org> # https://projects.coin-or.org/svn/Couenne/trunk Source: %oname-%version.tar.gz BuildPreReq: doxygen graphviz libglpk-devel CoinBuildTools gcc-c++ BuildPreReq: libCoinUtils-devel liblapack-devel BuildPreReq: libmumps-devel libCoinCgl-devel libCoinBonmin-devel BuildPreReq: libCoinClp-devel libipopt-devel CoinMiplib3-devel BuildPreReq: libCoinCbc-devel %mpiimpl-devel CoinSample-devel BuildPreReq: CoinNetlib-devel chrpath %description Couenne (Convex Over and Under ENvelopes for Nonlinear Estimation) is a spatial branch&bound algorithm that implements linearization, bound reduction, and branching techniques for Mixed-integer, Nonlinear Programming (MINLP) problems. The purpose of Couenne is to find global optima of nonconvex MINLPs. %package -n lib%name Summary: Shared libraries of COIN-OR Couenne Group: System/Libraries %description -n lib%name Couenne (Convex Over and Under ENvelopes for Nonlinear Estimation) is a spatial branch&bound algorithm that implements linearization, bound reduction, and branching techniques for Mixed-integer, Nonlinear Programming (MINLP) problems. The purpose of Couenne is to find global optima of nonconvex MINLPs. This package contains shared libraries of COIN-OR Couenne. %package -n lib%name-devel Summary: Development files of COIN-OR Couenne Group: Development/C++ Requires: lib%name = %version-%release Requires: libCoinBonmin-devel %description -n lib%name-devel Couenne (Convex Over and Under ENvelopes for Nonlinear Estimation) is a spatial branch&bound algorithm that implements linearization, bound reduction, and branching techniques for Mixed-integer, Nonlinear Programming (MINLP) problems. The purpose of Couenne is to find global optima of nonconvex MINLPs. This package contains development files of COIN-OR Couenne. %package -n lib%name-devel-doc Summary: Documentation for COIN-OR Couenne Group: Development/Documentation BuildArch: noarch %description -n lib%name-devel-doc Couenne (Convex Over and Under ENvelopes for Nonlinear Estimation) is a spatial branch&bound algorithm that implements linearization, bound reduction, and branching techniques for Mixed-integer, Nonlinear Programming (MINLP) problems. The purpose of Couenne is to find global optima of nonconvex MINLPs. This package contains development documentation for COIN-OR Couenne. %prep %setup %build mpi-selector --set %mpiimpl source %mpidir/bin/mpivars.sh export OMPI_LDFLAGS="-Wl,--as-needed,-rpath,%mpidir/lib -L%mpidir/lib" %autoreconf %add_optflags -I%_includedir/coin %configure \ --with-bonmin-incdir=%_includedir/coin \ --with-mumps-lib=-ldmumps \ --with-blas-lib=-lopenblas \ --with-lapack-lib=-llapack sed -i 's|\(wl=\).*|\1"-Wl,"|' libtool %make_build TOPDIR=$PWD %install source %mpidir/bin/mpivars.sh export OMPI_LDFLAGS="-Wl,--as-needed,-rpath,%mpidir/lib -L%mpidir/lib" %makeinstall_std TOPDIR=$PWD # for circular linking; this operation need 2 steps rm -f $(find ./ -name 'libCouenne.*') %make_build TOPDIR=$PWD ADDLIB="-Lmain/.libs -lBonCouenne" || %make_build TOPDIR=$PWD ADDLIB="-Lmain/.libs -lBonCouenne" cp -f Couenne/src/.libs/libCouenne.so.%sover \ %buildroot%_libdir/ for i in %buildroot%_libdir/*.so; do chrpath -r %mpidir/lib $i done rm -fR %buildroot%_docdir/coin %files -n lib%name %doc %oname/AUTHORS %oname/LICENSE %oname/README %_libdir/*.so.* %files -n lib%name-devel %_libdir/*.so %_includedir/* %_pkgconfigdir/* %files -n lib%name-devel-doc %doc %oname/doc/*.pdf %changelog * Thu May 15 2014 Eugeny A. Rostovtsev (REAL) <real at altlinux.org> 0.4.7-alt1.svn20140514 - Version 0.4.7 * Tue Dec 03 2013 Eugeny A. Rostovtsev (REAL) <real at altlinux.org> 0.4.6-alt1.svn20131201 - Version 0.4.6 * Tue Sep 10 2013 Eugeny A. Rostovtsev (REAL) <real at altlinux.org> 0.4.4-alt1.svn20130811 - Version 0.4.4 * Tue Feb 12 2013 Eugeny A. Rostovtsev (REAL) <real at altlinux.org> 0.4.3-alt1.svn20130207 - New snapshot * Wed Sep 05 2012 Eugeny A. Rostovtsev (REAL) <real at altlinux.org> 0.4.3-alt1.svn20120904 - Version 0.4.3 * Sun Aug 12 2012 Eugeny A. Rostovtsev (REAL) <real at altlinux.org> 0.4.2-alt3.svn20120211 - Built with OpenBLAS instead of GotoBLAS2 * Mon Jul 09 2012 Eugeny A. Rostovtsev (REAL) <real at altlinux.org> 0.4.2-alt2.svn20120211 - Rebuilt with OpenMPI 1.6 * Sun Feb 12 2012 Eugeny A. Rostovtsev (REAL) <real at altlinux.org> 0.4.2-alt1.svn20120211 - Version 0.4.2 * Wed Sep 07 2011 Eugeny A. Rostovtsev (REAL) <real at altlinux.org> 0.4.0-alt1.svn20110903 - Version 0.4.0 * Sat Apr 23 2011 Eugeny A. Rostovtsev (REAL) <real at altlinux.org> 0.3.3-alt1.svn20110421 - Version 0.3.3 * Wed Apr 13 2011 Eugeny A. Rostovtsev (REAL) <real at altlinux.org> 0.3.2-alt1.svn20101208.4 - Built with GotoBLAS2 instead of ATLAS * Mon Feb 28 2011 Eugeny A. Rostovtsev (REAL) <real at altlinux.org> 0.3.2-alt1.svn20101208.3 - Added -g into compiler flags * Fri Feb 18 2011 Eugeny A. Rostovtsev (REAL) <real at altlinux.org> 0.3.2-alt1.svn20101208.2 - Rebuilt for debuginfo (stage 2) * Fri Feb 18 2011 Eugeny A. Rostovtsev (REAL) <real at altlinux.org> 0.3.2-alt1.svn20101208.1 - Rebuilt for debuginfo (stage 1) * Sat Dec 18 2010 Eugeny A. Rostovtsev (REAL) <real at altlinux.org> 0.3.2-alt1.svn20101208 - New snapshot * Thu Oct 28 2010 Eugeny A. Rostovtsev (REAL) <real at altlinux.org> 0.3.2-alt1.svn20100830.2 - Rebuilt for soname set-versions * Wed Oct 13 2010 Eugeny A. Rostovtsev (REAL) <real at altlinux.org> 0.3.2-alt1.svn20100830.1 - Fixed linking of libraries * Fri Sep 10 2010 Eugeny A. Rostovtsev (REAL) <real at altlinux.org> 0.3.2-alt1.svn20100830 - Initial build for Sisyphus |