summaryrefslogtreecommitdiff
path: root/coin-or-Osi-devel.spec
diff options
context:
space:
mode:
authorCoprDistGit <infra@openeuler.org>2026-09-21 08:57:57 +0000
committerCoprDistGit <infra@openeuler.org>2026-09-21 08:57:57 +0000
commit8ce441b1127f217d33dfb94831e4fbfa2fd44362 (patch)
tree2e02d3437e2cfd04577ba42cc4c68eca528d5953 /coin-or-Osi-devel.spec
parent8a6ff7e0fedb06623a330ccacfda0d2f3f9f9275 (diff)
automatic import of coin-or-Osi-developeneuler24.03_LTS_SP3
Diffstat (limited to 'coin-or-Osi-devel.spec')
-rw-r--r--coin-or-Osi-devel.spec64
1 files changed, 64 insertions, 0 deletions
diff --git a/coin-or-Osi-devel.spec b/coin-or-Osi-devel.spec
new file mode 100644
index 0000000..6f084f7
--- /dev/null
+++ b/coin-or-Osi-devel.spec
@@ -0,0 +1,64 @@
+# 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 <builder@openeuler.org> - 0.108.12-1
+- Initial package for openEuler