Reenable callable library #1

Manually merged
jengelh merged 7 commits from jengelh/polymake:master into leap-16.0 2026-01-15 19:44:48 +01:00
4 changed files with 81 additions and 13 deletions

BIN
V4.12.tar.gz LFS

Binary file not shown.

BIN
polymake-4.15-minimal.tar.bz2 LFS Normal file

Binary file not shown.

View File

@@ -1,3 +1,48 @@
-------------------------------------------------------------------
Tue Jan 13 20:37:53 UTC 2026 - Jan Engelhardt <jengelh@inai.de>
- Enable polydb for Tumbleweed / suse_version>=1690
<https://github.com/passagemath/passagemath/pull/1978>
-------------------------------------------------------------------
Tue Jan 13 12:38:43 UTC 2026 - Jan Engelhardt <jengelh@inai.de>
- Reenable callable library mode [boo#1256453]
-------------------------------------------------------------------
Wed Oct 1 07:07:49 UTC 2025 - Jan Engelhardt <jengelh@inai.de>
- Update to release 4.15
* graph: graphviz: use PDF instead of PS
* polytope: MILP: allow non-rational coordinates
* Some bugfixes
-------------------------------------------------------------------
Thu Sep 11 20:16:25 UTC 2025 - Jan Engelhardt <jengelh@inai.de>
- Specifically request pkgconfig(cddgmp) now that it exists.
-------------------------------------------------------------------
Sat Jul 5 14:22:38 UTC 2025 - Jan Engelhardt <jengelh@inai.de>
- Update to release 4.14
* tropical: cone: refactoring and fixes for DOME, COVECTORs and
PSEUDOVERTICES
* tropical: polytope: fix vertices computation
* tropical: hypersurface: fixes for monomials and binomials
- Drop gcc15.patch (merged)
-------------------------------------------------------------------
Sun Jun 22 20:52:12 UTC 2025 - Jan Engelhardt <jengelh@inai.de>
- Add gcc15.patch
-------------------------------------------------------------------
Tue Sep 24 14:28:29 UTC 2024 - Jan Engelhardt <jengelh@inai.de>
- Update to release 4.13
* Support for Perl 5.40 and -std=c++20 builds
-------------------------------------------------------------------
Sun Aug 18 22:05:59 UTC 2024 - Jan Engelhardt <jengelh@inai.de>

View File

@@ -1,7 +1,7 @@
#
# spec file for package polymake
#
# Copyright (c) 2024 SUSE LLC
# Copyright (c) 2026 SUSE LLC and contributors
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -16,40 +16,47 @@
#
%define lname libpolymake4_12
%define lname libpolymake4_15
Name: polymake
Version: 4.12
Version: 4.15
Release: 0
Summary: Application for studying combinatorics and geometry of convex polytopes
License: GPL-2.0-or-later
Group: Productivity/Scientific/Math
URL: https://polymake.org/
Source: https://github.com/polymake/polymake/archive/V%version.tar.gz
Source: https://github.com/polymake/polymake/releases/download/V%version/polymake-%version-minimal.tar.bz2
Source9: %name-rpmlintrc
Patch2: sympol-system.patch
Patch3: perl.patch
BuildRequires: bliss-devel
BuildRequires: cddlib-devel
BuildRequires: fdupes
BuildRequires: flint-devel
BuildRequires: gcc-c++ >= 5
BuildRequires: gmp-devel >= 4.2
BuildRequires: libSingular-devel
BuildRequires: libboost_headers-devel
BuildRequires: libxml2-tools
BuildRequires: libxslt-tools
BuildRequires: lrslib-devel >= 7.1b
BuildRequires: memory-constraints
BuildRequires: mpfr-devel
BuildRequires: ninja
BuildRequires: normaliz-devel
BuildRequires: perl
BuildRequires: ppl-devel
BuildRequires: readline-devel >= 5
BuildRequires: sympol-devel
BuildRequires: perl(JSON)
BuildRequires: perl(Term::ReadKey)
BuildRequires: perl(Term::ReadLine::Gnu)
BuildRequires: perl(XML::SAX)
BuildRequires: pkgconfig(Singular)
BuildRequires: pkgconfig(cddgmp)
BuildRequires: pkgconfig(flint)
BuildRequires: pkgconfig(libxml-2.0)
BuildRequires: pkgconfig(mpfr)
BuildRequires: pkgconfig(readline) >= 5
%if 0%{?suse_version} >= 1690
BuildRequires: pkgconfig(libbson-1.0)
BuildRequires: pkgconfig(libmongoc-1.0)
%endif
Requires: perl(JSON)
Requires: perl(Term::ReadKey)
Requires: perl(Term::ReadLine::Gnu)
@@ -74,6 +81,16 @@ convex polytopes and polyhedra. It is also capable of dealing with
simplicial complexes, matroids, polyhedral fans, graphs, tropical
objects, and other objects.
%package -n %lname
Summary: Library for studying combinatorics and geometry of convex polytopes
Group: System/Libraries
%description -n %lname
polymake is a tool to study the combinatorics and the geometry of
convex polytopes and polyhedra. It is also capable of dealing with
simplicial complexes, matroids, polyhedral fans, graphs, tropical
objects, and other objects.
%package devel
Summary: Development files for Polymake plugins
Group: Development/Libraries/C and C++
@@ -95,7 +112,7 @@ rm -rf bundled/libnormaliz/external
./configure --prefix="%_prefix" --libdir="%_libdir" \
--libexecdir="%_libdir/%name-%version" --without-native \
--with-bliss="%_prefix" --with-sympol="%_prefix" --with-cdd="%_prefix" \
--with-permlib="%_prefix" --with-lrs="%_prefix" --without-callable \
--with-permlib="%_prefix" --with-lrs="%_prefix" \
CFLAGS="%optflags" CXXFLAGS="%optflags -g0" CXXOPT="%optflags"
# can't replace limit_build by _constraints file:
# * asking memoryperjob=3400 -> unsatisfiable i586 workers
@@ -109,6 +126,8 @@ make NINJA="ninja %{?_smp_mflags} -v"
find "%buildroot/%_includedir" -type f -exec chmod a-x {} +
%fdupes %buildroot/%_prefix
%ldconfig_scriptlets -n %lname
%files
%_bindir/polymake
%_datadir/polymake/
@@ -117,8 +136,12 @@ find "%buildroot/%_includedir" -type f -exec chmod a-x {} +
%doc ChangeLog
%license COPYING
%files -n %lname
%_libdir/libpolymake*.so.*
%files devel
%_bindir/polymake-config
%_includedir/polymake/
%_libdir/libpolymake*.so
%changelog