Compare commits
2 Commits
| Author | SHA256 | Date | |
|---|---|---|---|
| 83d3dd6e6a | |||
| d90b13b71a |
BIN
V4.10.tar.gz
LFS
BIN
V4.10.tar.gz
LFS
Binary file not shown.
BIN
V4.12.tar.gz
LFS
Normal file
BIN
V4.12.tar.gz
LFS
Normal file
Binary file not shown.
20
perl.patch
Normal file
20
perl.patch
Normal 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);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,3 +1,34 @@
|
||||
-------------------------------------------------------------------
|
||||
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>
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
#
|
||||
# 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
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
@@ -16,9 +16,9 @@
|
||||
#
|
||||
|
||||
|
||||
%define lname libpolymake4_10
|
||||
%define lname libpolymake4_12
|
||||
Name: polymake
|
||||
Version: 4.10
|
||||
Version: 4.12
|
||||
Release: 0
|
||||
Summary: Application for studying combinatorics and geometry of convex polytopes
|
||||
License: GPL-2.0-or-later
|
||||
@@ -28,12 +28,14 @@ URL: https://polymake.org/
|
||||
Source: https://github.com/polymake/polymake/archive/V%version.tar.gz
|
||||
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
|
||||
@@ -42,17 +44,29 @@ BuildRequires: memory-constraints
|
||||
BuildRequires: mpfr-devel
|
||||
BuildRequires: ninja
|
||||
BuildRequires: normaliz-devel
|
||||
BuildRequires: perl-base >= 5.8.1
|
||||
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::LibXML)
|
||||
BuildRequires: perl(XML::LibXSLT)
|
||||
BuildRequires: perl(XML::Writer)
|
||||
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
|
||||
polymake is a tool to study the combinatorics and the geometry of
|
||||
@@ -60,20 +74,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 +95,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 +107,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 +117,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
|
||||
|
||||
Reference in New Issue
Block a user