# Cgl is distributed as a subproject inside the coin-or/Cgl repository. # The repository root is the COIN-OR combined-build shell (its configure.ac # pulls in Sample/Data, CoinUtils, Osi, Clp, Vol, DyLP and Cgl through # AC_COIN_MAIN_PACKAGEDIR); the Cgl/ directory is the standalone autotools # project (pre-generated configure + Makefile.in are shipped in the release # tarball, maintainer mode defaults to "no"). Build is performed inside Cgl/. # topdir after --transform: coin-or-Cgl-devel-0.60.10 # Source dir inside tarball: Cgl/ # topdir: coin-or-Cgl-devel-0.60.10 (build dir inside tarball: Cgl/) Name: coin-or-Cgl-devel Version: 0.60.10 Release: 1%{?dist} Summary: COIN-OR Cut Generation Library License: EPL-2.0 URL: https://github.com/coin-or/Cgl Source0: https://github.com/coin-or/Cgl/archive/refs/tags/releases/%{version}.tar.gz#/%{name}-%{version}.tar.gz BuildRequires: gcc BuildRequires: gcc-c++ BuildRequires: make BuildRequires: autoconf BuildRequires: automake BuildRequires: libtool BuildRequires: coin-or-CoinUtils-devel BuildRequires: coin-or-Osi-devel BuildRequires: coin-or-Clp-devel %description Cgl (COIN-OR Cut Generation Library) is an open collection of cutting plane implementations ("cut generators") for use in teaching, research and applications. Cgl can be used with other COIN-OR packages that make use of cuts, such as the mixed integer linear programming solver Cbc. Each cut generator is maintained separately and all generators are combined into one library when Cgl is compiled. This package provides the Cgl shared library, the public C++ headers and the pkgconfig integration files, so that other COIN-OR projects (Cbc, BCP, ...) can be built and run against the Cgl cut generation library. %prep %autosetup -n %{name}-%{version} %build cd Cgl %configure \ --disable-static \ --disable-dependency-tracking %make_build %install cd Cgl %make_install find %{buildroot} -type f -name '*.la' -delete %files %license LICENSE %doc README.md %{_libdir}/libCgl.so* %{_libdir}/pkgconfig/cgl.pc %{_includedir}/coin/* %{_datadir}/coin/doc/Cgl/ %changelog * Mon Sep 21 2026 openEuler Builder - 0.60.10-1 - Initial package for openEuler