Package CoinVRPH: 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 | %define somver 0 %define sover %somver.0.0 %define oname VRPH Name: Coin%oname Version: 1.0.0 Release: alt1.svn20100413.2 Summary: Library of heuristics for generating solutions to Vehicle Routing Problems (VRPs) License: CPL v1.0 Group: Sciences/Mathematics Url: https://projects.coin-or.org/VRPH Packager: Eugeny A. Rostovtsev (REAL) <real at altlinux.org> # https://projects.coin-or.org/svn/VRPH/trunk Source: %oname-%version.tar.gz BuildPreReq: doxygen graphviz libglpk-devel CoinBuildTools gcc-c++ BuildPreReq: libCoinUtils-devel libCoinOsi-devel libCoinSYMPHONY-devel BuildPreReq: libplplot-devel Requires: lib%name = %version-%release %description VRPH is an open source library of heuristics for the capacitated Vehicle Routing Problem (VRP). It includes several example applications that can be used to quickly generate good solutions to VRP instances containing thousands of customer locations. %package -n lib%name Summary: Shared libraries of COIN-OR VRPH Group: System/Libraries %description -n lib%name VRPH is an open source library of heuristics for the capacitated Vehicle Routing Problem (VRP). It includes several example applications that can be used to quickly generate good solutions to VRP instances containing thousands of customer locations. This package contains shared libraries of COIN-OR VRPH. %package -n lib%name-devel Summary: Development files of COIN-OR VRPH Group: Development/C++ Requires: lib%name = %version-%release %description -n lib%name-devel VRPH is an open source library of heuristics for the capacitated Vehicle Routing Problem (VRP). It includes several example applications that can be used to quickly generate good solutions to VRP instances containing thousands of customer locations. This package contains development files of COIN-OR VRPH. %package -n lib%name-devel-doc Summary: Documentation for COIN-OR VRPH Group: Development/Documentation BuildArch: noarch %description -n lib%name-devel-doc VRPH is an open source library of heuristics for the capacitated Vehicle Routing Problem (VRP). It includes several example applications that can be used to quickly generate good solutions to VRP instances containing thousands of customer locations. This package contains development documentation for COIN-OR VRPH. %prep %setup %build %make_build LIBDIR=%_libdir SOMVER=%somver SOVER=%sover \ TOPDIR=$PWD %make_build doc %install install -d %buildroot%_bindir install -d %buildroot%_libdir install -d %buildroot%_includedir/coin install -m755 bin/* %buildroot%_bindir install -p -m644 inc/* %buildroot%_includedir/coin cp -P lib/* %buildroot%_libdir/ %files %doc AUTHORS LICENSE README %_bindir/* %files -n lib%name %_libdir/*.so.* %files -n lib%name-devel %_libdir/*.so %_includedir/* %files -n lib%name-devel-doc %doc doc/html/* %changelog * Thu Mar 10 2011 Eugeny A. Rostovtsev (REAL) <real at altlinux.org> 1.0.0-alt1.svn20100413.2 - Rebuilt for debuginfo * Mon Oct 18 2010 Eugeny A. Rostovtsev (REAL) <real at altlinux.org> 1.0.0-alt1.svn20100413.1 - Rebuilt for soname set-versions * Thu Sep 16 2010 Eugeny A. Rostovtsev (REAL) <real at altlinux.org> 1.0.0-alt1.svn20100413 - Initial build for Sisyphus |