Package CoinBcp: 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 | %define mpiimpl openmpi %define mpidir %_libexecdir/%mpiimpl %define oname Bcp Name: Coin%oname Version: 1.2.3 Release: alt1.svn20091226.6 Summary: COIN-OR Branch-Cut-Price Framework License: CPL v1.0 Group: Sciences/Mathematics Url: https://projects.coin-or.org/Bcp Packager: Eugeny A. Rostovtsev (REAL) <real at altlinux.org> # https://projects.coin-or.org/svn/Bcp/trunk Source: %oname-%version.tar.gz BuildPreReq: doxygen graphviz libglpk-devel CoinBuildTools gcc-c++ BuildPreReq: libCoinUtils-devel libCoinCgl-devel libCoinOsi-devel BuildPreReq: libCoinClp-devel libCoinVol-devel %mpiimpl-devel %description BCP is a parallel framework for implementing branch, cut, and price algorithms for solving mixed integer programs (MIPs). BCP provides the user with an object-oriented framework that can be used to develop an efficient problem class specific MIP solver without all the implementational effort. involved with implementing a branch and bound framework from scratch. %package -n lib%name Summary: Shared libraries of COIN-OR Branch-Cut-Price Framework Group: System/Libraries %description -n lib%name BCP is a parallel framework for implementing branch, cut, and price algorithms for solving mixed integer programs (MIPs). BCP provides the user with an object-oriented framework that can be used to develop an efficient problem class specific MIP solver without all the implementational effort. involved with implementing a branch and bound framework from scratch. This package contains shared libraries of COIN-OR Branch-Cut-Price Framework. %package -n lib%name-devel Summary: Development files of COIN-OR Branch-Cut-Price Framework Group: Development/C++ Requires: lib%name = %version-%release %description -n lib%name-devel BCP is a parallel framework for implementing branch, cut, and price algorithms for solving mixed integer programs (MIPs). BCP provides the user with an object-oriented framework that can be used to develop an efficient problem class specific MIP solver without all the implementational effort. involved with implementing a branch and bound framework from scratch. This package contains development file of COIN-OR Branch-Cut-Price Framework. %package docs Summary: Documentation for COIN-OR Branch-Cut-Price Framework Group: Development/Documentation BuildArch: noarch %description docs BCP is a parallel framework for implementing branch, cut, and price algorithms for solving mixed integer programs (MIPs). BCP provides the user with an object-oriented framework that can be used to develop an efficient problem class specific MIP solver without all the implementational effort. involved with implementing a branch and bound framework from scratch. This package contains development documentation and examples for COIN-OR Branch-Cut-Price Framework. %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 %configure \ --with-mpi-incdir=%mpidir/include \ --with-mpi-lib="-L%mpidir/lib -Wl,-R%mpidir/lib -lmpi" %make_build %install source %mpidir/bin/mpivars.sh export OMPI_LDFLAGS="-Wl,--as-needed,-Rpath=%mpidir/lib -L%mpidir/lib" %makeinstall_std rm -fR %buildroot%_docdir/coin %files -n lib%name %doc %oname/AUTHORS %oname/LICENSE %oname/README %oname/TODO %_libdir/*.so.* %files -n lib%name-devel %_libdir/*.so %_includedir/* %files docs %doc %oname/doc/*.pdf %doc %oname/examples %changelog * Fri Apr 29 2011 Eugeny A. Rostovtsev (REAL) <real at altlinux.org> 1.2.3-alt1.svn20091226.6 - Fixed build * Mon Feb 28 2011 Eugeny A. Rostovtsev (REAL) <real at altlinux.org> 1.2.3-alt1.svn20091226.5 - Added -g into compiler flags * Fri Feb 18 2011 Eugeny A. Rostovtsev (REAL) <real at altlinux.org> 1.2.3-alt1.svn20091226.4 - Rebuilt for debuginfo * Sat Dec 18 2010 Eugeny A. Rostovtsev (REAL) <real at altlinux.org> 1.2.3-alt1.svn20091226.3 - Rebuilt with CoinBuildTools 0.6.1 * Wed Oct 27 2010 Eugeny A. Rostovtsev (REAL) <real at altlinux.org> 1.2.3-alt1.svn20091226.2 - Rebuilt for soname set-versions * Wed Oct 13 2010 Eugeny A. Rostovtsev (REAL) <real at altlinux.org> 1.2.3-alt1.svn20091226.1 - Fixed overlinking of libraries * Mon Sep 06 2010 Eugeny A. Rostovtsev (REAL) <real at altlinux.org> 1.2.3-alt1.svn20091226 - Initial build for Sisyphus |