5 Commits

Author SHA256 Message Date
0901dfa214 polymake 4.14 2025-07-05 20:00:31 +02:00
d8d5e7cbb2 Add gcc15.patch 2025-06-22 22:52:33 +02:00
4d75ffd5b3 polymake 4.13 2024-09-24 16:29:00 +02:00
83d3dd6e6a Add perl.patch 2024-08-19 00:16:44 +02:00
d90b13b71a Synchronize with OBS 2024-08-19 00:04:18 +02:00
5 changed files with 110 additions and 40 deletions

BIN
V4.10.tar.gz LFS

Binary file not shown.

20
perl.patch Normal file
View File

@@ -0,0 +1,20 @@
From: Jan Engelhardt <jengelh@inai.de>
Date: 2024-08-19 00:11 +0200
Unconstrain perl.
---
support/configure.pl | 1 -
1 file changed, 1 deletion(-)
Index: polymake-4.12/support/configure.pl
===================================================================
--- polymake-4.12.orig/support/configure.pl
+++ polymake-4.12/support/configure.pl
@@ -47,7 +47,6 @@ command if you want to use libpolymake (
install all required perl modules which are listed after running configure
again with the new perl.
.
- exit(1);
}
}

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

Binary file not shown.

View File

@@ -1,3 +1,55 @@
-------------------------------------------------------------------
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>
- Add perl.patch, unconstrain perl version
-------------------------------------------------------------------
Fri May 17 12:22:28 UTC 2024 - Jan Engelhardt <jengelh@inai.de>
- Update to release 4.12
* fan: fix min_weights for trivial subdivisions
* graph: rename Lattice to PartiallyOrderedSet
(keep compat aliases)
* improve order and chain polytope
* topaz: many Nevo-Santos-Wilson triangulated spheres
-------------------------------------------------------------------
Thu Nov 9 07:47:16 UTC 2023 - Jan Engelhardt <jengelh@inai.de>
- polymake uses a number of external programs; add them as
Suggests.
-------------------------------------------------------------------
Mon Nov 6 14:08:20 UTC 2023 - Jan Engelhardt <jengelh@inai.de>
- Update to release 4.11
* Support for Perl 5.38 (but only < 5.40)
* polydb: new libmongoc interface to polydb (bundled:polydb)
* polydb: Perl interface removed
* check_fan: several fixes, including for trivial fans
* random_matroid: new client
-------------------------------------------------------------------
Tue Jun 13 01:03:57 UTC 2023 - Jan Engelhardt <jengelh@inai.de>

View File

@@ -1,7 +1,7 @@
#
# spec file for package polymake
#
# Copyright (c) 2023 SUSE LLC
# Copyright (c) 2025 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -16,22 +16,22 @@
#
%define lname libpolymake4_10
%define lname libpolymake4_14
Name: polymake
Version: 4.10
Version: 4.14
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/V4.14/polymake-4.14-minimal.tar.bz2
Source: polymake-4.14-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: libboost_headers-devel
@@ -39,20 +39,38 @@ BuildRequires: libxml2-tools
BuildRequires: libxslt-tools
BuildRequires: lrslib-devel >= 7.1b
BuildRequires: memory-constraints
BuildRequires: mpfr-devel
BuildRequires: ninja
BuildRequires: normaliz-devel
BuildRequires: perl-base >= 5.8.1
BuildRequires: ppl-devel
BuildRequires: readline-devel >= 5
BuildRequires: sympol-devel
BuildRequires: perl
BuildRequires: perl(JSON)
BuildRequires: perl(Term::ReadKey)
BuildRequires: perl(Term::ReadLine::Gnu)
BuildRequires: perl(XML::LibXML)
BuildRequires: perl(XML::LibXSLT)
BuildRequires: perl(XML::Writer)
BuildRequires: perl(XML::SAX)
BuildRequires: pkgconfig(Singular)
BuildRequires: pkgconfig(cddlib)
BuildRequires: pkgconfig(flint)
BuildRequires: pkgconfig(libxml-2.0)
BuildRequires: pkgconfig(mpfr)
BuildRequires: pkgconfig(readline) >= 5
BuildRequires: ppl-devel
BuildRequires: sympol-devel
Requires: perl(JSON)
Requires: perl(Term::ReadKey)
Requires: perl(Term::ReadLine::Gnu)
Requires: perl(XML::SAX)
Suggests: 4ti2
Suggests: azove
Suggests: gfan
Suggests: graphviz
Suggests: latte
Suggests: plantri
Suggests: povray
Suggests: qhull
Suggests: web_browser
Suggests: vinci
Suggests: mimehandler(application/pdf)
#Suggests: porta <https://porta.zib.de/>
# web_browser used for displaying SVG
%description
polymake is a tool to study the combinatorics and the geometry of
@@ -60,20 +78,10 @@ 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 the polymake library
Summary: Development files for Polymake plugins
Group: Development/Libraries/C and C++
Requires: %lname = %version-%release
Requires: %name = %version
%description devel
polymake is a tool to study the combinatorics and the geometry of
@@ -91,7 +99,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" \
--with-permlib="%_prefix" --with-lrs="%_prefix" --without-callable \
CFLAGS="%optflags" CXXFLAGS="%optflags -g0" CXXOPT="%optflags"
# can't replace limit_build by _constraints file:
# * asking memoryperjob=3400 -> unsatisfiable i586 workers
@@ -103,14 +111,8 @@ make NINJA="ninja %{?_smp_mflags} -v"
%install
%make_install
find "%buildroot/%_includedir" -type f -exec chmod a-x {} +
mv "%buildroot/%_libdir/polymake-%version/lib"/libp* "%buildroot/%_libdir/"
# zero size file, why
rm -f "%buildroot/%_libdir/polymake-%version/lib/ideal.so"
%fdupes %buildroot/%_prefix
%post -n %lname -p /sbin/ldconfig
%postun -n %lname -p /sbin/ldconfig
%files
%_bindir/polymake
%_datadir/polymake/
@@ -119,12 +121,8 @@ rm -f "%buildroot/%_libdir/polymake-%version/lib/ideal.so"
%doc ChangeLog
%license COPYING
%files -n %lname
%_libdir/libpolymake*.so.%version
%files devel
%_bindir/polymake-config
%_includedir/polymake/
%_libdir/libpoly*.so
%changelog