SHA256
10
0
forked from pool/polymake

4 Commits

Author SHA256 Message Date
7829f5e5e7 Enable polyDB 2026-01-13 21:40:05 +01:00
680ef020be Reenable callable library mode 2026-01-13 19:09:31 +01:00
aa680b1bed polymake 4.15 2025-10-01 09:24:24 +02:00
75e4451a1c Request pkgconfig(cddgmp) 2025-09-11 22:18:55 +02:00
4 changed files with 55 additions and 12 deletions

Binary file not shown.

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

Binary file not shown.

View File

@@ -1,3 +1,27 @@
-------------------------------------------------------------------
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>

View File

@@ -1,7 +1,7 @@
#
# spec file for package polymake
#
# Copyright (c) 2025 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,17 +16,16 @@
#
%define lname libpolymake4_14
%define lname libpolymake4_15
Name: polymake
Version: 4.14
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/releases/download/V4.14/polymake-4.14-minimal.tar.bz2
Source: polymake-4.14-minimal.tar.bz2
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
@@ -42,18 +41,22 @@ BuildRequires: memory-constraints
BuildRequires: ninja
BuildRequires: normaliz-devel
BuildRequires: perl
BuildRequires: ppl-devel
BuildRequires: sympol-devel
BuildRequires: perl(JSON)
BuildRequires: perl(Term::ReadKey)
BuildRequires: perl(Term::ReadLine::Gnu)
BuildRequires: perl(XML::SAX)
BuildRequires: pkgconfig(Singular)
BuildRequires: pkgconfig(cddlib)
BuildRequires: pkgconfig(cddgmp)
BuildRequires: pkgconfig(flint)
BuildRequires: pkgconfig(libxml-2.0)
BuildRequires: pkgconfig(mpfr)
BuildRequires: pkgconfig(readline) >= 5
BuildRequires: ppl-devel
BuildRequires: sympol-devel
%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)
@@ -78,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++
@@ -99,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
@@ -113,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/
@@ -121,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