# Osi is distributed as a subproject inside the coin-or/Osi repository # (the repository root is the COIN-OR combined-build shell that lists # CoinUtils/Osi/... , the Osi/ directory is the standalone autotools project). # Build is performed inside Osi/. # topdir after --transform: coin-or-Osi-devel-0.108.12 # Source dir inside tarball: Osi/ Name: coin-or-Osi-devel Version: 0.108.12 Release: 1%{?dist} Summary: COIN-OR Open Solver Interface License: EPL-2.0 URL: https://github.com/coin-or/Osi Source0: https://github.com/coin-or/Osi/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 %description Osi (Open Solver Interface) provides an abstract base class to a generic linear programming solver, along with derived classes for specific solvers. Many applications may be able to use the Osi to insulate themselves from a specific solver. Programs written to the OSI standard may be linked to any solver with an OSI interface and should produce correct results. This package provides the Osi shared library, the OsiCommonTests helper library, the public C++ headers, the pkgconfig integration files and the documentation, so that other COIN-OR projects (Clp, Cgl, Cbc, ...) can be built and run against the Osi interface. %prep %autosetup -n %{name}-%{version} %build cd Osi %configure \ --disable-static \ --disable-dependency-tracking %make_build %install cd Osi %make_install find %{buildroot} -type f -name '*.la' -delete %files %license LICENSE %doc README.md %{_libdir}/libOsi.so* %{_libdir}/libOsiCommonTests.so* %{_libdir}/pkgconfig/osi.pc %{_libdir}/pkgconfig/osi-unittests.pc %{_includedir}/coin/* %{_datadir}/coin/doc/Osi/ %changelog * Mon Sep 21 2026 openEuler Builder - 0.108.12-1 - Initial package for openEuler