diff options
| author | CoprDistGit <infra@openeuler.org> | 2026-09-21 09:07:28 +0000 |
|---|---|---|
| committer | CoprDistGit <infra@openeuler.org> | 2026-09-21 09:07:28 +0000 |
| commit | c2a4e7f8fc3cb3ebbb0f49d52e9efec0d4031d6b (patch) | |
| tree | 38ab553596ed60f5404f1df0f650fb06c5fad52f | |
| parent | 09bea342f1fd845580107cd08ac12e6e47093bc5 (diff) | |
automatic import of coin-or-Cgl-developeneuler24.03_LTS_SP3
| -rw-r--r-- | .gitignore | 1 | ||||
| -rw-r--r-- | coin-or-Cgl-devel.spec | 67 | ||||
| -rw-r--r-- | sources | 1 |
3 files changed, 69 insertions, 0 deletions
@@ -0,0 +1 @@ +/coin-or-Cgl-devel-0.60.10.tar.gz diff --git a/coin-or-Cgl-devel.spec b/coin-or-Cgl-devel.spec new file mode 100644 index 0000000..5bd09b9 --- /dev/null +++ b/coin-or-Cgl-devel.spec @@ -0,0 +1,67 @@ +# 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 <builder@openeuler.org> - 0.60.10-1 +- Initial package for openEuler @@ -0,0 +1 @@ +b80c9c6d022238852cebbd6779d9a366 coin-or-Cgl-devel-0.60.10.tar.gz |
