Package CoinSYMPHONY: 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 | %define mpiimpl openmpi %define mpidir %_libexecdir/%mpiimpl %define oname SYMPHONY Name: Coin%oname Version: 5.3.3 Release: alt1.svn20110417 Summary: Open-source solver for mixed-integer linear programs (MILPs) written in C License: CPL v1.o Group: Sciences/Mathematics Url: https://projects.coin-or.org/SYMPHONY Packager: Eugeny A. Rostovtsev (REAL) <real at altlinux.org> # https://projects.coin-or.org/svn/SYMPHONY/trunk Source: %oname-%version.tar.gz BuildPreReq: doxygen graphviz libglpk-devel CoinBuildTools gcc-c++ BuildPreReq: libCoinUtils-devel libCoinClp-devel libCoinCgl-devel BuildPreReq: libCoinOsi-devel libCoinDyLP-devel libCoinVol-devel BuildPreReq: libCoinCbc-devel BuildPreReq: liblapack-goto-devel BuildPreReq: libreadline-devel %mpiimpl-devel chrpath #BuildPreReq: texlive-latex-recommended Requires: lib%name = %version-%release %description SYMPHONY is an open-source generic MILP solver, callable library, and extensible framework for implementing customized solvers for mixed-integer linear programs (MILPs). %package -n lib%name Summary: Shared libraries of COIN-OR SYMPHONY Group: System/Libraries %description -n lib%name SYMPHONY is an open-source generic MILP solver, callable library, and extensible framework for implementing customized solvers for mixed-integer linear programs (MILPs). This package contains shared libraries of COIN-OR SYMPHONY. %package -n lib%name-devel Summary: Development files of COIN-OR SYMPHONY Group: Development/C++ Requires: lib%name = %version-%release %description -n lib%name-devel SYMPHONY is an open-source generic MILP solver, callable library, and extensible framework for implementing customized solvers for mixed-integer linear programs (MILPs). This package contains development files of COIN-OR SYMPHONY. %package examples Summary: Examples for COIN-OR SYMPHONY Group: Sciences/Mathematics #Requires: lib%name = %version-%release BuildArch: noarch %description examples SYMPHONY is an open-source generic MILP solver, callable library, and extensible framework for implementing customized solvers for mixed-integer linear programs (MILPs). This package contains examples for COIN-OR SYMPHONY. %package applications-sources Summary: Applications sources for COIN-OR SYMPHONY Group: Sciences/Mathematics BuildArch: noarch %description applications-sources SYMPHONY is an open-source generic MILP solver, callable library, and extensible framework for implementing customized solvers for mixed-integer linear programs (MILPs). This package contains applications sources for COIN-OR SYMPHONY. %package doc Summary: Documentation for COIN-OR SYMPHONY Group: Documentation BuildArch: noarch %description doc SYMPHONY is an open-source generic MILP solver, callable library, and extensible framework for implementing customized solvers for mixed-integer linear programs (MILPs). This package contains documentation for COIN-OR SYMPHONY. %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 -pthread %configure \ --with-coin-instdir=%prefix \ --with-blas-lib=-lgoto2 \ --with-lapack-lib=-llapack \ --with-glpk-incdir=%_includedir/glpk \ --enable-gnu-packages \ --enable-sensitivity-analysis \ --enable-draw-graph \ --with-application sed -i 's|\(wl=\).*|\1"-Wl,"|' libtool cp -fR %oname/Examples ./ TOPDIR=$PWD %make_build TOPDIR=$TOPDIR rm -f $(find %oname -name 'libOsiSym.*') %make_build TOPDIR=$TOPDIR ADDLIB="-L../.libs -lSym" #make_build -C %oname/Examples TOPDIR=$TOPDIR %install source %mpidir/bin/mpivars.sh export OMPI_LDFLAGS="-Wl,--as-needed,-Rpath=%mpidir/lib -L%mpidir/lib" %makeinstall_std TOPDIR=$PWD #for i in bicriteria milp milp2 sensitivity \ # warm_start1 warm_start2 warm_start3 #do # chrpath -r %mpidir/lib %oname/Examples/$i # install -m755 %oname/Examples/$i %buildroot%_bindir/%oname-$i #done rm -fR %buildroot%_datadir/coin/doc \ %buildroot%_docdir/coin %files %doc %oname/AUTHORS %oname/LICENSE %oname/README %_bindir/symphony %files -n lib%name %_libdir/*.so.* %files -n lib%name-devel %_libdir/*.so %_includedir/* %_pkgconfigdir/* %files examples %doc Examples/* #_bindir/* #exclude %_bindir/symphony %files applications-sources %doc %oname/Applications %oname/Datasets %files doc %doc %oname/Doc/* %changelog * Sat Apr 23 2011 Eugeny A. Rostovtsev (REAL) <real at altlinux.org> 5.3.3-alt1.svn20110417 - Version 5.3.3 * Tue Apr 12 2011 Eugeny A. Rostovtsev (REAL) <real at altlinux.org> 5.3.1-alt1.svn20101209.3 - Built with GotoBLAS2 instead of ATLAS * Mon Feb 28 2011 Eugeny A. Rostovtsev (REAL) <real at altlinux.org> 5.3.1-alt1.svn20101209.2 - Added -g into compiler flags * Fri Feb 18 2011 Eugeny A. Rostovtsev (REAL) <real at altlinux.org> 5.3.1-alt1.svn20101209.1 - Rebuilt for debuginfo * Sun Dec 19 2010 Eugeny A. Rostovtsev (REAL) <real at altlinux.org> 5.3.1-alt1.svn20101209 - Version 5.3.1 * Thu Oct 28 2010 Eugeny A. Rostovtsev (REAL) <real at altlinux.org> 5.2.4-alt1.svn20100818.2 - Rebuilt for soname set-versions * Tue Oct 12 2010 Eugeny A. Rostovtsev (REAL) <real at altlinux.org> 5.2.4-alt1.svn20100818.1 - Fixed linking of libraries * Fri Sep 03 2010 Eugeny A. Rostovtsev (REAL) <real at altlinux.org> 5.2.4-alt1.svn20100818 - Initial build for Sisyphus |