From 8738080e67e1e14072c9f6f95afaf6477fdb321e Mon Sep 17 00:00:00 2001 From: CoprDistGit Date: Mon, 21 Sep 2026 08:53:12 +0000 Subject: automatic import of coin-or-CoinUtils-devel --- .gitignore | 1 + coin-or-CoinUtils-devel.spec | 63 ++++++++++++++++++++++++++++++++++++++++++++ sources | 1 + 3 files changed, 65 insertions(+) create mode 100644 coin-or-CoinUtils-devel.spec create mode 100644 sources diff --git a/.gitignore b/.gitignore index e69de29..67c6a1a 100644 --- a/.gitignore +++ b/.gitignore @@ -0,0 +1 @@ +/coin-or-CoinUtils-devel-2.11.13.tar.gz diff --git a/coin-or-CoinUtils-devel.spec b/coin-or-CoinUtils-devel.spec new file mode 100644 index 0000000..e3ff4c2 --- /dev/null +++ b/coin-or-CoinUtils-devel.spec @@ -0,0 +1,63 @@ +# CoinUtils is distributed as a subproject inside the coin-or/CoinUtils +# repository (the repository root is only the COIN-OR combined-build shell, +# the CoinUtils/ directory is the standalone autotools project). +# Build is performed inside CoinUtils/. +# topdir after --transform: coin-or-CoinUtils-devel-2.11.13 +# Source dir inside tarball: CoinUtils/ + +Name: coin-or-CoinUtils-devel +Version: 2.11.13 +Release: 1%{?dist} +Summary: Utilities, data structures and linear algebra for COIN-OR projects + +License: EPL-2.0 +URL: https://github.com/coin-or/CoinUtils +Source0: https://github.com/coin-or/CoinUtils/archive/refs/tags/releases/%{version}.tar.gz#/%{name}-%{version}.tar.gz + +BuildRequires: gcc +BuildRequires: gcc-c++ +BuildRequires: make +BuildRequires: autoconf +BuildRequires: automake +BuildRequires: libtool + +%description +CoinUtils is an open-source collection of classes and helper functions that +are generally useful to multiple COIN-OR projects. These utilities include +classes for storing and manipulating sparse matrices and vectors, performing +matrix factorization, parsing input files in standard formats, building +representations of mathematical programs, comparing floating point numbers +with a tolerance, performing simple presolve operations and warm starting +algorithms for mathematical programs. + +This package provides the CoinUtils shared library, the public C and C++ +headers, the pkgconfig integration files and the documentation, so that +other COIN-OR projects (Osi, Clp, Cgl, Cbc, ...) can be built and run +against the CoinUtils library. + +%prep +%autosetup -n %{name}-%{version} + +%build +cd CoinUtils +%configure \ + --disable-static \ + --disable-dependency-tracking +%make_build + +%install +cd CoinUtils +%make_install +find %{buildroot} -type f -name '*.la' -delete + +%files +%license LICENSE +%doc README.md +%{_libdir}/libCoinUtils.so* +%{_libdir}/pkgconfig/coinutils.pc +%{_includedir}/coin/* +%{_datadir}/coin/doc/CoinUtils/ + +%changelog +* Mon Sep 21 2026 openEuler Builder - 2.11.13-1 +- Initial package for openEuler diff --git a/sources b/sources new file mode 100644 index 0000000..129765e --- /dev/null +++ b/sources @@ -0,0 +1 @@ +22cff9e74424949e63daabe3c7f4ec70 coin-or-CoinUtils-devel-2.11.13.tar.gz -- cgit v1.2.3