[packages/lemon] - Coin dependencies (ffu)

qboosh qboosh at pld-linux.org
Thu Sep 15 20:45:54 CEST 2016


commit edc4f50ee87a8764c9fe83b9bd4f757a0212760c
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date:   Thu Sep 15 20:47:27 2016 +0200

    - Coin dependencies (ffu)

 lemon.spec | 17 ++++++++++++++---
 1 file changed, 14 insertions(+), 3 deletions(-)
---
diff --git a/lemon.spec b/lemon.spec
index e67d114..29931ce 100644
--- a/lemon.spec
+++ b/lemon.spec
@@ -1,9 +1,10 @@
 # TODO: coin support
 #
 # Conditional build:
-%bcond_with	cplex		# CPLEX support [IBM proprietary]
-%bcond_without	glpk		# GLPK support
-%bcond_with	soplex		# SoPlex support
+%bcond_with	coin		# COIN solver backend
+%bcond_with	cplex		# ILOG (CPLEX) solver backend [IBM proprietary]
+%bcond_without	glpk		# GLPK solver backend
+%bcond_with	soplex		# SoPlex solver backend
 #
 Summary:	Library of Efficient Models and Optimization in Networks
 Summary(pl.UTF-8):	Biblioteka wydajnych modeli i optymalizacji w sieciach
@@ -15,6 +16,16 @@ Group:		Libraries
 Source0:	http://lemon.cs.elte.hu/pub/sources/%{name}-%{version}.tar.gz
 # Source0-md5:	e89f887559113b68657eca67cf3329b5
 URL:		http://lemon.cs.elte.hu/
+%if %{with coin}
+BuildRequires:	CoinCbc-devel
+BuildRequires:	CoinCbcSolver-devel
+BuildRequires:	CoinCgl-devel
+BuildRequires:	CoinClp-devel
+BuildRequires:	CoinOsi-devel
+BuildRequires:	CoinOsiCbc-devel
+BuildRequires:	CoinOsiClp-devel
+BuildRequires:	CoinUtils-devel
+%endif
 BuildRequires:	cmake >= 2.8
 BuildRequires:	doxygen
 BuildRequires:	ghostscript
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/lemon.git/commitdiff/edc4f50ee87a8764c9fe83b9bd4f757a0212760c



More information about the pld-cvs-commit mailing list