Compare commits

...

3 Commits

Author SHA256 Message Date
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 88 additions and 36 deletions

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:61f5b485c936bf73e6ec45a9251c2253ef4d7b11531658908e1865312379ec09
size 47488193

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.13-minimal.tar.bz2 (Stored with Git LFS) Normal file

Binary file not shown.

View File

@ -1,3 +1,40 @@
-------------------------------------------------------------------
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> Tue Jun 13 01:03:57 UTC 2023 - Jan Engelhardt <jengelh@inai.de>

View File

@ -1,7 +1,7 @@
# #
# spec file for package polymake # spec file for package polymake
# #
# Copyright (c) 2023 SUSE LLC # Copyright (c) 2024 SUSE LLC
# #
# All modifications and additions to the file contributed by third parties # All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed # remain the property of their copyright owners, unless otherwise agreed
@ -16,24 +16,27 @@
# #
%define lname libpolymake4_10 %define lname libpolymake4_13
Name: polymake Name: polymake
Version: 4.10 Version: 4.13
Release: 0 Release: 0
Summary: Application for studying combinatorics and geometry of convex polytopes Summary: Application for studying combinatorics and geometry of convex polytopes
License: GPL-2.0-or-later License: GPL-2.0-or-later
Group: Productivity/Scientific/Math Group: Productivity/Scientific/Math
URL: https://polymake.org/ URL: https://polymake.org/
Source: https://github.com/polymake/polymake/archive/V%version.tar.gz Source: https://github.com/polymake/polymake/releases/download/V4.13/polymake-4.13-minimal.tar.bz2
Source: polymake-4.13-minimal.tar.bz2
Source9: %name-rpmlintrc Source9: %name-rpmlintrc
Patch2: sympol-system.patch Patch2: sympol-system.patch
Patch3: perl.patch
BuildRequires: bliss-devel BuildRequires: bliss-devel
BuildRequires: cddlib-devel BuildRequires: cddlib-devel
BuildRequires: fdupes BuildRequires: fdupes
BuildRequires: flint-devel BuildRequires: flint-devel
BuildRequires: gcc-c++ >= 5 BuildRequires: gcc-c++ >= 5
BuildRequires: gmp-devel >= 4.2 BuildRequires: gmp-devel >= 4.2
BuildRequires: libSingular-devel
BuildRequires: libboost_headers-devel BuildRequires: libboost_headers-devel
BuildRequires: libxml2-tools BuildRequires: libxml2-tools
BuildRequires: libxslt-tools BuildRequires: libxslt-tools
@ -42,17 +45,29 @@ BuildRequires: memory-constraints
BuildRequires: mpfr-devel BuildRequires: mpfr-devel
BuildRequires: ninja BuildRequires: ninja
BuildRequires: normaliz-devel BuildRequires: normaliz-devel
BuildRequires: perl-base >= 5.8.1 BuildRequires: perl
BuildRequires: ppl-devel BuildRequires: ppl-devel
BuildRequires: readline-devel >= 5 BuildRequires: readline-devel >= 5
BuildRequires: sympol-devel BuildRequires: sympol-devel
BuildRequires: perl(JSON) 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: pkgconfig(libxml-2.0) BuildRequires: pkgconfig(libxml-2.0)
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 %description
polymake is a tool to study the combinatorics and the geometry of polymake is a tool to study the combinatorics and the geometry of
@ -60,20 +75,10 @@ convex polytopes and polyhedra. It is also capable of dealing with
simplicial complexes, matroids, polyhedral fans, graphs, tropical simplicial complexes, matroids, polyhedral fans, graphs, tropical
objects, and other objects. 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 %package devel
Summary: Development files for the polymake library Summary: Development files for Polymake plugins
Group: Development/Libraries/C and C++ Group: Development/Libraries/C and C++
Requires: %lname = %version-%release Requires: %name = %version
%description devel %description devel
polymake is a tool to study the combinatorics and the geometry of polymake is a tool to study the combinatorics and the geometry of
@ -91,7 +96,7 @@ rm -rf bundled/libnormaliz/external
./configure --prefix="%_prefix" --libdir="%_libdir" \ ./configure --prefix="%_prefix" --libdir="%_libdir" \
--libexecdir="%_libdir/%name-%version" --without-native \ --libexecdir="%_libdir/%name-%version" --without-native \
--with-bliss="%_prefix" --with-sympol="%_prefix" --with-cdd="%_prefix" \ --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" CFLAGS="%optflags" CXXFLAGS="%optflags -g0" CXXOPT="%optflags"
# can't replace limit_build by _constraints file: # can't replace limit_build by _constraints file:
# * asking memoryperjob=3400 -> unsatisfiable i586 workers # * asking memoryperjob=3400 -> unsatisfiable i586 workers
@ -103,14 +108,8 @@ make NINJA="ninja %{?_smp_mflags} -v"
%install %install
%make_install %make_install
find "%buildroot/%_includedir" -type f -exec chmod a-x {} + 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 %fdupes %buildroot/%_prefix
%post -n %lname -p /sbin/ldconfig
%postun -n %lname -p /sbin/ldconfig
%files %files
%_bindir/polymake %_bindir/polymake
%_datadir/polymake/ %_datadir/polymake/
@ -119,12 +118,8 @@ rm -f "%buildroot/%_libdir/polymake-%version/lib/ideal.so"
%doc ChangeLog %doc ChangeLog
%license COPYING %license COPYING
%files -n %lname
%_libdir/libpolymake*.so.%version
%files devel %files devel
%_bindir/polymake-config %_bindir/polymake-config
%_includedir/polymake/ %_includedir/polymake/
%_libdir/libpoly*.so
%changelog %changelog