rpmbuild sagemath 10.1 on Fedora 38

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi!,

I'm trying to rpmbild  sagemath 10.1 on Fedora 38, but I gave an error.
See the attached files sagemath.spec and sagemath.log.

Any help would be appreciated.

Thanks in advance.

Rafel Amer
Thecnical University of Catlonia
setting SOURCE_DATE_EPOCH=1678665600
Execució(%prep): /bin/sh -e /var/tmp/rpm-tmp.bGD0BS
+ umask 022
+ cd /root/rpmbuild/BUILD
+ cd /root/rpmbuild/BUILD
+ rm -rf sage-10.1
+ /usr/lib/rpm/rpmuncompress -x /root/rpmbuild/SOURCES/sage-10.1.tar.gz
+ STATUS=0
+ '[' 0 -ne 0 ']'
+ cd sage-10.1
+ /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w .
+ cd /root/rpmbuild/BUILD
+ cd sage-10.1
+ /usr/lib/rpm/rpmuncompress -x /root/rpmbuild/SOURCES/cremona-2019-10-29.tar.gz
+ STATUS=0
+ '[' 0 -ne 0 ']'
+ /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w .
+ pushd build/pkgs/combinatorial_designs
~/rpmbuild/BUILD/sage-10.1/build/pkgs/combinatorial_designs ~/rpmbuild/BUILD/sage-10.1
+ tar jxf ../../../upstream/combinatorial_designs-20140630.tar.bz2
+ mv combinatorial_designs-20140630 src
+ popd
~/rpmbuild/BUILD/sage-10.1
+ pushd build/pkgs/conway_polynomials
~/rpmbuild/BUILD/sage-10.1/build/pkgs/conway_polynomials ~/rpmbuild/BUILD/sage-10.1
+ tar jxf ../../../upstream/conway_polynomials-0.5.tar.bz2
+ mv conway_polynomials-0.5 src
+ popd
~/rpmbuild/BUILD/sage-10.1
+ pushd build/pkgs/elliptic_curves
~/rpmbuild/BUILD/sage-10.1/build/pkgs/elliptic_curves ~/rpmbuild/BUILD/sage-10.1
+ tar jxf ../../../upstream/elliptic_curves-0.8.1.tar.bz2
+ mv elliptic_curves-0.8.1 src
+ popd
~/rpmbuild/BUILD/sage-10.1
+ pushd build/pkgs/graphs
~/rpmbuild/BUILD/sage-10.1/build/pkgs/graphs ~/rpmbuild/BUILD/sage-10.1
+ tar jxf ../../../upstream/graphs-20210214.tar.bz2
+ mv graphs-20210214 src
+ popd
~/rpmbuild/BUILD/sage-10.1
+ pushd build/pkgs/jupyter_jsmol
~/rpmbuild/BUILD/sage-10.1/build/pkgs/jupyter_jsmol ~/rpmbuild/BUILD/sage-10.1
+ tar zxf ../../../upstream/jupyter_jsmol-2022.1.0.tar.gz
+ mv jupyter_jsmol-2022.1.0 src
+ popd
~/rpmbuild/BUILD/sage-10.1
+ pushd build/pkgs/memory_allocator
~/rpmbuild/BUILD/sage-10.1/build/pkgs/memory_allocator ~/rpmbuild/BUILD/sage-10.1
+ tar zxf ../../../upstream/memory_allocator-0.1.3.tar.gz
+ mv memory_allocator-0.1.3 src
+ popd
~/rpmbuild/BUILD/sage-10.1
+ pushd build/pkgs/polytopes_db
~/rpmbuild/BUILD/sage-10.1/build/pkgs/polytopes_db ~/rpmbuild/BUILD/sage-10.1
+ tar jxf ../../../upstream/polytopes_db-20170220.tar.bz2
+ mv polytopes_db-20170220 src
+ popd
~/rpmbuild/BUILD/sage-10.1
+ pushd build/pkgs/sagetex
~/rpmbuild/BUILD/sage-10.1/build/pkgs/sagetex ~/rpmbuild/BUILD/sage-10.1
+ tar zxf ../../../upstream/sagetex-3.6.1.tar.gz
+ mv sagetex-3.6.1 src
++ cut -d/ -f3-
+ texmfdir=share/texlive/texmf-local
+ sed -i s,share/texmf,share/texlive/texmf-local, src/setup.py
+ popd
~/rpmbuild/BUILD/sage-10.1
+ pushd build/pkgs/threejs
~/rpmbuild/BUILD/sage-10.1/build/pkgs/threejs ~/rpmbuild/BUILD/sage-10.1
+ tar zxf ../../../upstream/threejs-sage-r122.tar.gz
+ mv threejs-sage-r122 src
+ popd
~/rpmbuild/BUILD/sage-10.1
+ sed -i 's|@@SAGE_LOCAL@@|/usr/lib64/sagemath/local|' src/sage/env.py
+ sed -e 's|@@CYSIGNALS@@|/usr/lib64/python3.11/site-packages/cysignals|' -e 's|@@BUILDROOT@@|/root/rpmbuild/BUILDROOT/sagemath-10.1-1.fc38.x86_64|' -i src/sage_setup/command/sage_build_cython.py
+ find src/sage '(' -name '*.pyx' -o -name '*.pxd' ')' -exec touch '{}' +
+ grep -FrlZ '#!/usr/bin/env python3'
+ xargs -0 sed -i 's,#!/usr/bin/env python3,#!/usr/bin/python3,g'
+ grep -FrlZ '#!/usr/bin/env python'
+ xargs -0 sed -i 's,#!/usr/bin/env python,#!/usr/bin/python3,g'
+ grep -FrlZ '#!/usr/bin/env sage-bootstrap-python'
+ xargs -0 sed -i 's,#!/usr/bin/env sage-bootstrap-python,#!/usr/bin/python3,g'
+ grep -FrlZ '#!/usr/bin/env sage-python'
+ xargs -0 sed -i 's,#!/usr/bin/env sage-python,#!/usr/bin/python3,g'
+ grep -FrlZ '#!/usr/bin/env'
+ xargs -0 sed -i 's,#!/usr/bin/env ,#!/usr/bin/,'
+ grep -rlZ '#!/usr/bin/python$'
+ xargs -0 sed -i 's,#!/usr/bin/python$,&3,'
+ sed -i 's,/usr/bin/env python,/usr/bin/python3,' build/pkgs/sagetex/src/sagetex.ins
+ sed -i 's,/usr/bin/python,&3,' src/sage/misc/dev_tools.py
+ sed -e s,local/bin/python,bin/python, -e 's,#!/usr/bin/python,&3,' -i src/sage/repl/preparse.py
+ chmod a-x src/sage/modules/fp_graded/all.py src/sage/modules/fp_graded/element.py src/sage/modules/fp_graded/free_element.py src/sage/modules/fp_graded/free_homspace.py src/sage/modules/fp_graded/free_module.py src/sage/modules/fp_graded/free_morphism.py src/sage/modules/fp_graded/homspace.py src/sage/modules/fp_graded/module.py src/sage/modules/fp_graded/morphism.py src/sage/modules/fp_graded/steenrod/all.py src/sage/modules/fp_graded/steenrod/homspace.py src/sage/modules/fp_graded/steenrod/module.py src/sage/modules/fp_graded/steenrod/morphism.py src/sage/modules/fp_graded/steenrod/profile.py
+ sed -i s/64m/256m/ src/sage/interfaces/gap.py
+ sed -i s/yum/rpm/ build/bin/sage-guess-package-system
+ sed -i 's/1\[3-9\].*)/1[4-9].*)/' configure
+ sed -i s/20220621/20221012/g configure
+ sed -i 's/CFLAGS_MARCH="-march=native"/CFLAGS_MARCH=""/' configure
+ RPM_EC=0
++ jobs -p
+ exit 0
Execució(%build): /bin/sh -e /var/tmp/rpm-tmp.IhfsIl
+ umask 022
+ cd /root/rpmbuild/BUILD
+ CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1  -m64  -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer '
+ export CFLAGS
+ CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1  -m64  -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer '
+ export CXXFLAGS
+ FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1  -m64  -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib64/gfortran/modules '
+ export FFLAGS
+ FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1  -m64  -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib64/gfortran/modules '
+ export FCFLAGS
+ VALAFLAGS=-g
+ export VALAFLAGS
+ LDFLAGS='-Wl,-z,relro -Wl,--as-needed  -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1  -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes '
+ export LDFLAGS
+ LT_SYS_LIBRARY_PATH=/usr/lib64:
+ export LT_SYS_LIBRARY_PATH
+ CC=gcc
+ export CC
+ CXX=g++
+ export CXX
+ cd sage-10.1
+ export LC_ALL=C.UTF-8
+ LC_ALL=C.UTF-8
+ export 'CPPFLAGS=-I/usr/include/4ti2 -I/usr/include/arb -I/usr/include/cddlib'
+ CPPFLAGS='-I/usr/include/4ti2 -I/usr/include/arb -I/usr/include/cddlib'
+ export ECMBIN=/usr/bin/gmp-ecm
+ ECMBIN=/usr/bin/gmp-ecm
+ export SAGE_ROOT=/root/rpmbuild/BUILDROOT/sagemath-10.1-1.fc38.x86_64/usr/lib64/sagemath
+ SAGE_ROOT=/root/rpmbuild/BUILDROOT/sagemath-10.1-1.fc38.x86_64/usr/lib64/sagemath
+ export SAGE_LOCAL=/root/rpmbuild/BUILDROOT/sagemath-10.1-1.fc38.x86_64/usr/lib64/sagemath/local
+ SAGE_LOCAL=/root/rpmbuild/BUILDROOT/sagemath-10.1-1.fc38.x86_64/usr/lib64/sagemath/local
+ export SAGE_SRC=/root/rpmbuild/BUILD/sage-10.1/src
+ SAGE_SRC=/root/rpmbuild/BUILD/sage-10.1/src
+ export SAGE_INC=/usr/include
+ SAGE_INC=/usr/include
+ export DESTDIR=/root/rpmbuild/BUILDROOT/sagemath-10.1-1.fc38.x86_64
+ DESTDIR=/root/rpmbuild/BUILDROOT/sagemath-10.1-1.fc38.x86_64
+ export SAGE_DEBUG=no
+ SAGE_DEBUG=no
+ export DOT_SAGE=/tmp/sage23940
+ DOT_SAGE=/tmp/sage23940
+ mkdir -p /tmp/sage23940/tmp
+ export SAGE_CYTHONIZED=/root/rpmbuild/BUILD/sage-10.1/src/build/cythonized
+ SAGE_CYTHONIZED=/root/rpmbuild/BUILD/sage-10.1/src/build/cythonized
+ mkdir -p /root/rpmbuild/BUILDROOT/sagemath-10.1-1.fc38.x86_64/usr/lib64/sagemath /root/rpmbuild/BUILDROOT/sagemath-10.1-1.fc38.x86_64/usr/lib64/sagemath/local
+ ln -sf /usr/lib64 /root/rpmbuild/BUILDROOT/sagemath-10.1-1.fc38.x86_64/usr/lib64/sagemath/local/lib
+ ln -sf /usr/include /root/rpmbuild/BUILDROOT/sagemath-10.1-1.fc38.x86_64/usr/lib64/sagemath/local/include
+ ln -sf /usr/share /root/rpmbuild/BUILDROOT/sagemath-10.1-1.fc38.x86_64/usr/lib64/sagemath/local/share
+ export PATH=/root/rpmbuild/BUILDROOT/sagemath-10.1-1.fc38.x86_64/usr/bin:/root/.local/bin:/root/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin
+ PATH=/root/rpmbuild/BUILDROOT/sagemath-10.1-1.fc38.x86_64/usr/bin:/root/.local/bin:/root/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin
+ export PYTHON=/usr/bin/python3
+ PYTHON=/usr/bin/python3
+ export PYTHONPATH=/root/rpmbuild/BUILDROOT/sagemath-10.1-1.fc38.x86_64/usr/lib64/python3.11/site-packages:/root/rpmbuild/BUILDROOT/sagemath-10.1-1.fc38.x86_64/usr/lib/python3.11/site-packages:
+ PYTHONPATH=/root/rpmbuild/BUILDROOT/sagemath-10.1-1.fc38.x86_64/usr/lib64/python3.11/site-packages:/root/rpmbuild/BUILDROOT/sagemath-10.1-1.fc38.x86_64/usr/lib/python3.11/site-packages:
+ module load 4ti2-x86_64
+ '[' -z '' ']'
+ case "$-" in
+ __lmod_sh_dbg=x
+ '[' -n x ']'
+ set +x
Shell debugging temporarily silenced: export LMOD_SH_DBG_ON=1 for Lmod's output
Shell debugging restarted
+ unset __lmod_sh_dbg
+ return 0
+ module load lrcalc-x86_64
+ '[' -z '' ']'
+ case "$-" in
+ __lmod_sh_dbg=x
+ '[' -n x ']'
+ set +x
Shell debugging temporarily silenced: export LMOD_SH_DBG_ON=1 for Lmod's output
Shell debugging restarted
+ unset __lmod_sh_dbg
+ return 0
+ module load surf-geometry-x86_64
+ '[' -z '' ']'
+ case "$-" in
+ __lmod_sh_dbg=x
+ '[' -n x ']'
+ set +x
Shell debugging temporarily silenced: export LMOD_SH_DBG_ON=1 for Lmod's output
Shell debugging restarted
+ unset __lmod_sh_dbg
+ return 0
+ polymake --reconfigure -
+ export 'GSL_LIBS=-lgsl -lflexiblas -lm'
+ GSL_LIBS='-lgsl -lflexiblas -lm'
+ CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1  -m64  -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer '
+ export CFLAGS
+ CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1  -m64  -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer '
+ export CXXFLAGS
+ FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1  -m64  -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib64/gfortran/modules '
+ export FFLAGS
+ FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1  -m64  -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib64/gfortran/modules '
+ export FCFLAGS
+ VALAFLAGS=-g
+ export VALAFLAGS
+ LDFLAGS='-Wl,-z,relro -Wl,--as-needed  -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1  -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes '
+ export LDFLAGS
+ LT_SYS_LIBRARY_PATH=/usr/lib64:
+ export LT_SYS_LIBRARY_PATH
+ CC=gcc
+ export CC
+ CXX=g++
+ export CXX
+ '[' '-flto=auto -ffat-lto-objectsx' '!=' x ']'
++ find . -type f -name configure -print
+ for file in $(find . -type f -name configure -print)
+ /usr/bin/sed -r --in-place=.backup 's/^char \(\*f\) \(\) = /__attribute__ ((used)) char (*f) () = /g' ./configure
+ diff -u ./configure.backup ./configure
+ mv ./configure.backup ./configure
+ /usr/bin/sed -r --in-place=.backup 's/^char \(\*f\) \(\);/__attribute__ ((used)) char (*f) ();/g' ./configure
+ diff -u ./configure.backup ./configure
+ mv ./configure.backup ./configure
+ /usr/bin/sed -r --in-place=.backup 's/^char \$2 \(\);/__attribute__ ((used)) char \$2 ();/g' ./configure
+ diff -u ./configure.backup ./configure
--- ./configure.backup	2023-12-08 13:20:36.568434143 +0100
+++ ./configure	2023-12-08 13:20:39.223055871 +0100
@@ -3909,7 +3909,7 @@
 #ifdef __cplusplus
 extern "C"
 #endif
-char $2 ();
+__attribute__ ((used)) char $2 ();
 /* The GNU C library defines this for functions which it implements
     to always fail with ENOSYS.  Some functions are actually named
     something starting with __ and the normal name is an alias.  */
+ /usr/bin/sed --in-place=.backup '1{$!N;$!N};$!N;s/int x = 1;\nint y = 0;\nint z;\nint nan;/volatile int x = 1; volatile int y = 0; volatile int z, nan;/;P;D' ./configure
+ diff -u ./configure.backup ./configure
+ mv ./configure.backup ./configure
+ /usr/bin/sed --in-place=.backup 's#^lt_cv_sys_global_symbol_to_cdecl=.*#lt_cv_sys_global_symbol_to_cdecl="sed -n -e '\''s/^T .* \\(.*\\)$/extern int \\1();/p'\'' -e '\''s/^$symcode* .* \\(.*\\)$/extern char \\1;/p'\''"#' ./configure
+ diff -u ./configure.backup ./configure
+ mv ./configure.backup ./configure
+ '[' 1 = 1 ']'
+++ dirname ./configure
++ find . -name config.guess -o -name config.sub
+ for i in $(find $(dirname ./configure) -name config.guess -o -name config.sub)
++ basename ./config/config.guess
+ '[' -f /usr/lib/rpm/redhat/config.guess ']'
+ /usr/bin/rm -f ./config/config.guess
++ basename ./config/config.guess
+ /usr/bin/cp -fv /usr/lib/rpm/redhat/config.guess ./config/config.guess
'/usr/lib/rpm/redhat/config.guess' -> './config/config.guess'
+ for i in $(find $(dirname ./configure) -name config.guess -o -name config.sub)
++ basename ./config/config.sub
+ '[' -f /usr/lib/rpm/redhat/config.sub ']'
+ /usr/bin/rm -f ./config/config.sub
++ basename ./config/config.sub
+ /usr/bin/cp -fv /usr/lib/rpm/redhat/config.sub ./config/config.sub
'/usr/lib/rpm/redhat/config.sub' -> './config/config.sub'
+ '[' 1 = 1 ']'
+ '[' x '!=' 'x-Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' ']'
++ find . -name ltmain.sh
++ grep -q runstatedir=DIR ./configure
++ echo --runstatedir=/run
+ ./configure --build=x86_64-redhat-linux-gnu --host=x86_64-redhat-linux-gnu --program-prefix= --disable-dependency-tracking --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib64 --libexecdir=/usr/libexec --localstatedir=/var --runstatedir=/run --sharedstatedir=/var/lib --mandir=/usr/share/man --infodir=/usr/share/info --prefix=/root/rpmbuild/BUILDROOT/sagemath-10.1-1.fc38.x86_64/usr/lib64/sagemath/local --disable-rpath --disable-silent-rules --enable-4ti2 --enable-bliss --enable-cocoalib --enable-cryptominisat --enable-csdp --enable-database_cremona_ellcurve --enable-frobby --enable-mcqd --enable-meataxe --enable-qepcad --enable-saclib --enable-sirocco --enable-surf --enable-tdlib --enable-build-as-root
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a race-free mkdir -p... /usr/bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether make supports nested variables... yes
checking whether to enable maintainer-specific portions of Makefiles... yes
checking whether make supports the include directive... yes (GNU style)
checking for x86_64-redhat-linux-gnu-gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables... 
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether the compiler supports GNU C... yes
checking whether gcc accepts -g... yes
checking for gcc option to enable C11 features... none needed
checking whether gcc understands -c and -o together... yes
checking dependency style of gcc... none
checking build system type... x86_64-redhat-linux-gnu
checking host system type... x86_64-redhat-linux-gnu
checking for ld used by gcc... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for shared library run path origin... done
checking for a sed that does not truncate output... /usr/bin/sed
checking for ar... yes
checking for m4... yes
checking for x86_64-redhat-linux-gnu-pkg-config... /usr/bin/x86_64-redhat-linux-gnu-pkg-config
checking pkg-config is at least version 0.29... yes
checking for ranlib... yes
checking for strip... yes
checking for GNU or BSD tar... /usr/bin/tar
checking for GNU make... /usr/bin/make
checking for Python... /usr/bin/python3
checking for latex... yes
checking for perl... /usr/bin/perl
checking for Perl version 5.8.0 or later... yes
checking whether a conda environment is active... no
checking for x86_64-redhat-linux-gnu-gcc... (cached) gcc
checking whether the compiler supports GNU C... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking for gcc option to enable C11 features... (cached) none needed
checking whether gcc understands -c and -o together... (cached) yes
checking dependency style of gcc... (cached) none
checking how to run the C preprocessor... gcc -E
checking whether the compiler supports GNU C++... yes
checking whether g++ accepts -g... yes
checking for g++ option to enable C++11 features... none needed
checking dependency style of g++... none
checking for x86_64-redhat-linux-gnu-gfortran... no
checking for x86_64-redhat-linux-gnu-g95... no
checking for x86_64-redhat-linux-gnu-xlf95... no
checking for x86_64-redhat-linux-gnu-f95... no
checking for x86_64-redhat-linux-gnu-fort... no
checking for x86_64-redhat-linux-gnu-ifort... no
checking for x86_64-redhat-linux-gnu-ifc... no
checking for x86_64-redhat-linux-gnu-efc... no
checking for x86_64-redhat-linux-gnu-pgfortran... no
checking for x86_64-redhat-linux-gnu-pgf95... no
checking for x86_64-redhat-linux-gnu-lf95... no
checking for x86_64-redhat-linux-gnu-ftn... no
checking for x86_64-redhat-linux-gnu-nagfor... no
checking for x86_64-redhat-linux-gnu-xlf90... no
checking for x86_64-redhat-linux-gnu-f90... no
checking for x86_64-redhat-linux-gnu-pgf90... no
checking for x86_64-redhat-linux-gnu-pghpf... no
checking for x86_64-redhat-linux-gnu-epcf90... no
checking for x86_64-redhat-linux-gnu-g77... no
checking for x86_64-redhat-linux-gnu-xlf... no
checking for x86_64-redhat-linux-gnu-f77... no
checking for x86_64-redhat-linux-gnu-frt... no
checking for x86_64-redhat-linux-gnu-pgf77... no
checking for x86_64-redhat-linux-gnu-cf77... no
checking for x86_64-redhat-linux-gnu-fort77... no
checking for x86_64-redhat-linux-gnu-fl32... no
checking for x86_64-redhat-linux-gnu-af77... no
checking for gfortran... gfortran
checking whether the compiler supports GNU Fortran... yes
checking whether gfortran accepts -g... yes
checking for x86_64-redhat-linux-gnu-gcc... no
checking for x86_64-redhat-linux-gnu-objcc... no
checking for x86_64-redhat-linux-gnu-objc... no
checking for x86_64-redhat-linux-gnu-cc... no
checking for x86_64-redhat-linux-gnu-CC... no
checking for x86_64-redhat-linux-gnu-clang... no
checking for gcc... gcc
checking whether the compiler supports GNU Objective C... yes
checking whether gcc accepts -g... yes
checking dependency style of gcc... none
checking for x86_64-redhat-linux-gnu-g++... no
checking for x86_64-redhat-linux-gnu-objc++... no
checking for x86_64-redhat-linux-gnu-objcxx... no
checking for x86_64-redhat-linux-gnu-c++... no
checking for x86_64-redhat-linux-gnu-CXX... no
checking for g++... g++
checking whether the compiler supports GNU Objective C++... yes
checking whether g++ accepts -g... yes
checking dependency style of g++... none
checking for stdio.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for strings.h... yes
checking for sys/stat.h... yes
checking for sys/types.h... yes
checking for unistd.h... yes
checking for complex.h... yes
checking for sqrt in -lm... yes
-----------------------------------------------------------------------------
Checking whether SageMath should install SPKG gcc...
checking whether gcc is already installed in SAGE_LOCAL... no
checking for C compiler vendor... gnu
checking whether g++ supports C++11 features with -std=gnu++11... yes
checking if gcc accepts -dumpversion option... yes
checking gcc version... 13
checking if g++ accepts -dumpversion option... yes
checking g++ version... 13
checking whether C++ compiler accepts "-march=native"... yes
checking for OpenMP flag of C compiler... -fopenmp
checking for OpenMP flag of C++ compiler... -fopenmp
configure: will use system package and not install SPKG gcc
checking for the location of crti.o... /usr/lib/gcc/x86_64-redhat-linux/13/../../../../lib64
checking how to run the C++ preprocessor... g++ -std=gnu++11 -E
-----------------------------------------------------------------------------
Checking whether SageMath should install SPKG gmp...
checking for gmp.h... yes
checking for gmpxx.h... yes
checking for library containing __gmpq_cmp_z... -lgmp
configure: will use system package and not install SPKG gmp
checking absolute name of <gmp.h>... checking for gmp.h... (cached) yes
///usr/include/gmp.h
-----------------------------------------------------------------------------
Checking whether SageMath should install SPKG zlib...
checking for inflateEnd in -lz... yes
checking for zlib.h... yes
checking for LIBPNG... yes
configure: will use system package and not install SPKG zlib
-----------------------------------------------------------------------------
Checking whether SageMath should install SPKG glpk...
checking whether any of gmp zlib is installed as or will be installed as SPKG... no
checking for glpsol... /usr/bin/glpsol
checking for glpk.h... yes
checking for library containing glp_config... -lglpk
yes. Use system's glpk
configure: will use system package and not install SPKG glpk
using glpk from the system
-----------------------------------------------------------------------------
Checking whether SageMath should install SPKG 4ti2...
checking whether any of gmp glpk zlib is installed as or will be installed as SPKG... no
checking for hilbert... hilbert
checking for markov... markov
checking for graver... graver
checking for zsolve... zsolve
checking for qsolve... qsolve
checking for rays... rays
checking for ppi... ppi
checking for circuits... circuits
checking for groebner... groebner
checking for library 4ti2gmp... yes
configure: will use system package and not install SPKG 4ti2
-----------------------------------------------------------------------------
Checking whether SageMath should install SPKG tox...
checking for tox 3 >= 3.21.4 or tox 4 >= 4.0.15... 
configure: no suitable system package found for SPKG tox
-----------------------------------------------------------------------------
Checking whether SageMath should install SPKG virtualenv...
configure: no suitable system package found for SPKG virtualenv
-----------------------------------------------------------------------------
Checking whether SageMath should install SPKG appdirs...
configure: no suitable system package found for SPKG appdirs
-----------------------------------------------------------------------------
Checking whether SageMath should install SPKG mpfr...
checking whether any of gmp is installed as or will be installed as SPKG... no
checking for mpfr.h... yes
checking for library containing mpfr_free_pool... -lmpfr
configure: will use system package and not install SPKG mpfr
using mpfr library from the system
-----------------------------------------------------------------------------
Checking whether SageMath should install SPKG ntl...
checking whether any of gmp gcc is installed as or will be installed as SPKG... no
checking for NTL/ZZ.h... yes
checking whether we can link a program using NTL... yes
checking NTL version >= 10.3... yes
configure: will use system package and not install SPKG ntl
checking absolute name of <NTL/ZZ.h>... checking for NTL/ZZ.h... (cached) yes
///usr/include/NTL/ZZ.h
-----------------------------------------------------------------------------
Checking whether SageMath should install SPKG flint...
checking whether any of mpfr ntl is installed as or will be installed as SPKG... no
checking for flint/flint.h... yes
checking for library containing fmpz_mod_ctx_init... -lflint
checking for library containing fmpz_poly_get_ZZX... none required
checking that GC is not enabled in Flint... ... GC not enabled. Good.
configure: will use system package and not install SPKG flint
-----------------------------------------------------------------------------
Checking whether SageMath should install SPKG arb...
checking installing flint? ... checking for arb.h... yes
checking for acb_mat_eig_simple in -larb... yes
configure: will use system package and not install SPKG arb
-----------------------------------------------------------------------------
Checking whether SageMath should install SPKG boost_cropped...
checking for boostlib >= 1.66.0 (106600)... yes
configure: will use system package and not install SPKG boost_cropped
-----------------------------------------------------------------------------
Checking whether SageMath should install SPKG libpng...
checking installing zlib? ... no
checking for LIBPNG... yes
configure: will use system package and not install SPKG libpng
-----------------------------------------------------------------------------
Checking whether SageMath should install SPKG m4ri...
checking whether any of libpng is installed as or will be installed as SPKG... no
checking for M4RI... yes
configure: will use system package and not install SPKG m4ri
-----------------------------------------------------------------------------
Checking whether SageMath should install SPKG brial...
checking whether any of gcc boost_cropped m4ri is installed as or will be installed as SPKG... no
checking if we can link against brial libraries and run... checking version not equal to 1.2.5... yes
configure: will use system package and not install SPKG brial
-----------------------------------------------------------------------------
Checking whether SageMath should install SPKG bzip2...
checking for bzlib.h... yes
checking for library containing BZ2_bzCompress... -lbz2
checking for bzip2... /usr/bin/bzip2
configure: will use system package and not install SPKG bzip2
checking for Fortran flag needed to accept free-form source... -ffree-form
-----------------------------------------------------------------------------
Checking whether SageMath should install SPKG gfortran...
checking the version of gfortran... 13
configure: will use system package and not install SPKG gfortran
-----------------------------------------------------------------------------
Checking whether SageMath should install SPKG openblas...
checking whether any of gfortran is installed as or will be installed as SPKG... no
checking for OPENBLAS... no
checking for library containing openblas_get_config... no
checking for library containing cblas_dgemm... no
checking for library containing dgeqrf... no
checking for library containing dgeqrf_... no
checking for library containing DGEQRF... no
checking for library containing DGEQRF_... no
configure: no suitable system package found for SPKG openblas
-----------------------------------------------------------------------------
Checking whether SageMath should install SPKG cbc...
checking whether any of openblas zlib bzip2 is installed as or will be installed as SPKG... yes; install cbc as well
configure: no suitable system package found for SPKG cbc
-----------------------------------------------------------------------------
Checking whether SageMath should install SPKG cddlib...
checking whether any of gmp is installed as or will be installed as SPKG... no
checking for cddexec... cddexec
checking for cddexec_gmp... cddexec_gmp
checking for redcheck_gmp... redcheck_gmp
checking for scdd_gmp... scdd_gmp
checking whether cddexec --redcheck works correctly for real input... yes
checking for cddlib/cdd.h... yes
checking for library containing dd_abs... -lcddgmp
configure: will use system package and not install SPKG cddlib
-----------------------------------------------------------------------------
Checking whether SageMath should install SPKG cliquer...
checking for library containing clique_unweighted_max_weight... -lcliquer
checking for cliquer/cliquer.h... yes
checking for cl... no
configure: cl (cliquer's CLI) is not found.
configure: No action, as Sage does not need it. cl might be named cliquer on this system.
configure: will use system package and not install SPKG cliquer
-----------------------------------------------------------------------------
Checking whether SageMath should install SPKG cmake...
checking for cmake >= 3.11... /usr/bin/cmake
configure: will use system package and not install SPKG cmake
-----------------------------------------------------------------------------
Checking whether SageMath should install SPKG coxeter3...
checking for library coxeter3... yes
configure: will use system package and not install SPKG coxeter3
-----------------------------------------------------------------------------
Checking whether SageMath should install SPKG curl...
checking for curl 7.22... /usr/bin/curl
checking for gawk... (cached) gawk
checking for curl-config... /usr/bin/curl-config
checking for the version of libcurl... 8.0.1
checking for libcurl >= version 7.22... yes
checking whether libcurl is usable... yes
checking for curl_free... yes
checking whether programs linking to libcurl can be executed... yes
configure: will use system package and not install SPKG curl
-----------------------------------------------------------------------------
Checking whether SageMath should install SPKG _develop...
configure: no suitable system package found for SPKG _develop
-----------------------------------------------------------------------------
Checking whether SageMath should install SPKG distlib...
configure: no suitable system package found for SPKG distlib
-----------------------------------------------------------------------------
Checking whether SageMath should install SPKG libatomic_ops...
checking for LIBATOMIC_OPS... yes
configure: will use system package and not install SPKG libatomic_ops
-----------------------------------------------------------------------------
Checking whether SageMath should install SPKG gc...
checking whether any of libatomic_ops is installed as or will be installed as SPKG... no
checking whether we run on WSL... no
checking for GC... no
checking for GC... yes
configure: will use system package and not install SPKG gc
-----------------------------------------------------------------------------
Checking whether SageMath should install SPKG ecl...
checking whether any of gcc gc gmp is installed as or will be installed as SPKG... no
checking for ecl-config... /usr/bin/ecl-config
configure: will use system package and not install SPKG ecl
-----------------------------------------------------------------------------
Checking whether SageMath should install SPKG ncurses...
checking for NCURSES... yes
configure: will use system package and not install SPKG ncurses
-----------------------------------------------------------------------------
Checking whether SageMath should install SPKG readline...
checking Installing ncurses? ... No.
checking for READLINE... yes
configure: will use system package and not install SPKG readline
-----------------------------------------------------------------------------
Checking whether SageMath should install SPKG pari...
checking whether any of gmp readline is installed as or will be installed as SPKG... no
checking for gp... /usr/bin/gp
checking for gphelp... /usr/bin/gphelp
checking whether gphelp has access to the documentation... yes
checking is pari_elldata installed? ... yes
checking is pari_galdata installed? ... yes
checking is pari_galpol installed? ... yes
checking is pari_seadata installed? ... yes
checking for pari/pari.h... yes
checking for library containing matpermanent... -lpari
checking getting GP's version ... 134916
checking comparing GP and libpari versions... libpari's and GP's versions match. Good
checking is GP's version good enough? ... yes
checking getting GP's datadir... "/usr/share/pari"
checking comparing GP's and libpari's datadirs... libpari's and GP's datadirs match. Good
checking whether pari is configured with pthreads... yes. Good
configure: will use system package and not install SPKG pari
-----------------------------------------------------------------------------
Checking whether SageMath should install SPKG eclib...
checking whether any of ntl pari flint is installed as or will be installed as SPKG... no
checking for ECLIB... no
configure: no suitable system package found for SPKG eclib
-----------------------------------------------------------------------------
Checking whether SageMath should install SPKG ecm...
checking whether any of gmp is installed as or will be installed as SPKG... no
checking for ecm.h... yes
checking absolute name of <ecm.h>... checking for ecm.h... (cached) yes
///usr/include/ecm.h
checking for library containing ecm_factor... -lecm
checking for ecm... /usr/bin/gmp-ecm
configure: will use system package and not install SPKG ecm
-----------------------------------------------------------------------------
Checking whether SageMath should install SPKG givaro...
checking whether any of gmp is installed as or will be installed as SPKG... no
checking for givaro-config... /usr/bin/givaro-config
checking is givaro's version acceptable? ... yes
configure: will use system package and not install SPKG givaro
-----------------------------------------------------------------------------
Checking whether SageMath should install SPKG fflas_ffpack...
checking whether any of givaro gmp openblas is installed as or will be installed as SPKG... yes; install fflas_ffpack as well
configure: no suitable system package found for SPKG fflas_ffpack
checking whether C++ compiler accepts -mavx512f -mavx512vl -mavx512dq... yes
checking whether C++ compiler accepts -mfma... yes
checking whether C++ compiler accepts -mfma4... yes
-----------------------------------------------------------------------------
Checking whether SageMath should install SPKG ffmpeg...
checking for ffmpeg... /usr/bin/ffmpeg
configure: will use system package and not install SPKG ffmpeg
-----------------------------------------------------------------------------
Checking whether SageMath should install SPKG filelock...
configure: no suitable system package found for SPKG filelock
-----------------------------------------------------------------------------
Checking whether SageMath should install SPKG fplll...
checking whether any of gcc mpfr is installed as or will be installed as SPKG... no
checking for FPLLL... no
configure: no suitable system package found for SPKG fplll
-----------------------------------------------------------------------------
Checking whether SageMath should install SPKG freetype...
checking whether any of gcc libpng is installed as or will be installed as SPKG... no
checking for FREETYPE... yes
configure: will use system package and not install SPKG freetype
-----------------------------------------------------------------------------
Checking whether SageMath should install SPKG gengetopt...
checking for gengetopt... /usr/bin/gengetopt
configure: will use system package and not install SPKG gengetopt
-----------------------------------------------------------------------------
Checking whether SageMath should install SPKG gf2x...
checking for GF2X... yes
configure: will use system package and not install SPKG gf2x
-----------------------------------------------------------------------------
Checking whether SageMath should install SPKG gfan...
checking for gfan >= 0.6.2... 
configure: will use system package and not install SPKG gfan
-----------------------------------------------------------------------------
Checking whether SageMath should install SPKG giac...
checking whether any of pari is installed as or will be installed as SPKG... no
checking for giac >= 1.9.0, <= 1.9.999... /usr/bin/giac
checking for giac/giac.h... yes
checking for library containing ConvertUTF16toUTF8... -lgiac
configure: will use system package and not install SPKG giac
-----------------------------------------------------------------------------
Checking whether SageMath should install SPKG git...
checking for git... /usr/bin/git
configure: will use system package and not install SPKG git
-----------------------------------------------------------------------------
Checking whether SageMath should install SPKG gp2c...
checking whether any of pari is installed as or will be installed as SPKG... no
checking for gp2c... /usr/bin/gp2c
configure: will use system package and not install SPKG gp2c
-----------------------------------------------------------------------------
Checking whether SageMath should install SPKG graphviz...
checking for dot... dot
checking for neato... neato
checking for twopi... twopi
configure: will use system package and not install SPKG graphviz
-----------------------------------------------------------------------------
Checking whether SageMath should install SPKG gsl...
checking whether any of openblas is installed as or will be installed as SPKG... yes; install gsl as well
configure: no suitable system package found for SPKG gsl
checking 32-bit host C ABI... no
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/bin/grep -E
checking for ELF binary format... yes
checking for the common suffixes of directories in the library search path... lib,lib,lib64
checking for iconv... yes
checking for working iconv... yes
checking whether iconv is compatible with its POSIX signature... yes
-----------------------------------------------------------------------------
Checking whether SageMath should install SPKG iconv...
configure: will use system package and not install SPKG iconv
-----------------------------------------------------------------------------
Checking whether SageMath should install SPKG igraph...
checking whether any of glpk openblas gmp is installed as or will be installed as SPKG... yes; install igraph as well
configure: no suitable system package found for SPKG igraph
-----------------------------------------------------------------------------
Checking whether SageMath should install SPKG imagemagick...
checking for convert... /usr/bin/convert
configure: will use system package and not install SPKG imagemagick
-----------------------------------------------------------------------------
Checking whether SageMath should install SPKG iml...
checking whether any of gmp openblas is installed as or will be installed as SPKG... yes; install iml as well
configure: no suitable system package found for SPKG iml
-----------------------------------------------------------------------------
Checking whether SageMath should install SPKG info...
checking for info... /usr/bin/info
checking for texi2any... /usr/bin/texi2any
configure: will use system package and not install SPKG info
-----------------------------------------------------------------------------
Checking whether SageMath should install SPKG isl...
checking whether any of gmp is installed as or will be installed as SPKG... no
checking for ISL... no
configure: no suitable system package found for SPKG isl
-----------------------------------------------------------------------------
Checking whether SageMath should install SPKG lcalc...
checking whether any of pari is installed as or will be installed as SPKG... no
checking for lcalc... /usr/bin/lcalc
checking for lcalc/L.h... yes
checking for double-precision libLfunction >= 2.0.0 with pari support... found; using lcalc from the system
configure: will use system package and not install SPKG lcalc
-----------------------------------------------------------------------------
Checking whether SageMath should install SPKG libbraiding...
checking if we can link against libbraiding... yes
configure: will use system package and not install SPKG libbraiding
-----------------------------------------------------------------------------
Checking whether SageMath should install SPKG libffi...
checking for LIBFFI... yes
configure: will use system package and not install SPKG libffi
-----------------------------------------------------------------------------
Checking whether SageMath should install SPKG libgd...
checking whether any of gcc libpng freetype is installed as or will be installed as SPKG... no
checking for LIBGD... yes
configure: will use system package and not install SPKG libgd
-----------------------------------------------------------------------------
Checking whether SageMath should install SPKG libgraphviz...
checking for graphviz/cgraph.h... yes
configure: will use system package and not install SPKG libgraphviz
-----------------------------------------------------------------------------
Checking whether SageMath should install SPKG libhomfly...
checking whether any of gc is installed as or will be installed as SPKG... no
checking for homfly.h... yes
checking for library containing homfly... -lhomfly
configure: will use system package and not install SPKG libhomfly
-----------------------------------------------------------------------------
Checking whether SageMath should install SPKG xz...
configure: SPKG xz is not required on this system
-----------------------------------------------------------------------------
Checking whether SageMath should install SPKG liblzma...
checking whether any of xz is installed as or will be installed as SPKG... no
checking for lzma_raw_decoder in -llzma... yes
checking for lzma.h... yes
configure: will use system package and not install SPKG liblzma
-----------------------------------------------------------------------------
Checking whether SageMath should install SPKG nauty...
checking for geng... no
checking for nauty-geng... /usr/bin/nauty-geng
checking for nauty-directg... /usr/bin/nauty-directg
checking for nauty-gentourng... /usr/bin/nauty-gentourng
checking for nauty-geng... /usr/bin/nauty-geng
checking for nauty-genbg... /usr/bin/nauty-genbg
checking for nauty-gentreeg... /usr/bin/nauty-gentreeg
checking for nauty-converseg... /usr/bin/nauty-converseg
configure: will use system package and not install SPKG nauty
-----------------------------------------------------------------------------
Checking whether SageMath should install SPKG libnauty...
checking whether any of nauty is installed as or will be installed as SPKG... no
checking for nauty/nauty.h... yes
checking for library containing densenauty... -lnauty
configure: will use system package and not install SPKG libnauty
-----------------------------------------------------------------------------
Checking whether SageMath should install SPKG libsemigroups...
checking for LIBSEMIGROUPS... yes
configure: will use system package and not install SPKG libsemigroups
-----------------------------------------------------------------------------
Checking whether SageMath should install SPKG libxml2...
checking for xml2-config... /usr/bin/xml2-config
configure: will use system package and not install SPKG libxml2
-----------------------------------------------------------------------------
Checking whether SageMath should install SPKG m4rie...
checking whether any of m4ri is installed as or will be installed as SPKG... no
checking for m4rie/m4rie.h... yes
checking for library containing gf2e_init... -lm4rie
configure: will use system package and not install SPKG m4rie
-----------------------------------------------------------------------------
Checking whether SageMath should install SPKG linbox...
checking whether any of fflas_ffpack flint fplll givaro gmp iml m4ri m4rie mpfr ntl is installed as or will be installed as SPKG... yes; install linbox as well
configure: no suitable system package found for SPKG linbox
-----------------------------------------------------------------------------
Checking whether SageMath should install SPKG llvm...
configure: will use system package and not install SPKG llvm
-----------------------------------------------------------------------------
Checking whether SageMath should install SPKG lrcalc...
checking for lrcalc/schublib.h... yes
checking for library containing mult_poly_schubert... -llrcalc
checking for lrcalc/lrcoef.h... yes
checking for library containing mult_poly_schubert... (cached) -llrcalc
configure: will use system package and not install SPKG lrcalc
-----------------------------------------------------------------------------
Checking whether SageMath should install SPKG lrslib...
checking whether any of gmp flint is installed as or will be installed as SPKG... no
checking for lrsnash... lrsnash
checking whether lrsnash can handle the new input format... yes
configure: will use system package and not install SPKG lrslib
-----------------------------------------------------------------------------
Checking whether SageMath should install SPKG maxima...
checking whether any of ecl is installed as or will be installed as SPKG... no
checking for Maxima >= $5.45.0... /usr/bin/maxima
checking if ECL can "require" the maxima module... yes
configure: will use system package and not install SPKG maxima
-----------------------------------------------------------------------------
Checking whether SageMath should install SPKG meson...
checking for meson >= 0.64... /usr/bin/meson
configure: will use system package and not install SPKG meson
-----------------------------------------------------------------------------
Checking whether SageMath should install SPKG mpc...
checking whether any of mpfr is installed as or will be installed as SPKG... no
checking for mpc.h... yes
checking for library containing mpc_cmp_abs... -lmpc
configure: will use system package and not install SPKG mpc
using mpc library from the system
-----------------------------------------------------------------------------
Checking whether SageMath should install SPKG mpfi...
checking whether any of mpfr is installed as or will be installed as SPKG... no
checking for mpfi.h... yes
checking for library containing mpfi_diam_abs... -lmpfi
checking MPFI version >= 1.5... yes
configure: will use system package and not install SPKG mpfi
-----------------------------------------------------------------------------
Checking whether SageMath should install SPKG ninja_build...
checking for ninja >= 1.8.2... /usr/bin/ninja
configure: will use system package and not install SPKG ninja_build
-----------------------------------------------------------------------------
Checking whether SageMath should install SPKG onetbb...
checking whether oneTBB >= 2018 is available... yes
configure: will use system package and not install SPKG onetbb
-----------------------------------------------------------------------------
Checking whether SageMath should install SPKG python3...
checking whether any of bzip2 liblzma libffi zlib is installed as or will be installed as SPKG... no
checking for python3 >= 3.8.0, < 3.12.0 with modules sqlite3, ctypes, math, hashlib, crypt, socket, zlib, distutils.core, ssl, ensurepip... 
checking ... whether /usr/bin/python3 is good... yes
checking for python3 >= 3.8.0, < 3.12.0 with modules sqlite3, ctypes, math, hashlib, crypt, socket, zlib, distutils.core, ssl, ensurepip... /usr/bin/python3
configure: will use system package and not install SPKG python3
checking whether /usr/bin/python3 is configured to build multiarch extensions... no
checking whether OpenMP works with the C/C++ compilers configured for building extensions for /usr/bin/python3... yes
-----------------------------------------------------------------------------
Checking whether SageMath should install SPKG openssl...
configure: SPKG openssl is not required on this system
-----------------------------------------------------------------------------
Checking whether SageMath should install SPKG palp...
checking for poly.x... /usr/bin/poly.x
checking for poly-4d.x... /usr/bin/poly-4d.x
checking for poly-5d.x... /usr/bin/poly-5d.x
checking for poly-6d.x... /usr/bin/poly-6d.x
checking for poly-11d.x... /usr/bin/poly-11d.x
checking for class.x... /usr/bin/class.x
checking for class-4d.x... /usr/bin/class-4d.x
checking for class-5d.x... /usr/bin/class-5d.x
checking for class-6d.x... /usr/bin/class-6d.x
checking for class-11d.x... /usr/bin/class-11d.x
checking for nef.x... /usr/bin/nef.x
checking for nef-4d.x... /usr/bin/nef-4d.x
checking for nef-5d.x... /usr/bin/nef-5d.x
checking for nef-6d.x... /usr/bin/nef-6d.x
checking for nef-11d.x... /usr/bin/nef-11d.x
checking for cws.x... /usr/bin/cws.x
checking for cws-4d.x... /usr/bin/cws-4d.x
checking for cws-5d.x... /usr/bin/cws-5d.x
checking for cws-6d.x... /usr/bin/cws-6d.x
checking for cws-11d.x... /usr/bin/cws-11d.x
configure: will use system package and not install SPKG palp
-----------------------------------------------------------------------------
Checking whether SageMath should install SPKG pandoc...
checking for pandoc... /usr/bin/pandoc
configure: will use system package and not install SPKG pandoc
-----------------------------------------------------------------------------
Checking whether SageMath should install SPKG pari_elldata...
checking installing pari? ... no
configure: will use system package and not install SPKG pari_elldata
-----------------------------------------------------------------------------
Checking whether SageMath should install SPKG pari_galdata...
checking installing pari? ... no
configure: will use system package and not install SPKG pari_galdata
-----------------------------------------------------------------------------
Checking whether SageMath should install SPKG pari_galpol...
checking installing pari? ... no
configure: will use system package and not install SPKG pari_galpol
-----------------------------------------------------------------------------
Checking whether SageMath should install SPKG pari_nftables...
checking installing pari? ... no
configure: Installing nftables should be done by the user,
configure: cf. http://pari.math.u-bordeaux1.fr/pub/pari/packages/nftables/README.txt
configure: will use system package and not install SPKG pari_nftables
-----------------------------------------------------------------------------
Checking whether SageMath should install SPKG pari_seadata...
checking installing pari? ... no
configure: will use system package and not install SPKG pari_seadata
-----------------------------------------------------------------------------
Checking whether SageMath should install SPKG pari_seadata_small...
checking installing pari? ... no
configure: will use system package and not install SPKG pari_seadata_small
-----------------------------------------------------------------------------
Checking whether SageMath should install SPKG patch...
checking for GNU patch >= 2.7.0... /usr/bin/patch
configure: will use system package and not install SPKG patch
-----------------------------------------------------------------------------
Checking whether SageMath should install SPKG pdf2svg...
checking for pdf2svg... /usr/bin/pdf2svg
configure: will use system package and not install SPKG pdf2svg
-----------------------------------------------------------------------------
Checking whether SageMath should install SPKG perl_cpan_polymake_prereq...
checking for perl module XML::Writer... ok
checking for perl module XML::LibXML... ok
checking for perl module XML::LibXSLT... ok
checking for perl module File::Slurp... ok
checking for perl module JSON... ok
checking for perl module SVG... ok
checking for perl module Term::ReadKey... ok
configure: will use system package and not install SPKG perl_cpan_polymake_prereq
-----------------------------------------------------------------------------
Checking whether SageMath should install SPKG perl_mongodb...
checking for perl module MongoDB... ok
configure: will use system package and not install SPKG perl_mongodb
-----------------------------------------------------------------------------
Checking whether SageMath should install SPKG perl_term_readline_gnu...
checking for perl module Term::ReadLine... ok
checking Term::ReadLine module...... GNU
configure: will use system package and not install SPKG perl_term_readline_gnu
-----------------------------------------------------------------------------
Checking whether SageMath should install SPKG pkgconf...
using pkg-config from the system
configure: will use system package and not install SPKG pkgconf
-----------------------------------------------------------------------------
Checking whether SageMath should install SPKG planarity...
checking for planarity/planarity.h... yes
checking for gp_InitGraph in -lplanarity... yes
checking for planarity version 3.0 or later... yes
configure: will use system package and not install SPKG planarity
-----------------------------------------------------------------------------
Checking whether SageMath should install SPKG polymake...
checking for polymake-config >= 3.5... /usr/bin/polymake-config
checking whether libpolymake works... yes
configure: will use system package and not install SPKG polymake
-----------------------------------------------------------------------------
Checking whether SageMath should install SPKG ppl...
checking whether any of gcc glpk gmp is installed as or will be installed as SPKG... no
checking for ppl-config... /usr/bin/ppl-config
checking for the Parma Polyhedra Library, version >= 1.2... yes
configure: will use system package and not install SPKG ppl
-----------------------------------------------------------------------------
Checking whether SageMath should install SPKG _prereq...
configure: will use system package and not install SPKG _prereq
-----------------------------------------------------------------------------
Checking whether SageMath should install SPKG primesieve...
checking for PRIMESIEVE... yes
configure: will use system package and not install SPKG primesieve
-----------------------------------------------------------------------------
Checking whether SageMath should install SPKG primecount...
checking whether any of primesieve is installed as or will be installed as SPKG... no
checking for PRIMECOUNT... yes
configure: will use system package and not install SPKG primecount
-----------------------------------------------------------------------------
Checking whether SageMath should install SPKG qhull...
checking for qhull... /usr/bin/qhull
checking whether qhull's version is good enough... configure: no suitable system package found for SPKG qhull
-----------------------------------------------------------------------------
Checking whether SageMath should install SPKG r...
checking for R... yes
checking for R... /usr/bin/R
configure: will use system package and not install SPKG r
-----------------------------------------------------------------------------
Checking whether SageMath should install SPKG _recommended...
configure: no suitable system package found for SPKG _recommended
-----------------------------------------------------------------------------
Checking whether SageMath should install SPKG rpy2...
configure: no suitable system package found for SPKG rpy2
-----------------------------------------------------------------------------
Checking whether SageMath should install SPKG rw...
checking for rw.h... yes
checking for library containing calculate_level... -lrw
configure: will use system package and not install SPKG rw
-----------------------------------------------------------------------------
Checking whether SageMath should install SPKG singular...
checking whether any of gmp ntl flint readline mpfr cddlib is installed as or will be installed as SPKG... no
checking for Singular... /usr/bin/Singular
checking for SINGULAR... yes
checking that Singular's help is working... yes
configure: will use system package and not install SPKG singular
-----------------------------------------------------------------------------
Checking whether SageMath should install SPKG sqlite...
configure: SPKG sqlite is not required on this system
-----------------------------------------------------------------------------
Checking whether SageMath should install SPKG suitesparse...
checking whether any of openblas is installed as or will be installed as SPKG... yes; install suitesparse as well
configure: no suitable system package found for SPKG suitesparse
-----------------------------------------------------------------------------
Checking whether SageMath should install SPKG symmetrica...
checking for symmetrica/def.h... yes
checking for library containing zykelind_tetraeder_edges_extended... -lsymmetrica
checking whether we have a properly patched Symmetrica version... appears to be a well-patched version.
configure: will use system package and not install SPKG symmetrica
-----------------------------------------------------------------------------
Checking whether SageMath should install SPKG sympow...
checking for sympow... /usr/bin/sympow
checking whether sympow works well (cf. :trac:30147 and :trac:30633)... yes; use system sympow
configure: will use system package and not install SPKG sympow
-----------------------------------------------------------------------------
Checking whether SageMath should install SPKG tachyon...
checking for tachyon... /usr/bin/tachyon
configure: will use system package and not install SPKG tachyon
-----------------------------------------------------------------------------
Checking whether SageMath should install SPKG texlive...
checking for pdflatex... /usr/bin/pdflatex
checking for latexmk... /usr/bin/latexmk
checking for dvipng... /usr/bin/dvipng
checking for latex package fontspec... yes
checking for latex package xunicode... yes
checking for latex package xltxtra... yes
checking for latex package amssymb... yes
checking for latex package amsfonts... yes
checking for latex package graphicx... yes
checking for latex package mathrsfs... yes
checking for latex package textcomp... yes
checking for latex package tikz... yes
checking for latex package tikz-qtree... yes
checking for latex package iftex... yes
checking for latex package tkz-berge... yes
checking for latex package tkz-graph... yes
checking for latex package xy... yes
checking for latex package babel... yes
checking for latex package subfigure... yes
checking for latex package hyperref... yes
checking for latex package hypcap... yes
checking for latex package xr... yes
checking for latex package tgtermes... yes
checking for latex package fncychap... yes
configure: will use system package and not install SPKG texlive
-----------------------------------------------------------------------------
Checking whether SageMath should install SPKG toml...
configure: no suitable system package found for SPKG toml
-----------------------------------------------------------------------------
Checking whether SageMath should install SPKG zeromq...
checking whether any of gcc is installed as or will be installed as SPKG... no
checking for zmq.h... yes
checking for ZMQ version >= 4.2.5... yes
configure: will use system package and not install SPKG zeromq
## ----------------------------------------------------------------------- ##
## Build status for each package:                                          ##
## ----------------------------------------------------------------------- ##
4ti2:                           using system package; SPKG will not be installed
admcycles:                      optional pip package; use "./sage -i admcycles" to install
alabaster:                      standard, SPKG version 0.7.12 will be installed
antic:                          optional, use "./configure --enable-antic" to install SPKG version 0.2.5
appdirs:                        no suitable system package; standard, SPKG version 1.4.4 will be installed
appnope:                        standard, SPKG version 0.1.3 will be installed
arb:                            using system package; SPKG will not be installed
argon2_cffi:                    standard, SPKG version 21.3.0 will be installed
argon2_cffi_bindings:           standard, SPKG version 21.2.0 will be installed
asttokens:                      standard, SPKG version 2.1.0 will be installed
attrs:                          standard, SPKG version 22.1.0 will be installed
auditwheel_or_delocate:         optional pip package; use "./sage -i auditwheel_or_delocate" to install
awali:                          experimental, use "./configure --enable-awali" to install SPKG version 1.0.2-190218
babel:                          standard, SPKG version 2.11.0 will be installed
backcall:                       standard, SPKG version 0.2.0 will be installed
backports_zoneinfo:             standard, SPKG version 0.2.1 will be installed
barvinok:                       experimental, use "./configure --enable-barvinok" to install SPKG version 0.41.7
beautifulsoup4:                 standard, SPKG version 4.11.1 will be installed
beniget:                        standard, SPKG version 0.4.1 will be installed
benzene:                        optional, use "./configure --enable-benzene" to install SPKG version 20130630
biopython:                      optional pip package; use "./sage -i biopython" to install
bleach:                         standard, SPKG version 5.0.1 will be installed
bliss:                          optional, SPKG version 0.77 will be installed
boost_cropped:                  using system package; SPKG will not be installed
brial:                          using system package; SPKG will not be installed
buckygen:                       optional, use "./configure --enable-buckygen" to install SPKG version 1.1
bzip2:                          using system package; SPKG will not be installed
cbc:                            no suitable system package; optional, use "./configure --enable-cbc" to install SPKG version 2.9.4.p0
ccache:                         optional, use "./configure --enable-ccache" to install SPKG version 3.3.4
cddlib:                         using system package; SPKG will not be installed
certifi:                        standard, SPKG version 2022.9.24 will be installed
cffi:                           standard, SPKG version 1.15.1 will be installed
charset_normalizer:             standard, SPKG version 2.1.1 will be installed
cliquer:                        using system package; SPKG will not be installed
cmake:                          using system package; SPKG will not be installed
cocoalib:                       experimental, SPKG version 0.99564 will be installed
combinatorial_designs:          standard, SPKG version 20140630.p0 will be installed
configure:                      base, use "./configure --enable-configure" to install SPKG version aa220c4a1e34607d75d86b5abe022bd0c0358644
contourpy:                      standard, SPKG version 1.0.6 will be installed
conway_polynomials:             standard, SPKG version 0.5 will be installed
coxeter3:                       using system package; SPKG will not be installed
cppy:                           standard, SPKG version 1.2.1 will be installed
cryptominisat:                  optional, SPKG version 5.8.0 will be installed
csdp:                           optional, SPKG version 6.2.p1 will be installed
cunningham_tables:              optional, use "./configure --enable-cunningham_tables" to install SPKG version 1.0
curl:                           using system package; SPKG will not be installed
cvxopt:                         standard, SPKG version 1.3.0 will be installed
cvxpy:                          optional, use "./configure --enable-cvxpy" to install SPKG version 1.3.0
cycler:                         standard, SPKG version 0.11.0 will be installed
cylp:                           optional, use "./configure --enable-cylp" to install SPKG version 0.91.5
cypari:                         standard, SPKG version 2.1.3 will be installed
cysignals:                      standard, SPKG version 1.11.2 will be installed
cython:                         standard, SPKG version 0.29.32.p2 will be installed
d3js:                           optional, use "./configure --enable-d3js" to install SPKG version 3.4.8
database_cremona_ellcurve:      optional, SPKG version 20190911 will be installed
database_cubic_hecke:           optional, use "./configure --enable-database_cubic_hecke" to install SPKG version 2022.3.1
database_jones_numfield:        optional, use "./configure --enable-database_jones_numfield" to install SPKG version 4
database_knotinfo:              optional, use "./configure --enable-database_knotinfo" to install SPKG version 2023.6.1
database_kohel:                 optional, use "./configure --enable-database_kohel" to install SPKG version 20160724
database_mutation_class:        optional, use "./configure --enable-database_mutation_class" to install SPKG version 1.0
database_odlyzko_zeta:          optional, use "./configure --enable-database_odlyzko_zeta" to install SPKG version 20061209
database_stein_watkins:         optional, use "./configure --enable-database_stein_watkins" to install SPKG version 20110713
database_stein_watkins_mini:    optional, use "./configure --enable-database_stein_watkins_mini" to install SPKG version 20070827
database_symbolic_data:         optional, use "./configure --enable-database_symbolic_data" to install SPKG version 20070206
dateutil:                       standard, SPKG version 2.8.2 will be installed
debugpy:                        optional, use "./configure --enable-debugpy" to install SPKG version 1.6.3
decorator:                      standard, SPKG version 5.1.1 will be installed
deformation:                    experimental, use "./configure --enable-deformation" to install SPKG version 20210503
defusedxml:                     standard, SPKG version 0.7.1 will be installed
deprecation:                    standard, SPKG version 2.1.0 will be installed
distlib:                        no suitable system package; standard, SPKG version 0.3.6 will be installed
docutils:                       standard, SPKG version 0.19 will be installed
dot2tex:                        optional, use "./configure --enable-dot2tex" to install SPKG version 2.11.3.p0
dsdp:                           optional, use "./configure --enable-dsdp" to install SPKG version 5.8
e_antic:                        optional, use "./configure --enable-e_antic" to install SPKG version 1.3.0
ecl:                            using system package; SPKG will not be installed
eclib:                          no suitable system package; standard, SPKG version 20230424 will be installed
ecm:                            using system package; SPKG will not be installed
ecos_python:                    optional, use "./configure --enable-ecos_python" to install SPKG version 2.0.12
editables:                      standard, SPKG version 0.3 will be installed
elliptic_curves:                standard, SPKG version 0.8.1 will be installed
entrypoints:                    standard, SPKG version 0.4 will be installed
executing:                      standard, SPKG version 1.2.0 will be installed
fastjsonschema:                 standard, SPKG version 2.16.2 will be installed
fflas_ffpack:                   no suitable system package; standard, SPKG version 2.4.3.p0 will be installed
ffmpeg:                         using system package
filelock:                       no suitable system package; standard, SPKG version 3.8.0 will be installed
flint:                          using system package; SPKG will not be installed
flit_core:                      standard, SPKG version 3.7.1 will be installed
fonttools:                      standard, SPKG version 4.28.4 will be installed
fplll:                          no suitable system package; standard, SPKG version 5.4.4 will be installed
fpylll:                         standard, SPKG version 0.5.9 will be installed
freetype:                       using system package; SPKG will not be installed
fricas:                         optional, use "./configure --enable-fricas" to install SPKG version 1.3.8.p1
frobby:                         optional, SPKG version 0.9.0.p2 will be installed
furo:                           standard, SPKG version 2022.9.29 will be installed
gambit:                         experimental, use "./configure --enable-gambit" to install SPKG version 15.1.1.p0
gap:                            standard, SPKG version 4.12.2 will be installed
gap3:                           experimental, use "./configure --enable-gap3" to install SPKG version 04jul17
gap_jupyter:                    optional, use "./configure --enable-gap_jupyter" to install SPKG version 0.9
gap_packages:                   optional, use "./configure --enable-gap_packages" to install SPKG version 4.12.2
gast:                           standard, SPKG version 0.5.3 will be installed
gc:                             using system package; SPKG will not be installed
gcc:                            using system package; SPKG will not be installed
gdb:                            experimental, use "./configure --enable-gdb" to install SPKG version 8.2
gengetopt:                      using system package; SPKG will not be installed
gf2x:                           using system package; SPKG will not be installed
gfan:                           using system package; SPKG will not be installed
gfortran:                       using system package; SPKG will not be installed
giac:                           using system package; SPKG will not be installed
git:                            using system package
github_cli:                     optional
gitpython:                      optional pip package; use "./sage -i gitpython" to install
givaro:                         using system package; SPKG will not be installed
glpk:                           using system package; SPKG will not be installed
glucose:                        optional, use "./configure --enable-glucose" to install SPKG version 4.1
gmp:                            using system package; SPKG will not be installed
gmpy2:                          standard, SPKG version 2.1.2 will be installed
gnulib:                         standard, SPKG version f9b39c4e337f1dc0dd07c4f3985c476fb875d799 will be installed
gp2c:                           using system package; SPKG will not be installed
graphs:                         standard, SPKG version 20210214.p0 will be installed
graphviz:                       using system package
gsl:                            no suitable system package; standard, SPKG version 2.7.1 will be installed
hatch_fancy_pypi_readme:        standard, SPKG version 22.8.0 will be installed
hatchling:                      standard, SPKG version 1.11.1 will be installed
hatch_nodejs_version:           standard, SPKG version 0.3.1 will be installed
hatch_vcs:                      standard, SPKG version 0.2.0 will be installed
html5lib:                       standard, SPKG version 1.1 will be installed
iconv:                          using system package; SPKG will not be installed
idna:                           standard, SPKG version 3.4 will be installed
igraph:                         no suitable system package; optional, use "./configure --enable-igraph" to install SPKG version 0.10.4
imagemagick:                    using system package
imagesize:                      standard, SPKG version 1.4.1 will be installed
iml:                            no suitable system package; standard, SPKG version 1.0.4p2.p2 will be installed
importlib_metadata:             standard, SPKG version 6.0.0 will be installed
importlib_resources:            standard, SPKG version 5.12.0 will be installed
info:                           using system package; SPKG will not be installed
ipykernel:                      standard, SPKG version 6.6.0 will be installed
ipympl:                         optional pip package; use "./sage -i ipympl" to install
ipython:                        standard, SPKG version 8.6.0 will be installed
ipython_genutils:               standard, SPKG version 0.2.0 will be installed
ipywidgets:                     standard, SPKG version 8.0.2 will be installed
isl:                            no suitable system package; optional, use "./configure --enable-isl" to install SPKG version 0.20
jedi:                           standard, SPKG version 0.18.1 will be installed
jinja2:                         standard, SPKG version 3.1.2 will be installed
jmol:                           standard, SPKG version 14.29.52 will be installed
jsonschema:                     standard, SPKG version 4.17.1 will be installed
jupymake:                       optional, use "./configure --enable-jupymake" to install SPKG version 0.9
jupyter_client:                 standard, SPKG version 7.4.4 will be installed
jupyter_core:                   standard, SPKG version 4.11.2 will be installed
jupyter_jsmol:                  standard, SPKG version 2022.1.0 will be installed
jupyterlab:                     optional pip package; use "./sage -i jupyterlab" to install
jupyterlab_pygments:            standard, SPKG version 0.1.2 will be installed
jupyterlab_widgets:             standard, SPKG version 3.0.3 will be installed
jupyter_packaging:              standard, SPKG version 0.12.3 will be installed
jupyter_sphinx:                 standard, SPKG version 0.3.2 will be installed
kenzo:                          optional, use "./configure --enable-kenzo" to install SPKG version 1.1.10
kissat:                         optional, use "./configure --enable-kissat" to install SPKG version 3.0.0
kiwisolver:                     standard, SPKG version 1.4.3 will be installed
latte_int:                      optional, use "./configure --enable-latte_int" to install SPKG version 1.7.6
lcalc:                          using system package; SPKG will not be installed
libatomic_ops:                  using system package; SPKG will not be installed
libbraiding:                    using system package; SPKG will not be installed
libffi:                         using system package; SPKG will not be installed
libgd:                          using system package; SPKG will not be installed
libgraphviz:                    using system package
libhomfly:                      using system package; SPKG will not be installed
liblzma:                        using system package; SPKG will not be installed
libnauty:                       using system package; SPKG will not be installed
libogg:                         optional, use "./configure --enable-libogg" to install SPKG version 1.3.1.p0
libpng:                         using system package; SPKG will not be installed
libsemigroups:                  using system package; SPKG will not be installed
libtheora:                      experimental, use "./configure --enable-libtheora" to install SPKG version 1.1.1
libxml2:                        using system package
lidia:                          optional, use "./configure --enable-lidia" to install SPKG version 2.3.0+latte-patches-2019-05-02
lie:                            experimental, use "./configure --enable-lie" to install SPKG version 2.2.2
linbox:                         no suitable system package; standard, SPKG version 1.6.3.p1 will be installed
llvm:                           not required on your platform
lrcalc:                         using system package; SPKG will not be installed
lrcalc_python:                  standard, SPKG version 2.1 will be installed
lrslib:                         using system package; SPKG will not be installed
m4ri:                           using system package; SPKG will not be installed
m4rie:                          using system package; SPKG will not be installed
markupsafe:                     standard, SPKG version 2.1.1 will be installed
mathics:                        optional, use "./configure --enable-mathics" to install SPKG version 4.0.0
mathics_scanner:                optional, use "./configure --enable-mathics_scanner" to install SPKG version 1.2.4
mathjax:                        standard, SPKG version 3.2.0 will be installed
matplotlib:                     standard, SPKG version 3.6.2 will be installed
matplotlib_inline:              standard, SPKG version 0.1.6 will be installed
maxima:                         using system package; SPKG will not be installed
mcqd:                           optional, SPKG version 1.0.p0 will be installed
meataxe:                        optional, SPKG version 1.0.1 will be installed
memory_allocator:               standard, SPKG version 0.1.3 will be installed
meson:                          using system package; SPKG will not be installed
meson_python:                   standard, SPKG version 0.12.1 will be installed
mistune:                        standard, SPKG version 2.0.4 will be installed
modular_decomposition:          experimental, use "./configure --enable-modular_decomposition" to install SPKG version 20100607
modular_resolution:             optional, use "./configure --enable-modular_resolution" to install SPKG version 1.1
mpc:                            using system package; SPKG will not be installed
mpfi:                           using system package; SPKG will not be installed
mpfr:                           using system package; SPKG will not be installed
mpfrcx:                         optional, use "./configure --enable-mpfrcx" to install SPKG version 0.5
mpmath:                         standard, SPKG version 1.3.0 will be installed
msolve:                         optional, use "./configure --enable-msolve" to install SPKG version 0.4.9
nauty:                          using system package; SPKG will not be installed
nbclient:                       standard, SPKG version 0.7.0 will be installed
nbconvert:                      standard, SPKG version 7.2.3 will be installed
nbformat:                       standard, SPKG version 5.7.0 will be installed
ncurses:                        using system package; SPKG will not be installed
nest_asyncio:                   standard, SPKG version 1.5.6 will be installed
networkx:                       standard, SPKG version 3.1 will be installed
nibabel:                        optional pip package; use "./sage -i nibabel" to install
ninja_build:                    using system package; SPKG will not be installed
nodeenv:                        optional pip package; use "./sage -i nodeenv" to install
nodejs:                         optional, use "./configure --enable-nodejs" to install SPKG version 12.18.3
normaliz:                       optional, use "./configure --enable-normaliz" to install SPKG version 3.10.0
notebook:                       standard, SPKG version 6.4.12 will be installed
notedown:                       optional, use "./configure --enable-notedown" to install SPKG version 1.5.1
ntl:                            using system package; SPKG will not be installed
numpy:                          standard, SPKG version 1.23.5 will be installed
onetbb:                         using system package; SPKG will not be installed
openblas:                       no suitable system package; standard, SPKG version 0.3.23 will be installed
openssl:                        not required on your platform; SPKG will not be installed
ore_algebra:                    optional pip package; use "./sage -i ore_algebra" to install
osqp_python:                    optional, use "./configure --enable-osqp_python" to install SPKG version 0.6.2.post8
packaging:                      standard, SPKG version 21.3 will be installed
palettable:                     optional, use "./configure --enable-palettable" to install SPKG version 3.3.0
palp:                           using system package; SPKG will not be installed
pandoc:                         using system package
pandoc_attributes:              optional, use "./configure --enable-pandoc_attributes" to install SPKG version 8bc82f6d
pandocfilters:                  standard, SPKG version 1.5.0 will be installed
papilo:                         optional, use "./configure --enable-papilo" to install SPKG version 2.1.1
pari:                           using system package; SPKG will not be installed
pari_elldata:                   using system package; SPKG will not be installed
pari_galdata:                   using system package; SPKG will not be installed
pari_galpol:                    using system package; SPKG will not be installed
pari_jupyter:                   optional, use "./configure --enable-pari_jupyter" to install SPKG version 1.4.0
pari_nftables:                  using system package; SPKG will not be installed
pari_seadata:                   using system package; SPKG will not be installed
pari_seadata_small:             using system package; SPKG will not be installed
parso:                          standard, SPKG version 0.8.3 will be installed
patch:                          using system package; SPKG will not be installed
patchelf:                       standard, SPKG version 0.13.1 will be installed
pathspec:                       standard, SPKG version 0.10.2 will be installed
pdf2svg:                        using system package
perl_cpan_polymake_prereq:      not required on your platform
perl_mongodb:                   using system package
perl_term_readline_gnu:         not required on your platform; SPKG will not be installed
pexpect:                        standard, SPKG version 4.8.0 will be installed
p_group_cohomology:             optional, use "./configure --enable-p_group_cohomology" to install SPKG version 3.3.3.p1
phitigra:                       optional pip package; use "./sage -i phitigra" to install
pickleshare:                    standard, SPKG version 0.7.5 will be installed
pillow:                         standard, SPKG version 9.0.1 will be installed
pint:                           optional, use "./configure --enable-pint" to install SPKG version 0.20.1
pip:                            standard, SPKG version 22.3.1 will be installed
pkgconf:                        using system package; SPKG will not be installed
pkgconfig:                      standard, SPKG version 1.5.5 will be installed
planarity:                      using system package; SPKG will not be installed
plantri:                        optional, use "./configure --enable-plantri" to install SPKG version 5.3
platformdirs:                   standard, SPKG version 2.5.4 will be installed
pluggy:                         standard, SPKG version 1.0.0 will be installed
ply:                            standard, SPKG version 3.11 will be installed
poetry_core:                    standard, SPKG version 1.0.8 will be installed
polylib:                        experimental, use "./configure --enable-polylib" to install SPKG version 5.22.5
polymake:                       using system package; SPKG will not be installed
polytopes_db:                   standard, SPKG version 20170220.p0 will be installed
polytopes_db_4d:                optional, use "./configure --enable-polytopes_db_4d" to install SPKG version 1.0
ppl:                            using system package; SPKG will not be installed
pplpy:                          standard, SPKG version 0.8.7 will be installed
pplpy_doc:                      standard, SPKG version 0.8.7 will be installed
primecount:                     using system package; SPKG will not be installed
primecountpy:                   standard, SPKG version 0.1.0 will be installed
primesieve:                     using system package; SPKG will not be installed
prometheus_client:              standard, SPKG version 0.14.1 will be installed
prompt_toolkit:                 standard, SPKG version 3.0.24 will be installed
ptyprocess:                     standard, SPKG version 0.5.1.p0 will be installed
pure_eval:                      standard, SPKG version 0.2.2 will be installed
py:                             standard, SPKG version 1.11.0 will be installed
pybind11:                       standard, SPKG version 2.10.1 will be installed
pybtex:                         optional pip package; use "./sage -i pybtex" to install
pycosat:                        optional, use "./configure --enable-pycosat" to install SPKG version 0.6.3
pycparser:                      standard, SPKG version 2.21 will be installed
pycryptosat:                    optional, use "./configure --enable-pycryptosat" to install SPKG version 5.8.0
pycygwin:                       standard, SPKG version 0.1 will be installed
pygments:                       standard, SPKG version 2.13.0 will be installed
pygraphviz:                     optional pip package; use "./sage -i pygraphviz" to install
pynormaliz:                     optional, use "./configure --enable-pynormaliz" to install SPKG version 2.18
pyparsing:                      standard, SPKG version 3.0.9 will be installed
pyppeteer:                      optional pip package; use "./sage -i pyppeteer" to install
pyproject_metadata:             standard, SPKG version 0.6.1 will be installed
pyrsistent:                     standard, SPKG version 0.19.2 will be installed
pyscipopt:                      optional, use "./configure --enable-pyscipopt" to install SPKG version 4.3.0
pysingular:                     optional, use "./configure --enable-pysingular" to install SPKG version 0.9.7
pytest:                         optional pip package; use "./sage -i pytest" to install
pytest_mock:                    optional pip package; use "./sage -i pytest_mock" to install
pytest_xdist:                   optional pip package; use "./sage -i pytest_xdist" to install
python3:                        using system package; SPKG will not be installed
python_build:                   optional pip package; use "./sage -i python_build" to install
python_igraph:                  optional, use "./configure --enable-python_igraph" to install SPKG version 0.10.4
pythran:                        standard, SPKG version 0.12.1 will be installed
pytz:                           standard, SPKG version 2022.5 will be installed
pytz_deprecation_shim:          standard, SPKG version 0.1.0.post0 will be installed
pyx:                            optional pip package; use "./sage -i pyx" to install
pyzmq:                          standard, SPKG version 24.0.1 will be installed
qdldl_python:                   optional, use "./configure --enable-qdldl_python" to install SPKG version 0.1.5.post3
qepcad:                         experimental, SPKG version B.1.72 will be installed
qhull:                          no suitable system package; standard, SPKG version 2020-src-8.0.2 will be installed
r:                              using system package
readline:                       using system package; SPKG will not be installed
requests:                       standard, SPKG version 2.28.1 will be installed
retrolab:                       optional pip package; use "./sage -i retrolab" to install
r_jupyter:                      experimental, use "./configure --enable-r_jupyter" to install SPKG version none
rpy2:                           no suitable system package; standard, SPKG version 3.4.5 will be installed
rst2ipynb:                      optional, use "./configure --enable-rst2ipynb" to install SPKG version 0.2.3
rubiks:                         optional, use "./configure --enable-rubiks" to install SPKG version 20070912.p21
rw:                             using system package; SPKG will not be installed
saclib:                         optional, SPKG version 2.2.7 will be installed
sage_conf:                      standard, SPKG version 10.1 will be installed
sage_docbuild:                  standard, SPKG version 10.1 will be installed
sage_flatsurf:                  optional pip package; use "./sage -i sage_flatsurf" to install
sagelib:                        standard, SPKG version 10.1 will be installed
sagemath_bliss:                 optional, use "./configure --enable-sagemath_bliss" to install SPKG version 10.1
sagemath_categories:            experimental, use "./configure --enable-sagemath_categories" to install SPKG version 10.1
sagemath_coxeter3:              optional, use "./configure --enable-sagemath_coxeter3" to install SPKG version 10.1
sagemath_doc_html:              standard, SPKG will be installed
sagemath_doc_pdf:               optional, use "./configure --enable-sagemath_doc_pdf" to install SPKG version none
sagemath_environment:           experimental, use "./configure --enable-sagemath_environment" to install SPKG version 10.1
sagemath_mcqd:                  optional, use "./configure --enable-sagemath_mcqd" to install SPKG version 10.1
sagemath_meataxe:               optional, use "./configure --enable-sagemath_meataxe" to install SPKG version 10.1
sagemath_objects:               experimental, use "./configure --enable-sagemath_objects" to install SPKG version 10.1
sagemath_repl:                  experimental, use "./configure --enable-sagemath_repl" to install SPKG version 10.1
sagemath_sirocco:               optional, use "./configure --enable-sagemath_sirocco" to install SPKG version 10.1
sagemath_tdlib:                 optional, use "./configure --enable-sagemath_tdlib" to install SPKG version 10.1
sagenb_export:                  standard, SPKG version 3.3 will be installed
sage_numerical_backends_coin:   optional, use "./configure --enable-sage_numerical_backends_coin" to install SPKG version 9.0b12
sage_numerical_backends_cplex:  optional, use "./configure --enable-sage_numerical_backends_cplex" to install SPKG version 9.0b12
sage_numerical_backends_gurobi: optional, use "./configure --enable-sage_numerical_backends_gurobi" to install SPKG version 9.3.1
sage_setup:                     standard, SPKG version 10.1 will be installed
sage_sws2rst:                   optional, use "./configure --enable-sage_sws2rst" to install SPKG version 10.1
sagetex:                        standard, SPKG version 3.6.1 will be installed
scip:                           optional, use "./configure --enable-scip" to install SPKG version 802
scip_sdp:                       optional, use "./configure --enable-scip_sdp" to install SPKG version 4.1.0
scipy:                          standard, SPKG version 1.10.1 will be installed
scs:                            optional, use "./configure --enable-scs" to install SPKG version 3.2.2
send2trash:                     standard, SPKG version 1.8.0 will be installed
setuptools:                     standard, SPKG version 63.4.3 will be installed
setuptools_scm:                 standard, SPKG version 7.0.5 will be installed
setuptools_scm_git_archive:     standard, SPKG version 1.4 will be installed
setuptools_wheel:               standard, SPKG version 65.6.3 will be installed
simplegeneric:                  standard, SPKG version 0.8.1.p0 will be installed
singular:                       using system package; SPKG will not be installed
singular_jupyter:               optional, use "./configure --enable-singular_jupyter" to install SPKG version 0.9.7
sirocco:                        optional, SPKG version 2.1.0 will be installed
six:                            standard, SPKG version 1.16.0 will be installed
slabbe:                         optional pip package; use "./sage -i slabbe" to install
snappy:                         optional pip package; use "./sage -i snappy" to install
snowballstemmer:                standard, SPKG version 2.2.0 will be installed
soplex:                         optional, use "./configure --enable-soplex" to install SPKG version 602
soupsieve:                      standard, SPKG version 2.3.2.post1 will be installed
sphinx:                         standard, SPKG version 5.2.3 will be installed
sphinx_basic_ng:                standard, SPKG version 0.0.1a12 will be installed
sphinxcontrib_applehelp:        standard, SPKG version 1.0.2 will be installed
sphinxcontrib_devhelp:          standard, SPKG version 1.0.2 will be installed
sphinxcontrib_htmlhelp:         standard, SPKG version 2.0.0 will be installed
sphinxcontrib_jsmath:           standard, SPKG version 1.0.1 will be installed
sphinxcontrib_qthelp:           standard, SPKG version 1.0.3 will be installed
sphinxcontrib_serializinghtml:  standard, SPKG version 1.1.5 will be installed
sphinxcontrib_websupport:       standard, SPKG version 1.2.4 will be installed
sphinx_copybutton:              standard, SPKG version 0.5.1 will be installed
sqlalchemy:                     optional pip package; use "./sage -i sqlalchemy" to install
sqlite:                         not required on your platform; SPKG will not be installed
stack_data:                     standard, SPKG version 0.6.1 will be installed
suitesparse:                    no suitable system package; standard, SPKG version 5.10.1 will be installed
surf:                           experimental, SPKG version 1.0.6-gcc6 will be installed
surface_dynamics:               optional pip package; use "./sage -i surface_dynamics" to install
symengine:                      optional, use "./configure --enable-symengine" to install SPKG version 0.10.1
symengine_py:                   experimental, use "./configure --enable-symengine_py" to install SPKG version 0.10.0
symmetrica:                     using system package; SPKG will not be installed
sympow:                         using system package; SPKG will not be installed
sympy:                          standard, SPKG version 1.12 will be installed
tachyon:                        using system package; SPKG will not be installed
tdlib:                          optional, SPKG version 0.3.1.p0 will be installed
terminado:                      standard, SPKG version 0.17.0 will be installed
texlive:                        using system package; SPKG will not be installed
texttable:                      optional, use "./configure --enable-texttable" to install SPKG version 1.6.7
threejs:                        standard, SPKG version r122.p0 will be installed
tides:                          optional, use "./configure --enable-tides" to install SPKG version 2.0.p0
tinycss2:                       standard, SPKG version 1.2.1 will be installed
toml:                           no suitable system package; standard, SPKG version 0.10.2 will be installed
tomli:                          standard, SPKG version 2.0.1 will be installed
tomlkit:                        standard, SPKG version 0.11.6 will be installed
topcom:                         optional, use "./configure --enable-topcom" to install SPKG version 1.1.2
tornado:                        standard, SPKG version 6.2 will be installed
tox:                            no suitable system package; standard, SPKG version 3.27.0 will be installed
traitlets:                      standard, SPKG version 5.5.0 will be installed
typing_extensions:              standard, SPKG version 4.5.0 will be installed
tzdata:                         standard, SPKG version 2022.6 will be installed
tzlocal:                        standard, SPKG version 4.2 will be installed
urllib3:                        standard, SPKG version 1.26.12 will be installed
valgrind:                       experimental, use "./configure --enable-valgrind" to install SPKG version 3.14.0
vcversioner:                    standard, SPKG version 2.16.0.0.p0 will be installed
virtualenv:                     no suitable system package; standard, SPKG version 20.16.6 will be installed
wcwidth:                        standard, SPKG version 0.2.5 will be installed
webencodings:                   standard, SPKG version 0.5.1 will be installed
wheel:                          standard, SPKG version 0.38.4 will be installed
widgetsnbextension:             standard, SPKG version 4.0.3 will be installed
xz:                             not required on your platform; SPKG will not be installed
zeromq:                         using system package; SPKG will not be installed
zipp:                           standard, SPKG version 3.11.0 will be installed
zlib:                           using system package; SPKG will not be installed
checking that generated files are newer than configure... done
configure: creating ./config.status
config.status: creating build/make/Makefile-auto
config.status: creating build/make/Makefile
config.status: creating src/bin/sage-env-config
config.status: creating src/bin/sage-src-env-config
config.status: creating build/bin/sage-build-env-config
config.status: creating pkgs/sage-conf/_sage_conf/_conf.py
config.status: executing depfiles commands
config.status: executing mkdirs commands
config.status: creating directory /root/rpmbuild/BUILD/sage-10.1/logs/pkgs
config.status: creating directory /root/rpmbuild/BUILDROOT/sagemath-10.1-1.fc38.x86_64/usr/lib64/sagemath/local
config.status: creating directory /root/rpmbuild/BUILDROOT/sagemath-10.1-1.fc38.x86_64/usr/lib64/sagemath/local/bin
config.status: creating directory /root/rpmbuild/BUILDROOT/sagemath-10.1-1.fc38.x86_64/usr/lib64/sagemath/local/etc
config.status: creating directory /root/rpmbuild/BUILDROOT/sagemath-10.1-1.fc38.x86_64/usr/lib64/sagemath/local/include
config.status: creating directory /root/rpmbuild/BUILDROOT/sagemath-10.1-1.fc38.x86_64/usr/lib64/sagemath/local/lib
config.status: creating directory /root/rpmbuild/BUILDROOT/sagemath-10.1-1.fc38.x86_64/usr/lib64/sagemath/local/lib/pkgconfig
config.status: creating directory /root/rpmbuild/BUILDROOT/sagemath-10.1-1.fc38.x86_64/usr/lib64/sagemath/local/share
config.status: creating directory /root/rpmbuild/BUILDROOT/sagemath-10.1-1.fc38.x86_64/usr/lib64/sagemath/local/var/lib/sage/installed
config.status: executing links commands
config.status: creating convenience symlink prefix -> /root/rpmbuild/BUILDROOT/sagemath-10.1-1.fc38.x86_64/usr/lib64/sagemath/local
config.status: creating convenience symlink venv -> /root/rpmbuild/BUILDROOT/sagemath-10.1-1.fc38.x86_64/usr/lib64/sagemath/local
configure:

    notice: the following SPKGs did not find equivalent system packages:

        appdirs distlib eclib fflas_ffpack filelock fplll gsl iml linbox openblas qhull rpy2 suitesparse toml tox virtualenv   cbc _develop igraph isl _recommended
        
checking for the package system in use... debian
configure:

    hint: installing the following system packages, if not
    already present, is recommended and may avoid having to
    build them (though some may have to be built anyway):

      $ sudo apt-get update 
      $ sudo apt-get install  libec-dev eclib-tools fflas-ffpack libfplll-dev libgsl-dev libiml-dev liblinbox-dev libopenblas-dev libqhull-dev libsuitesparse-dev tox

configure:

    hint: installing the following system packages, if not
    already present, may provide additional optional features:

      $ sudo apt-get update 
      $ sudo apt-get install  coinor-cbc coinor-libcbc-dev gpgconf openssh-client libigraph-dev libisl-dev default-jdk libavdevice-dev

configure:

    hint: After installation, re-run configure using:

      $ ./config.status --recheck && ./config.status
                
+ grep -FrlZ gslcblas
+ xargs -0 sed -i s/gslcblas/flexiblas/g
+ save_PATH=/usr/lib64/surf-geometry:/usr/lib64/lrcalc:/usr/lib64/4ti2/bin:/root/rpmbuild/BUILDROOT/sagemath-10.1-1.fc38.x86_64/usr/bin:/root/.local/bin:/root/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin
+ save_LOCAL=/root/rpmbuild/BUILDROOT/sagemath-10.1-1.fc38.x86_64/usr/lib64/sagemath/local
+ export PATH=/root/rpmbuild/BUILD/bin:/usr/lib64/surf-geometry:/usr/lib64/lrcalc:/usr/lib64/4ti2/bin:/root/rpmbuild/BUILDROOT/sagemath-10.1-1.fc38.x86_64/usr/bin:/root/.local/bin:/root/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin
+ PATH=/root/rpmbuild/BUILD/bin:/usr/lib64/surf-geometry:/usr/lib64/lrcalc:/usr/lib64/4ti2/bin:/root/rpmbuild/BUILDROOT/sagemath-10.1-1.fc38.x86_64/usr/bin:/root/.local/bin:/root/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin
+ export SAGE_LOCAL=/root/rpmbuild/BUILD
+ SAGE_LOCAL=/root/rpmbuild/BUILD
+ pushd build/pkgs/jupyter_jsmol/src
~/rpmbuild/BUILD/sage-10.1/build/pkgs/jupyter_jsmol/src ~/rpmbuild/BUILD/sage-10.1
+ /usr/bin/python3 setup.py build
setup.py entered
$PATH=/root/rpmbuild/BUILD/bin:/usr/lib64/surf-geometry:/usr/lib64/lrcalc:/usr/lib64/4ti2/bin:/root/rpmbuild/BUILDROOT/sagemath-10.1-1.fc38.x86_64/usr/bin:/root/.local/bin:/root/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin
/root/rpmbuild/BUILD/sage-10.1/build/pkgs/jupyter_jsmol/src/setup.py:47: DeprecatedWarning: create_cmdclass is deprecated as of 0.8 and will be removed in 1.0. "
Use `wrap_installers` to handle prebuild steps in cmdclass.
Use `get_data_files` to handle data files.
Use `include_package_data=True` and `MANIFEST.in` for package data.

  cmdclass = create_cmdclass('jsdeps', data_files_spec=data_files_spec)
/root/rpmbuild/BUILD/sage-10.1/build/pkgs/jupyter_jsmol/src/setup.py:49: DeprecatedWarning: install_npm is deprecated as of 0.8 and will be removed in 1.0. Use `npm_builder` and `wrap_installers`
  install_npm(js_dir, npm=['yarn'], build_cmd='build:prod'), ensure_targets(jstargets),
running build
running build_py
running jsdeps
Installing build dependencies with npm.  This may take a while...
> yarn install
yarn install v1.22.19
warning package.json: No license field
warning package-lock.json found. Your project contains lock files generated by tools other than Yarn. It is advised not to mix package managers in order to avoid resolution inconsistencies caused by unsynchronized lock files. To clear this warning, remove package-lock.json.
warning jupyter-jsmol@2022.1.0: No license field
[1/4] Resolving packages...
[2/4] Fetching packages...
[3/4] Linking dependencies...
warning "@jupyter-widgets/base > @lumino/coreutils@1.12.0" has unmet peer dependency "crypto@1.0.1".
warning "@jupyterlab/builder > @jupyterlab/buildutils > verdaccio > clipanion@3.1.0" has unmet peer dependency "typanion@*".
warning Workspaces can only be enabled in private projects.
warning Workspaces can only be enabled in private projects.
[4/4] Building fresh packages...
$ yarn run clean && yarn run build:prod
yarn run v1.22.19
warning package.json: No license field
$ npm run clean:dist && npm run clean:nbextension && npm run clean:labextension

> jupyter-jsmol@2022.1.0 clean:dist
> rimraf dist/


> jupyter-jsmol@2022.1.0 clean:nbextension
> rimraf ../jupyter_jsmol/nbextension/index.js* && rimraf ../jupyter_jsmol/nbextension/extension.js*


> jupyter-jsmol@2022.1.0 clean:labextension
> rimraf ../jupyter_jsmol/labextension/

Done in 2.08s.
yarn run v1.22.19
warning package.json: No license field
$ webpack --mode=production && yarn run build:labextension
asset extension.js 602 bytes [emitted] [minimized] (name: main)
runtime modules 27 bytes 1 module
./lib/extension.js 1.13 KiB [built] [code generated]
webpack 5.66.0 compiled successfully in 498 ms

asset index.js 70.8 KiB [emitted] [minimized] (name: main) 1 related asset
runtime modules 344 bytes 2 modules
cacheable modules 538 KiB
  modules by path ./lib/*.js 5.31 KiB
    ./lib/index.js 176 bytes [built] [code generated]
    ./lib/widget.js 5.13 KiB [built] [code generated]
  ./package.json 1.42 KiB [built] [code generated]
  ./node_modules/lodash/lodash.js 531 KiB [built] [code generated]
external "@jupyter-widgets/base" 42 bytes [built] [code generated]
webpack 5.66.0 compiled successfully in 1916 ms

asset index.js 70.8 KiB [emitted] [minimized] (name: main) 1 related asset
runtime modules 344 bytes 2 modules
cacheable modules 538 KiB
  modules by path ./lib/*.js 5.57 KiB
    ./lib/embed.js 451 bytes [built] [code generated]
    ./lib/widget.js 5.13 KiB [built] [code generated]
  ./package.json 1.42 KiB [built] [code generated]
  ./node_modules/lodash/lodash.js 531 KiB [built] [code generated]
external "@jupyter-widgets/base" 42 bytes [built] [code generated]
webpack 5.66.0 compiled successfully in 2033 ms
warning package.json: No license field
$ jupyter labextension build .
usage: jupyter [-h] [--version] [--config-dir] [--data-dir] [--runtime-dir]
               [--paths] [--json] [--debug]
               [subcommand]

Jupyter: Interactive Computing

positional arguments:
  subcommand     the subcommand to launch

options:
  -h, --help     show this help message and exit
  --version      show the versions of core jupyter packages and exit
  --config-dir   show Jupyter config dir
  --data-dir     show Jupyter data dir
  --runtime-dir  show Jupyter runtime dir
  --paths        show all Jupyter paths. Add --json for machine-readable
                 format.
  --json         output paths as machine-readable json
  --debug        output debug information about paths

Available subcommands: bundlerextension dejavu events execute kernel
kernelspec migrate nbclassic nbconvert nbextension notebook run server
serverextension troubleshoot trust

Jupyter command `jupyter-labextension` not found.
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/install for documentation about this command.
creating build
creating build/lib
creating build/lib/jupyter_jsmol
copying jupyter_jsmol/__init__.py -> build/lib/jupyter_jsmol
copying jupyter_jsmol/_version.py -> build/lib/jupyter_jsmol
copying jupyter_jsmol/pymatgen.py -> build/lib/jupyter_jsmol
copying jupyter_jsmol/viewer.py -> build/lib/jupyter_jsmol
running egg_info
writing jupyter_jsmol.egg-info/PKG-INFO
writing dependency_links to jupyter_jsmol.egg-info/dependency_links.txt
writing requirements to jupyter_jsmol.egg-info/requires.txt
writing top-level names to jupyter_jsmol.egg-info/top_level.txt
reading manifest file 'jupyter_jsmol.egg-info/SOURCES.txt'
reading manifest template 'MANIFEST.in'
no previously-included directories found matching 'examples'
no previously-included directories found matching 'tests/build'
warning: no directories found matching 'jupyter_jsmol/labextension'
warning: no previously-included files matching '*~' found anywhere in distribution
warning: no previously-included files matching '*.pyc' found anywhere in distribution
warning: no previously-included files matching '*.pyo' found anywhere in distribution
warning: no previously-included files matching '.git' found anywhere in distribution
warning: no previously-included files matching '.ipynb_checkpoints' found anywhere in distribution
warning: no previously-included files matching '*.map' found anywhere in distribution
adding license file 'LICENSE'
writing manifest file 'jupyter_jsmol.egg-info/SOURCES.txt'
/usr/lib/python3.11/site-packages/setuptools/command/build_py.py:202: SetuptoolsDeprecationWarning:     Installing 'jupyter_jsmol.nbextension' as data is deprecated, please list it in `packages`.
    !!


    ############################
    # Package would be ignored #
    ############################
    Python recognizes 'jupyter_jsmol.nbextension' as an importable package,
    but it is not listed in the `packages` configuration of setuptools.

    'jupyter_jsmol.nbextension' has been automatically added to the distribution only
    because it may contain data files, but this behavior is likely to change
    in future versions of setuptools (and therefore is considered deprecated).

    Please make sure that 'jupyter_jsmol.nbextension' is included as a package by using
    the `packages` configuration field or the proper discovery methods
    (for example by using `find_namespace_packages(...)`/`find_namespace:`
    instead of `find_packages(...)`/`find:`).

    You can read more about "package discovery" and "data files" on setuptools
    documentation page.


!!

  check.warn(importable)
creating build/lib/jupyter_jsmol/nbextension
copying jupyter_jsmol/nbextension/extension.js -> build/lib/jupyter_jsmol/nbextension
copying jupyter_jsmol/nbextension/index.js -> build/lib/jupyter_jsmol/nbextension
copying jupyter_jsmol/nbextension/index.js.LICENSE.txt -> build/lib/jupyter_jsmol/nbextension
+ /usr/bin/python3 setup.py install --root /root/rpmbuild/BUILD
setup.py entered
$PATH=/root/rpmbuild/BUILD/bin:/usr/lib64/surf-geometry:/usr/lib64/lrcalc:/usr/lib64/4ti2/bin:/root/rpmbuild/BUILDROOT/sagemath-10.1-1.fc38.x86_64/usr/bin:/root/.local/bin:/root/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin
/root/rpmbuild/BUILD/sage-10.1/build/pkgs/jupyter_jsmol/src/setup.py:47: DeprecatedWarning: create_cmdclass is deprecated as of 0.8 and will be removed in 1.0. "
Use `wrap_installers` to handle prebuild steps in cmdclass.
Use `get_data_files` to handle data files.
Use `include_package_data=True` and `MANIFEST.in` for package data.

  cmdclass = create_cmdclass('jsdeps', data_files_spec=data_files_spec)
/root/rpmbuild/BUILD/sage-10.1/build/pkgs/jupyter_jsmol/src/setup.py:49: DeprecatedWarning: install_npm is deprecated as of 0.8 and will be removed in 1.0. Use `npm_builder` and `wrap_installers`
  install_npm(js_dir, npm=['yarn'], build_cmd='build:prod'), ensure_targets(jstargets),
running install
/usr/lib/python3.11/site-packages/setuptools/command/install.py:34: SetuptoolsDeprecationWarning: setup.py install is deprecated. Use build and pip and other standards-based tools.
  warnings.warn(
running build
running build_py
running jsdeps
Installing build dependencies with npm.  This may take a while...
> yarn install
yarn install v1.22.19
warning package.json: No license field
warning package-lock.json found. Your project contains lock files generated by tools other than Yarn. It is advised not to mix package managers in order to avoid resolution inconsistencies caused by unsynchronized lock files. To clear this warning, remove package-lock.json.
warning jupyter-jsmol@2022.1.0: No license field
[1/4] Resolving packages...
success Already up-to-date.
$ yarn run clean && yarn run build:prod
yarn run v1.22.19
warning package.json: No license field
$ npm run clean:dist && npm run clean:nbextension && npm run clean:labextension

> jupyter-jsmol@2022.1.0 clean:dist
> rimraf dist/


> jupyter-jsmol@2022.1.0 clean:nbextension
> rimraf ../jupyter_jsmol/nbextension/index.js* && rimraf ../jupyter_jsmol/nbextension/extension.js*


> jupyter-jsmol@2022.1.0 clean:labextension
> rimraf ../jupyter_jsmol/labextension/

Done in 2.04s.
yarn run v1.22.19
warning package.json: No license field
$ webpack --mode=production && yarn run build:labextension
asset extension.js 602 bytes [emitted] [minimized] (name: main)
runtime modules 27 bytes 1 module
./lib/extension.js 1.13 KiB [built] [code generated]
webpack 5.66.0 compiled successfully in 477 ms

asset index.js 70.8 KiB [emitted] [minimized] (name: main) 1 related asset
runtime modules 344 bytes 2 modules
cacheable modules 538 KiB
  modules by path ./lib/*.js 5.31 KiB
    ./lib/index.js 176 bytes [built] [code generated]
    ./lib/widget.js 5.13 KiB [built] [code generated]
  ./package.json 1.42 KiB [built] [code generated]
  ./node_modules/lodash/lodash.js 531 KiB [built] [code generated]
external "@jupyter-widgets/base" 42 bytes [built] [code generated]
webpack 5.66.0 compiled successfully in 1953 ms

asset index.js 70.8 KiB [emitted] [minimized] (name: main) 1 related asset
runtime modules 344 bytes 2 modules
cacheable modules 538 KiB
  modules by path ./lib/*.js 5.57 KiB
    ./lib/embed.js 451 bytes [built] [code generated]
    ./lib/widget.js 5.13 KiB [built] [code generated]
  ./package.json 1.42 KiB [built] [code generated]
  ./node_modules/lodash/lodash.js 531 KiB [built] [code generated]
external "@jupyter-widgets/base" 42 bytes [built] [code generated]
webpack 5.66.0 compiled successfully in 1949 ms
warning package.json: No license field
$ jupyter labextension build .
usage: jupyter [-h] [--version] [--config-dir] [--data-dir] [--runtime-dir]
               [--paths] [--json] [--debug]
               [subcommand]

Jupyter: Interactive Computing

positional arguments:
  subcommand     the subcommand to launch

options:
  -h, --help     show this help message and exit
  --version      show the versions of core jupyter packages and exit
  --config-dir   show Jupyter config dir
  --data-dir     show Jupyter data dir
  --runtime-dir  show Jupyter runtime dir
  --paths        show all Jupyter paths. Add --json for machine-readable
                 format.
  --json         output paths as machine-readable json
  --debug        output debug information about paths

Available subcommands: bundlerextension dejavu events execute kernel
kernelspec migrate nbclassic nbconvert nbextension notebook run server
serverextension troubleshoot trust

Jupyter command `jupyter-labextension` not found.
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/install for documentation about this command.
running egg_info
writing jupyter_jsmol.egg-info/PKG-INFO
writing dependency_links to jupyter_jsmol.egg-info/dependency_links.txt
writing requirements to jupyter_jsmol.egg-info/requires.txt
writing top-level names to jupyter_jsmol.egg-info/top_level.txt
reading manifest file 'jupyter_jsmol.egg-info/SOURCES.txt'
reading manifest template 'MANIFEST.in'
no previously-included directories found matching 'examples'
no previously-included directories found matching 'tests/build'
warning: no directories found matching 'jupyter_jsmol/labextension'
warning: no previously-included files matching '*~' found anywhere in distribution
warning: no previously-included files matching '*.pyc' found anywhere in distribution
warning: no previously-included files matching '*.pyo' found anywhere in distribution
warning: no previously-included files matching '.git' found anywhere in distribution
warning: no previously-included files matching '.ipynb_checkpoints' found anywhere in distribution
warning: no previously-included files matching '*.map' found anywhere in distribution
adding license file 'LICENSE'
writing manifest file 'jupyter_jsmol.egg-info/SOURCES.txt'
/usr/lib/python3.11/site-packages/setuptools/command/build_py.py:202: SetuptoolsDeprecationWarning:     Installing 'jupyter_jsmol.nbextension' as data is deprecated, please list it in `packages`.
    !!


    ############################
    # Package would be ignored #
    ############################
    Python recognizes 'jupyter_jsmol.nbextension' as an importable package,
    but it is not listed in the `packages` configuration of setuptools.

    'jupyter_jsmol.nbextension' has been automatically added to the distribution only
    because it may contain data files, but this behavior is likely to change
    in future versions of setuptools (and therefore is considered deprecated).

    Please make sure that 'jupyter_jsmol.nbextension' is included as a package by using
    the `packages` configuration field or the proper discovery methods
    (for example by using `find_namespace_packages(...)`/`find_namespace:`
    instead of `find_packages(...)`/`find:`).

    You can read more about "package discovery" and "data files" on setuptools
    documentation page.


!!

  check.warn(importable)
copying jupyter_jsmol/nbextension/extension.js -> build/lib/jupyter_jsmol/nbextension
copying jupyter_jsmol/nbextension/index.js -> build/lib/jupyter_jsmol/nbextension
copying jupyter_jsmol/nbextension/index.js.LICENSE.txt -> build/lib/jupyter_jsmol/nbextension
running install_lib
copying build/lib/jupyter_jsmol/nbextension/extension.js -> /root/rpmbuild/BUILD/usr/lib/python3.11/site-packages/jupyter_jsmol/nbextension
copying build/lib/jupyter_jsmol/nbextension/index.js -> /root/rpmbuild/BUILD/usr/lib/python3.11/site-packages/jupyter_jsmol/nbextension
copying build/lib/jupyter_jsmol/nbextension/index.js.LICENSE.txt -> /root/rpmbuild/BUILD/usr/lib/python3.11/site-packages/jupyter_jsmol/nbextension
running install_egg_info
removing '/root/rpmbuild/BUILD/usr/lib/python3.11/site-packages/jupyter_jsmol-2022.1.0-py3.11.egg-info' (and everything under it)
Copying jupyter_jsmol.egg-info to /root/rpmbuild/BUILD/usr/lib/python3.11/site-packages/jupyter_jsmol-2022.1.0-py3.11.egg-info
running install_scripts
+ popd
~/rpmbuild/BUILD/sage-10.1
+ pushd build/pkgs/memory_allocator/src
~/rpmbuild/BUILD/sage-10.1/build/pkgs/memory_allocator/src ~/rpmbuild/BUILD/sage-10.1
+ /usr/bin/python3 setup.py build
running build
running build_py
creating build
creating build/lib.linux-x86_64-cpython-311
creating build/lib.linux-x86_64-cpython-311/memory_allocator
copying memory_allocator/__init__.py -> build/lib.linux-x86_64-cpython-311/memory_allocator
copying memory_allocator/__init__.pxd -> build/lib.linux-x86_64-cpython-311/memory_allocator
copying memory_allocator/memory.pxd -> build/lib.linux-x86_64-cpython-311/memory_allocator
copying memory_allocator/memory_allocator.pxd -> build/lib.linux-x86_64-cpython-311/memory_allocator
copying memory_allocator/signals.pxd -> build/lib.linux-x86_64-cpython-311/memory_allocator
running build_ext
Compiling memory_allocator/memory_allocator.pyx because it changed.
Compiling memory_allocator/test.pyx because it changed.
[1/2] Cythonizing memory_allocator/memory_allocator.pyx
[2/2] Cythonizing memory_allocator/test.pyx
+ /usr/bin/python3 setup.py install --root /root/rpmbuild/BUILD
running install
/usr/lib/python3.11/site-packages/setuptools/command/install.py:34: SetuptoolsDeprecationWarning: setup.py install is deprecated. Use build and pip and other standards-based tools.
  warnings.warn(
running build
running build_py
running build_ext
+ popd
~/rpmbuild/BUILD/sage-10.1
+ export PATH=/usr/lib64/surf-geometry:/usr/lib64/lrcalc:/usr/lib64/4ti2/bin:/root/rpmbuild/BUILDROOT/sagemath-10.1-1.fc38.x86_64/usr/bin:/root/.local/bin:/root/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin
+ PATH=/usr/lib64/surf-geometry:/usr/lib64/lrcalc:/usr/lib64/4ti2/bin:/root/rpmbuild/BUILDROOT/sagemath-10.1-1.fc38.x86_64/usr/bin:/root/.local/bin:/root/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin
+ export SAGE_LOCAL=/root/rpmbuild/BUILDROOT/sagemath-10.1-1.fc38.x86_64/usr/lib64/sagemath/local
+ SAGE_LOCAL=/root/rpmbuild/BUILDROOT/sagemath-10.1-1.fc38.x86_64/usr/lib64/sagemath/local
+ export PYTHONPATH=/root/rpmbuild/BUILDROOT/sagemath-10.1-1.fc38.x86_64/usr/lib64/python3.11/site-packages:/root/rpmbuild/BUILDROOT/sagemath-10.1-1.fc38.x86_64/usr/lib/python3.11/site-packages::/root/rpmbuild/BUILD/usr/lib/python3.11/site-packages:/root/rpmbuild/BUILD/usr/lib64/python3.11/site-packages
+ PYTHONPATH=/root/rpmbuild/BUILDROOT/sagemath-10.1-1.fc38.x86_64/usr/lib64/python3.11/site-packages:/root/rpmbuild/BUILDROOT/sagemath-10.1-1.fc38.x86_64/usr/lib/python3.11/site-packages::/root/rpmbuild/BUILD/usr/lib/python3.11/site-packages:/root/rpmbuild/BUILD/usr/lib64/python3.11/site-packages
+ mkdir -p /root/rpmbuild/BUILDROOT/sagemath-10.1-1.fc38.x86_64/usr/lib64/sagemath/local/var/lib/sage/installed
+ mkdir -p /root/rpmbuild/BUILDROOT/sagemath-10.1-1.fc38.x86_64/usr/lib64/sagemath/build/pkgs
+ pushd src
~/rpmbuild/BUILD/sage-10.1/src ~/rpmbuild/BUILD/sage-10.1
+ /usr/bin/python3 -u ./setup.py build
Building interpreters for fast_callable
-> First build of interpreters
Exception while cythonizing source files: StopIteration()
************************************************************************
Traceback (most recent call last):
  File "/root/rpmbuild/BUILD/sage-10.1/src/./setup.py", line 114, in <module>
    aliases=cython_aliases(),
            ^^^^^^^^^^^^^^^^
  File "/root/rpmbuild/BUILD/sage-10.1/src/./sage/env.py", line 407, in cython_aliases
    lib = get_cblas_pc_module_name()
          ^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/root/rpmbuild/BUILD/sage-10.1/src/./sage/env.py", line 329, in get_cblas_pc_module_name
    return next((blas_lib for blas_lib in cblas_pc_modules if pkgconfig.exists(blas_lib)))
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
StopIteration
************************************************************************
Error building the Sage library
************************************************************************
error: Estat incorrecte de sortida de /var/tmp/rpm-tmp.IhfsIl (%build)

RPM build errors:
    Estat incorrecte de sortida de /var/tmp/rpm-tmp.IhfsIl (%build)
%global __provides_exclude_from	.*/site-packages/.*\\.so

# This package installs python files in nonstandard places
%global _python_bytecompile_extra 0

%bcond_with bundled_pexpect
%bcond_with bundled_ipython
%bcond_without bundled_jupyter_jsmol
%bcond_without bundled_memory_allocator
%bcond_without bundled_threejs
%bcond_without install_hack

# for faster full rpm test builds
%ifarch %{ix86} x86_64
%bcond_without docs
%else
%bcond_with docs
%endif

# use a workaround to match upstream sagemath patched sphinx
%bcond_with sphinx_hack

# use workaround to match upstream sagemath patched cython
%bcond_with cython_hack

# switch to run make -testall
%bcond_with check
%global SAGE_TIMEOUT		60
%global SAGE_TIMEOUT_LONG	180

%global combinatorial_designs_pkg	combinatorial_designs-20140630
%global conway_polynomials_pkg	conway_polynomials-0.5
%global cremona_ver		2019-10-29
%global	elliptic_curves_pkg	elliptic_curves-0.8.1
%global graphs_pkg		graphs-20210214
%if %{with bundled_ipython}
%global ipython_ver		8.6.0
%global ipython_pkg		ipython-%{ipython_ver}
%global prompt_toolkit_ver	3.0.24
%global prompt_tookit_pkg	prompt_toolkit-%{prompt_toolkit_ver}
%endif
%if %{with bundled_jupyter_jsmol}
%global jupyter_jsmol_ver	2022.1.0
%global jupyter_jsmol_pkg	jupyter_jsmol-%{jupyter_jsmol_ver}
%endif
%if %{with bundled_memory_allocator}
%global memory_allocator_ver	0.1.3
%global memory_allocator_pkg	memory_allocator-%{memory_allocator_ver}
%endif
%if %{with bundled_pexpect}
%global pexpect_pkg		pexpect-4.8.0
%endif
%global polytopes_db_pkg	polytopes_db-20170220
%global sagetex_pkg		sagetex-3.6.1
%global Sphinx_pkg		Sphinx-5.2.3
%global singular_pkg		singular-4.3.1p1
%if %{with bundled_threejs}
%global threejs_ver		r122
%global threejs_pkg		threejs-sage-%{threejs_ver}
%endif

# Spkg equivalents of required rpms; we pretend they are installed as spkgs.
%global SAGE_REQUIRED_PKGS 4ti2-1.6.9 bliss-0.77 CoCoALib-0.99800 coxeter3-3.1 cryptominisat-5.8.0 database_cremona_ellcurve-%{cremona_ver} gap_packages-4.11.2 libsirocco-2.1.0 lrslib-072 mcqd-1.0.0 meataxe-1.0.1 qepcad-B.1.74 saclib-2.2.8 tdlib-0.9.2

%global SAGE_ROOT		%{_libdir}/sagemath
%global SAGE_LOCAL		%{SAGE_ROOT}/local
%global SAGE_SRC		%{SAGE_ROOT}/src
%global SAGE_DOC		%{_docdir}/%{name}
%global SAGE_SHARE		%{_datadir}/sagemath
%global SAGE_ETC		%{SAGE_SHARE}/etc
%global SAGE_PYTHONPATH		%{SAGE_ROOT}/site-packages
%global SAGE_SPKG_INST		%{SAGE_LOCAL}/var/lib/sage/installed

Name:		sagemath
Summary:	A free open-source mathematics software system
Version:	10.1
Release:	1%{?dist}
# The file ${SAGE_ROOT}/COPYING.txt is the upstream license breakdown file.
# Note that many of the components listed in that file are not built in, but
# are used as external libraries, and therefore do not affect the License tag.
# Additionally, every $files section has a comment with the license name
# before files with that license
License:	GPL-3.0-only AND GPL-2.0-or-later AND GPL-3.0-or-later
URL:		http://www.sagemath.org
Source0:	http://files.sagemath.org/src/sage-%{version}.tar.gz
Source1:	https://github.com/JohnCremona/ecdata/archive/%{cremona_ver}/cremona-%{cremona_ver}.tar.gz
Source2:	gprc.expect
Source3:	org.sagemath.sage.metainfo.xml
# Follow maxima's ExclusiveArch.  The source RPM is now about 2GB in size.  The
# 32-bit ARM builders run out of memory trying to create the SRPM and also
# trying to unpack the SRPM before starting a build.  The i386 builders
# sometimes fail as well, so exclude all 32-bit platforms.
ExclusiveArch:	aarch64 x86_64

BuildRequires:	4ti2
BuildRequires:	4ti2-devel
BuildRequires:	appstream
BuildRequires:	arb-devel
BuildRequires:	autoconf
BuildRequires:	automake
BuildRequires:	bc
BuildRequires:	bliss-devel
BuildRequires:	boost-devel
BuildRequires:	brial-devel
BuildRequires:	chrpath
BuildRequires:	cmake
BuildRequires:	cddlib-devel
BuildRequires:	cddlib-tools
BuildRequires:	cliquer-devel
BuildRequires:	cocoalib-devel
BuildRequires:	coxeter-devel
BuildRequires:	cryptominisat-devel
BuildRequires:	csdp-devel
BuildRequires:	desktop-file-utils
BuildRequires:	dvipng
BuildRequires:	ecl
BuildRequires:	ffmpeg-free
BuildRequires:	flexiblas-devel
BuildRequires:	flint-devel
BuildRequires:	flintqs
BuildRequires:	fonttools
BuildRequires:	gap-devel
BuildRequires:	gap-pkg-aclib
BuildRequires:	gap-pkg-alnuth
BuildRequires:	gap-pkg-atlasrep
BuildRequires:	gap-pkg-autodoc
BuildRequires:	gap-pkg-autpgrp
BuildRequires:	gap-pkg-cohomolo
BuildRequires:	gap-pkg-corelg
BuildRequires:	gap-pkg-crime
BuildRequires:	gap-pkg-crisp
BuildRequires:	gap-pkg-cryst
BuildRequires:	gap-pkg-crystcat
BuildRequires:	gap-pkg-ctbllib
BuildRequires:	gap-pkg-design
BuildRequires:	gap-pkg-edim
BuildRequires:	gap-pkg-factint
BuildRequires:	gap-pkg-fga
BuildRequires:	gap-pkg-gbnp
BuildRequires:	gap-pkg-genss
BuildRequires:	gap-pkg-guava
BuildRequires:	gap-pkg-hap
BuildRequires:	gap-pkg-hapcryst
BuildRequires:	gap-pkg-hecke
BuildRequires:	gap-pkg-images
BuildRequires:	gap-pkg-irredsol
BuildRequires:	gap-pkg-jupyterkernel
BuildRequires:	gap-pkg-laguna
BuildRequires:	gap-pkg-liealgdb
BuildRequires:	gap-pkg-liepring
BuildRequires:	gap-pkg-liering
BuildRequires:	gap-pkg-loops
BuildRequires:	gap-pkg-lpres
BuildRequires:	gap-pkg-mapclass
BuildRequires:	gap-pkg-polenta
BuildRequires:	gap-pkg-polycyclic
BuildRequires:	gap-pkg-polymaking
BuildRequires:	gap-pkg-qpa
BuildRequires:	gap-pkg-quagroup
BuildRequires:	gap-pkg-radiroot
BuildRequires:	gap-pkg-repsn
BuildRequires:	gap-pkg-resclasses
BuildRequires:	gap-pkg-singular
BuildRequires:	gap-pkg-sla
BuildRequires:	gap-pkg-sonata
BuildRequires:	gap-pkg-sophus
BuildRequires:	gap-pkg-tomlib
BuildRequires:	gap-pkg-toric
BuildRequires:	gap-pkg-utils
BuildRequires:	gcc-c++
BuildRequires:	gcc-gfortran
BuildRequires:	gcc-objc
BuildRequires:	gcc-objc++
BuildRequires:	gdb
BuildRequires:	gengetopt
BuildRequires:	gfan
BuildRequires:	giac-devel
BuildRequires:	giac-doc
BuildRequires:	git-core
BuildRequires:	glpk-devel
BuildRequires:	glpk-utils
BuildRequires:	gmp-ecm
BuildRequires:	gmp-ecm-devel
BuildRequires:	gnupg2
BuildRequires:	gp2c
BuildRequires:	ImageMagick
BuildRequires:	iml-devel
BuildRequires:	jmol
# To have a proper link
BuildRequires:	jsmol
BuildRequires:	jsmath-fonts
BuildRequires:	L-function-devel
BuildRequires:	latexmk
BuildRequires:	latte-integrale
BuildRequires:	libbraiding-devel
BuildRequires:	libfrobby-devel
BuildRequires:	libgap
BuildRequires:	libhomfly-devel
BuildRequires:	libmpc-devel
BuildRequires:	libtool
BuildRequires:	lrcalc-devel
BuildRequires:	lrslib-utils
BuildRequires:	make
BuildRequires:	mathjax
BuildRequires:	maxima-runtime-ecl
BuildRequires:	mcqd-devel
BuildRequires:	meson
BuildRequires:	mpfi-devel
BuildRequires:	nauty
BuildRequires:	ninja-build
BuildRequires:	ntl-devel
BuildRequires:	openssh
BuildRequires:	openssl
BuildRequires:	palp
BuildRequires:	pandoc
BuildRequires:	pari-devel
BuildRequires:	pari-elldata
BuildRequires:	pari-galdata
BuildRequires:	pari-galpol
BuildRequires:	pari-gp
BuildRequires:	pari-nftables
BuildRequires:	pari-seadata
BuildRequires:	patchelf
BuildRequires:	pdf2svg
BuildRequires:	perl-generators
BuildRequires:	perl(ExtUtils::MakeMaker)
BuildRequires:	perl(File::Slurp)
BuildRequires:	pkgconfig
BuildRequires:	pkgconfig(bdw-gc)
BuildRequires:	pkgconfig(cbc)
BuildRequires:	pkgconfig(eclib)
BuildRequires:	pkgconfig(factory)
BuildRequires:	pkgconfig(fplll)
BuildRequires:	pkgconfig(freetype2)
BuildRequires:	pkgconfig(gdlib)
BuildRequires:	pkgconfig(gf2x)
BuildRequires:	pkgconfig(gsl)
BuildRequires:	pkgconfig(igraph)
BuildRequires:	pkgconfig(isl)
BuildRequires:	pkgconfig(libavdevice)
BuildRequires:	pkgconfig(libcurl)
BuildRequires:	pkgconfig(libgvc)
BuildRequires:	pkgconfig(libpcre)
BuildRequires:	pkgconfig(libpng)
BuildRequires:	pkgconfig(libsemigroups)
BuildRequires:	pkgconfig(libzmq)
BuildRequires:	pkgconfig(linbox)
BuildRequires:	pkgconfig(m4ri)
BuildRequires:	pkgconfig(m4rie)
BuildRequires:	pkgconfig(nauty)
BuildRequires:	pkgconfig(openssl)
BuildRequires:	pkgconfig(primecount)
BuildRequires:	pkgconfig(primesieve)
BuildRequires:	pkgconfig(readline)
BuildRequires:	pkgconfig(Singular)
BuildRequires:	pkgconfig(tbb)
BuildRequires:	pkgconfig(tk)
BuildRequires:	pkgconfig(zlib)
BuildRequires:	planarity-devel
BuildRequires:	polymake
BuildRequires:	ppl-devel
BuildRequires:	python3-devel
BuildRequires:	python3-docs
BuildRequires:	python3-cypari2-devel
BuildRequires:	python3-cysignals-devel
%if %{without bundled_ipython}
BuildRequires:	python3-ipython-sphinx
%endif
BuildRequires:	python3-pillow-devel
BuildRequires:	python3-pplpy-devel
BuildRequires:	python3-tdlib-devel
BuildRequires:	python3-tkinter
BuildRequires:	pythran
BuildRequires:	%{py3_dist argon2-cffi}
BuildRequires:	%{py3_dist asttokens}
%if %{with bundled_ipython}
BuildRequires:	%{py3_dist backcall}
%endif
BuildRequires:	%{py3_dist beautifulsoup4}
BuildRequires:	%{py3_dist beniget}
BuildRequires:	%{py3_dist brial}
BuildRequires:	%{py3_dist charset-normalizer}
BuildRequires:	%{py3_dist colorlog}
BuildRequires:	%{py3_dist contourpy}
BuildRequires:	%{py3_dist cppy}
BuildRequires:	%{py3_dist cvxopt}
BuildRequires:	%{py3_dist cython}
BuildRequires:	%{py3_dist deprecation}
BuildRequires:	%{py3_dist docutils}
BuildRequires:	%{py3_dist editables}
BuildRequires:	%{py3_dist executing}
BuildRequires:	%{py3_dist flit-core}
BuildRequires:	%{py3_dist fpylll}
BuildRequires:	%{py3_dist furo}
BuildRequires:	%{py3_dist gast}
BuildRequires:	%{py3_dist gmpy2}
BuildRequires:	%{py3_dist hatch-fancy-pypi-readme}
BuildRequires:  %{py3_dist hatchling}
%if %{with sphinx_hack}
BuildRequires:	%{py3_dist html5lib}
BuildRequires:	%{py3_dist imagesize}
%endif
BuildRequires:	%{py3_dist idna}
BuildRequires:	%{py3_dist importlib-metadata}
BuildRequires:	%{py3_dist ipykernel}
%if %{without bundled_ipython}
BuildRequires:	%{py3_dist ipython}
%endif
BuildRequires:	%{py3_dist ipywidgets}
%if %{with bundled_ipython}
BuildRequires:	%{py3_dist jedi}
%endif
BuildRequires:	%{py3_dist jupyter-packaging}
BuildRequires:	%{py3_dist jupyter-sphinx}
BuildRequires:	%{py3_dist jupyterlab-pygments}
BuildRequires:	%{py3_dist kiwisolver}
BuildRequires:	%{py3_dist lrcalc}
BuildRequires:	%{py3_dist matplotlib}
BuildRequires:	%{py3_dist matplotlib-inline}
BuildRequires:	%{py3_dist nbclient}
BuildRequires:	%{py3_dist nbconvert}
BuildRequires:	%{py3_dist nbformat}
BuildRequires:	%{py3_dist nest-asyncio}
BuildRequires:	%{py3_dist networkx}
BuildRequires:	%{py3_dist notebook}
BuildRequires:	%{py3_dist pari-jupyter}
%if %{with bundled_ipython}
BuildRequires:	%{py3_dist path.py}
%endif
BuildRequires:	%{py3_dist pathspec}
%if %{without bundled_pexpect}
BuildRequires:	%{py3_dist pexpect}
%endif
%if %{with bundled_ipython}
BuildRequires:	%{py3_dist pickleshare}
%endif
BuildRequires:	%{py3_dist pip}
BuildRequires:	%{py3_dist pkgconfig}
BuildRequires:	%{py3_dist platformdirs}
BuildRequires:	%{py3_dist pluggy}
BuildRequires:	%{py3_dist ply}
BuildRequires:	%{py3_dist poetry-core}
BuildRequires:	%{py3_dist primecountpy}
BuildRequires:	%{py3_dist ptyprocess}
BuildRequires:	%{py3_dist pure-eval}
BuildRequires:	%{py3_dist py}
BuildRequires:	%{py3_dist pycryptosat}
BuildRequires:	%{py3_dist pyopenssl}
BuildRequires:	%{py3_dist pyproject-metadata}
BuildRequires:	%{py3_dist pytest}
BuildRequires:	%{py3_dist pytest-xdist}
BuildRequires:	%{py3_dist pytz}
BuildRequires:	%{py3_dist pytzdata}
BuildRequires:	%{py3_dist pytz-deprecation-shim}
%if %{with bundled_ipython}
BuildRequires:	%{py3_dist pyzmq}
%endif
BuildRequires:	%{py3_dist rpy2}
BuildRequires:	%{py3_dist scipy}
BuildRequires:	%{py3_dist scons}
BuildRequires:	%{py3_dist setuptools}
BuildRequires:	%{py3_dist setuptools_scm}
BuildRequires:	%{py3_dist setuptools_scm_git_archive}
%if %{with bundled_ipython}
BuildRequires:	%{py3_dist simplegeneric}
%endif
BuildRequires:	%{py3_dist six}
BuildRequires:	%{py3_dist soupsieve}
BuildRequires:	%{py3_dist sphinx}
BuildRequires:	%{py3_dist sphinx-basic-ng}
BuildRequires:	%{py3_dist stack-data}
BuildRequires:	%{py3_dist sympy}
BuildRequires:	%{py3_dist tinycss2}
BuildRequires:	%{py3_dist tomlkit}
BuildRequires:	%{py3_dist typing-extensions}
BuildRequires:	%{py3_dist urllib3}
BuildRequires:	%{py3_dist wheel}
BuildRequires:	%{py3_dist widgetsnbextension}
BuildRequires:	%{py3_dist zodb3}
BuildRequires:	qepcad-B
BuildRequires:	qhull
BuildRequires:	qhull-devel
BuildRequires:	R
BuildRequires:	R-devel
BuildRequires:	rubiks
BuildRequires:	rw-devel
BuildRequires:	saclib-devel
BuildRequires:	sharedmeataxe-devel
BuildRequires:	sirocco-devel
BuildRequires:	suitesparse-devel
BuildRequires:	surf-geometry
BuildRequires:	symmetrica-devel
BuildRequires:	sympow
BuildRequires:	tachyon
BuildRequires:	texlive
BuildRequires:	tex(anyfontsize.sty)
BuildRequires:	tex(fncychap.sty)
BuildRequires:	tex(makecmds.sty)
BuildRequires:	tex(subfigure.sty)
BuildRequires:	tex(tgtermes.sty)
BuildRequires:	tex(tikz-qtree.sty)
BuildRequires:	tex(tkz-berge.sty)
BuildRequires:	tex(xy.sty)
# For _jsdir macro
BuildRequires:	web-assets-devel
BuildRequires:	xorg-x11-fonts-Type1
BuildRequires:	xorg-x11-server-Xvfb
BuildRequires:	yarnpkg

Requires:	hicolor-icon-theme
Requires:	rubiks
Requires:	%{name}-core = %{version}-%{release}
Requires:	%{name}-data = %{version}-%{release}
%if %{with docs}
Requires:	%{name}-doc = %{version}-%{release}
%endif
Requires:	%{name}-jupyter = %{version}-%{release}
Requires:	%{name}-sagetex = %{version}-%{release}

%if %{with bundled_threejs}
Provides:	bundled(threejs) = %{threejs_ver}
%endif

%description
Sage is a free open-source mathematics software system licensed
under the GPL. It combines the power of many existing open-source
packages into a common Python-based interface.

#------------------------------------------------------------------------
%package	core
License:	GPL-3.0-only AND GPL-2.0-or-later AND GPL-1.0-or-later AND LGPL-3.0-or-later AND LGPL-2.1-or-later AND MIT AND BSD-3-Clause AND BSD-2-Clause AND EPL-1.0 AND PSF-2.0
Summary:	Open Source Mathematics Software
Requires:	%{name}%{?_isa} = %{version}-%{release}
Requires:	4ti2
Requires:	cddlib-tools
Requires:	flintqs
Requires:	gap
Requires:	gap-pkg-aclib
Requires:	gap-pkg-alnuth
Requires:	gap-pkg-atlasrep
Requires:	gap-pkg-autodoc
Requires:	gap-pkg-autpgrp
Requires:	gap-pkg-cohomolo
Requires:	gap-pkg-corelg
Requires:	gap-pkg-crime
Requires:	gap-pkg-crisp
Requires:	gap-pkg-cryst
Requires:	gap-pkg-crystcat
Requires:	gap-pkg-ctbllib
Requires:	gap-pkg-design
Requires:	gap-pkg-edim
Requires:	gap-pkg-factint
Requires:	gap-pkg-fga
Requires:	gap-pkg-gbnp
Requires:	gap-pkg-genss
Requires:	gap-pkg-guava
Requires:	gap-pkg-hap
Requires:	gap-pkg-hapcryst
Requires:	gap-pkg-hecke
Requires:	gap-pkg-images
Requires:	gap-pkg-irredsol
Requires:	gap-pkg-jupyterkernel
Requires:	gap-pkg-laguna
Requires:	gap-pkg-liealgdb
Requires:	gap-pkg-liepring
Requires:	gap-pkg-liering
Requires:	gap-pkg-loops
Requires:	gap-pkg-lpres
Requires:	gap-pkg-mapclass
Requires:	gap-pkg-polenta
Requires:	gap-pkg-polycyclic
Requires:	gap-pkg-polymaking
Requires:	gap-pkg-qpa
Requires:	gap-pkg-quagroup
Requires:	gap-pkg-radiroot
Requires:	gap-pkg-repsn
Requires:	gap-pkg-resclasses
Requires:	gap-pkg-singular
Requires:	gap-pkg-sla
Requires:	gap-pkg-sonata
Requires:	gap-pkg-sophus
Requires:	gap-pkg-tomlib
Requires:	gap-pkg-toric
Requires:	gap-pkg-utils
Requires:	gfan
Requires:	gmp-ecm
Requires:	gp2c
Requires:	jmol
Requires:	jsmol
Requires:	jsmath-fonts
Requires:	latte-integrale
Requires:	libgap
Requires:	lrslib-utils
Requires:	mathjax
Requires:	maxima-runtime-ecl
Requires:	nauty
Requires:	palp
Requires:	pari-elldata
Requires:	pari-galdata
Requires:	pari-galpol
Requires:	pari-gp
Requires:	pari-nftables
Requires:	pari-seadata
Requires:	python3-tdlib
Requires:	%{py3_dist asttokens}
%if %{with bundled_ipython}
Requires:	%{py3_dist backcall}
%endif
Requires:	%{py3_dist beautifulsoup4}
Requires:	%{py3_dist beniget}
Requires:	%{py3_dist brial}
Requires:	%{py3_dist charset-normalizer}
Requires:	%{py3_dist contourpy}
Requires:	%{py3_dist cppy}
Requires:	%{py3_dist cypari2}
Requires:	%{py3_dist cysignals}
Requires:	%{py3_dist cvxopt}
Requires:	%{py3_dist cython}
Requires:	%{py3_dist docutils}
Requires:	%{py3_dist executing}
Requires:	%{py3_dist flit-core}
Requires:	%{py3_dist fpylll}
Requires:	%{py3_dist gast}
Requires:	%{py3_dist gmpy2}
%if %{with sphinx_hack}
Requires:	%{py3_dist html5lib}
Requires:	%{py3_dist imagesize}
%endif
Requires:	%{py3_dist idna}
Requires:	%{py3_dist importlib-metadata}
Requires:	%{py3_dist ipykernel}
%if %{without bundled_ipython}
Requires:	%{py3_dist ipython}
%endif
Requires:	%{py3_dist ipywidgets}
%if %{with bundled_ipython}
Requires:	%{py3_dist jedi}
%endif
Requires:	%{py3_dist lrcalc}
Requires:	%{py3_dist matplotlib}
Requires:	%{py3_dist nbclient}
Requires:	%{py3_dist nbconvert}
Requires:	%{py3_dist nbformat}
Requires:	%{py3_dist nest-asyncio}
Requires:	%{py3_dist networkx}
%if %{with bundled_ipython}
Requires:	%{py3_dist path.py}
%endif
%if %{without bundled_pexpect}
Requires:	%{py3_dist pexpect}
%endif
%if %{with bundled_ipython}
Requires:	%{py3_dist pickleshare}
%endif
Requires:	%{py3_dist pplpy}
Requires:	%{py3_dist primecountpy}
Requires:	%{py3_dist ptyprocess}
Requires:	%{py3_dist pure-eval}
Requires:	%{py3_dist pycryptosat}
Requires:	%{py3_dist pytz}
Requires:	%{py3_dist pytzdata}
Requires:	%{py3_dist pytz-deprecation-shim}
%if %{with bundled_ipython}
Requires:	%{py3_dist pyzmq}
%endif
Requires:	%{py3_dist rpy2}
Requires:	%{py3_dist scipy}
%if %{with bundled_ipython}
Requires:	%{py3_dist simplegeneric}
%endif
Requires:	%{py3_dist six}
Requires:	%{py3_dist sphinx}
Requires:	%{py3_dist stack-data}
Requires:	%{py3_dist sympy}
Requires:	%{py3_dist tinycss2}
Requires:	%{py3_dist tomlkit}
Requires:	%{py3_dist urllib3}
Requires:	%{py3_dist zodb3}
Requires:	qepcad-B
Requires:	Singular
Requires:	sympow
Requires:	tachyon
Requires:	texlive
%if %{with bundled_ipython}
Provides:	bundled(ipython) = %{ipython_ver}
Provides:	bundled(prompt_toolkit) = %{prompt_toolkit_ver}
%endif
%if %{with bundled_jupyter_jsmol}
Provides:	bundled(jupyter-jsmol) = %{jupyter_jsmol_ver}
%endif
%if %{with bundled_memory_allocator}
Provides:	bundled(memory-allocator) = %{memory_allocator_ver}
%endif

# This can be removed when Fedora 40 reaches EOL
Obsoletes:      pynac < 0.7.29-3
Obsoletes:      pynac-devel < 0.7.29-3

%description	core
This package contains the core sagemath python modules.

#------------------------------------------------------------------------
%package	data
Summary:	Databases and scripts for %{name}
Requires:	%{name} = %{version}-%{release}
Requires:	%{name}-data-combinatorial_designs = %{version}-%{release}
Requires:	%{name}-data-conway_polynomials = %{version}-%{release}
Requires:	%{name}-data-elliptic_curves = %{version}-%{release}
Requires:	%{name}-data-etc = %{version}-%{release}
Requires:	%{name}-data-graphs = %{version}-%{release}
Requires:	%{name}-data-polytopes_db = %{version}-%{release}
BuildArch:	noarch

%description	data
Collection of databases and interface customization scripts for sagemath.

#------------------------------------------------------------------------
%package	data-combinatorial_designs
License:	LicenseRef-Fedora-Public-Domain
Summary:	Table of MOLS from the Handbook of Combinatorial Designs
Requires:	%{name}-data = %{version}-%{release}
BuildArch:	noarch

%description	data-combinatorial_designs
The table of MOLS (10000 integers) from the Handbook of Combinatorial
Designs, 2nd edition.

#------------------------------------------------------------------------
%package	data-conway_polynomials
License:	GPL-2.0-or-later
Summary:	Conway Polynomials Database
Requires:	%{name}-data = %{version}-%{release}
BuildArch:	noarch

%description	data-conway_polynomials
Small database of Conway polynomials for sagemath.

#------------------------------------------------------------------------
%package	data-elliptic_curves
License:	Artistic-2.0
Summary:	Databases of elliptic curves
Requires:	%{name}-data = %{version}-%{release}
BuildArch:	noarch

%description	data-elliptic_curves
Includes two databases:

 * A small subset of the data in John Cremona's database of elliptic curves up
   to conductor 10000. See http://johncremona.github.io/ecdata/.

 * William Stein's database of interesting curves

#------------------------------------------------------------------------
%package	data-elliptic_curves_large
License:	Artistic-2.0
Summary:	Large database of elliptic curves
Requires:	%{name}-data = %{version}-%{release}
BuildArch:	noarch

%description	data-elliptic_curves_large
John Cremona's full database of elliptic curves, and also data related to
the BSD conjecture and modular degrees for all of these curves, and
generators for the Mordell-Weil groups.  See
http://johncremona.github.io/ecdata/.

#------------------------------------------------------------------------
%package	data-etc
License:	GPL-2.0-or-later
Summary:	Extcode for Sagemath
Requires:	%{name}-data = %{version}-%{release}
BuildArch:	noarch

%description	data-etc
Collection of scripts and interfaces to sagemath.

#------------------------------------------------------------------------
%package	data-graphs
License:	LicenseRef-Fedora-Public-Domain
Summary:	Sagemath database of graphs
Requires:	%{name}-data = %{version}-%{release}
BuildArch:	noarch

%description	data-graphs
A database of graphs. Created by Emily Kirkman based on the work of Jason
Grout. Since April 2012 it also contains the ISGCI graph database.

#------------------------------------------------------------------------
%package	data-polytopes_db
License:	GPL-3.0-or-later
Summary:	Lists of 2- and 3-dimensional reflexive polytopes
Requires:	%{name}-data = %{version}-%{release}
BuildArch:	noarch

%description	data-polytopes_db
The list of polygons is quite easy to get and it has been known for a while.
The list of 3-polytopes was originally obtained by Maximilian Kreuzer and
Harald Skarke using their software PALP, which is included into the standard
distribution of Sage. To work with lattice and reflexive polytopes from Sage
you can use sage.geometry.lattice_polytope module, which relies on PALP for
some of its functionality. To get access to the databases of this package, use
ReflexivePolytope and ReflexivePolytopes commands.

%if %{with docs}
#------------------------------------------------------------------------
%package	doc
License:	CC-BY-SA-3.0
Summary:	Documentation infrastructure files for %{name}
Requires:	mathjax

%description	doc
This package contains the documentation infrastructure for %{name}.

#------------------------------------------------------------------------
%package	doc-ca
License:	CC-BY-SA-3.0
Summary:	Catalan documentation files for %{name}
Requires:	%{name}-doc = %{version}-%{release}

%description	doc-ca
This package contains the Catalan %{name} documentation.

#------------------------------------------------------------------------
%package	doc-de
License:	CC-BY-SA-3.0
Summary:	German documentation files for %{name}
Requires:	%{name}-doc = %{version}-%{release}

%description	doc-de
This package contains the German %{name} documentation.

#------------------------------------------------------------------------
%package	doc-en
License:	CC-BY-SA-3.0
Summary:	English documentation files for %{name}
Requires:	%{name}-doc = %{version}-%{release}

%description	doc-en
This package contains the English %{name} documentation.

#------------------------------------------------------------------------
%package	doc-fr
License:	CC-BY-SA-3.0
Summary:	French documentation files for %{name}
Requires:	%{name}-doc = %{version}-%{release}

%description	doc-fr
This package contains the French %{name} documentation.

#------------------------------------------------------------------------
%package	doc-hu
License:	CC-BY-SA-3.0
Summary:	Hungarian documentation files for %{name}
Requires:	%{name}-doc = %{version}-%{release}

%description	doc-hu
This package contains the Hungarian %{name} documentation.

#------------------------------------------------------------------------
%package	doc-it
License:	CC-BY-SA-3.0
Summary:	Italian documentation files for %{name}
Requires:	%{name}-doc = %{version}-%{release}

%description	doc-it
This package contains the Italian %{name} documentation.

#------------------------------------------------------------------------
%package	doc-pt
License:	CC-BY-SA-3.0
Summary:	Portuguese documentation files for %{name}
Requires:	%{name}-doc = %{version}-%{release}

%description	doc-pt
This package contains the Portuguese %{name} documentation.

#------------------------------------------------------------------------
%package	doc-ru
License:	CC-BY-SA-3.0
Summary:	Russian documentation files for %{name}
Requires:	%{name}-doc = %{version}-%{release}

%description	doc-ru
This package contains the Russian %{name} documentation.

#------------------------------------------------------------------------
%package	doc-tr
License:	CC-BY-SA-3.0
Summary:	Turkish documentation files for %{name}
Requires:	%{name}-doc = %{version}-%{release}

%description	doc-tr
This package contains the Turkish %{name} documentation.
# with docs
%endif

#------------------------------------------------------------------------
%package	jupyter
License:	GPL-2.0-or-later AND MIT
Summary:	Jupyter integration for sagemath
Requires:	%{name}%{?_isa} = %{version}-%{release}
Requires:	python-jupyter-filesystem
Requires:	%{py3_dist argon2-cffi}
Requires:	%{py3_dist deprecation}
Requires:	%{py3_dist editables}
Requires:	%{py3_dist hatchling}
Requires:	%{py3_dist jupyter-sphinx}
Requires:	%{py3_dist jupyterlab-pygments}
Requires:	%{py3_dist matplotlib-inline}
Requires:	%{py3_dist pari-jupyter}
Requires:	%{py3_dist widgetsnbextension}

%description	jupyter
This package contains a Jupyter integration for sagemath, replacing the
defunct notebook functionality.

#------------------------------------------------------------------------
%package	sagetex
License:	GPL-2.0-or-later
Summary:	Sagemath into LaTeX documents
Requires:	%{name}%{?_isa} = %{version}-%{release}
Requires:	%{py3_dist pillow}
Requires:	tex(color.sty)
Requires:	tex(fancyvrb.sty)
Requires:	tex(graphicx.sty)
Requires:	tex(hyperref.sty)
Requires:	tex(ifpdf.sty)
Requires:	tex(ifthen.sty)
Requires:	tex(ifxetex.sty)
Requires:	tex(listings.sty)
Requires:	tex(makecmds.sty)
Requires:	tex(tikz.sty)
Requires:	tex(verbatim.sty)
Requires:	tex(xspace.sty)

%description	sagetex
This is the SageTeX package. It allows you to embed code, results of
computations, and plots from the Sage mathematics software suite
(http://sagemath.org) into LaTeX documents.

########################################################################
%prep
%setup -q -n sage-%{version}
%setup -q -n sage-%{version} -T -D -a 1

pushd build/pkgs/combinatorial_designs
    tar jxf ../../../upstream/%{combinatorial_designs_pkg}.tar.bz2
    mv %{combinatorial_designs_pkg} src
popd

pushd build/pkgs/conway_polynomials
    tar jxf ../../../upstream/%{conway_polynomials_pkg}.tar.bz2
    mv %{conway_polynomials_pkg} src
popd

pushd build/pkgs/elliptic_curves
    tar jxf ../../../upstream/%{elliptic_curves_pkg}.tar.bz2
    mv %{elliptic_curves_pkg} src
popd

pushd build/pkgs/graphs
    tar jxf ../../../upstream/%{graphs_pkg}.tar.bz2
    mv %{graphs_pkg} src
popd

%if %{with bundled_ipython}
pushd build/pkgs/ipython
    tar zxf ../../../upstream/%{ipython_pkg}.tar.gz
    mv %{ipython_pkg} src
popd

pushd build/pkgs/prompt_toolkit
    tar zxf ../../../upstream/%{prompt_tookit_pkg}.tar.gz
    mv %{prompt_tookit_pkg} src
popd
%endif

%if %{with bundled_jupyter_jsmol}
pushd build/pkgs/jupyter_jsmol
    tar zxf ../../../upstream/%{jupyter_jsmol_pkg}.tar.gz
    mv %{jupyter_jsmol_pkg} src
popd
%endif

%if %{with bundled_memory_allocator}
pushd build/pkgs/memory_allocator
    tar zxf ../../../upstream/%{memory_allocator_pkg}.tar.gz
    mv %{memory_allocator_pkg} src
popd
%endif

%if %{with bundled_pexpect}
pushd build/pkgs/pexpect
    tar zxf ../../../upstream/%{pexpect_pkg}.tar.gz
    mv %{pexpect_pkg} src
popd
%endif

pushd build/pkgs/polytopes_db
    tar jxf ../../../upstream/%{polytopes_db_pkg}.tar.bz2
    mv %{polytopes_db_pkg} src
popd

pushd build/pkgs/sagetex
    tar zxf ../../../upstream/%{sagetex_pkg}.tar.gz
    mv %{sagetex_pkg} src
    # Fix the style file install path
    texmfdir=$(cut -d/ -f3- <<< "%{_texmf}")
    sed -i "s,share/texmf,$texmfdir," src/setup.py
popd

%if %{with docs}
%if %{with sphinx_hack}
pushd build/pkgs/sphinx
    tar zxf ../../../upstream/%{Sphinx_pkg}.tar.gz
    mv %{Sphinx_pkg} src
    pushd src
	for diff in ../patches/*.patch; do
	    patch -p1 < $diff
	done
    popd
popd
%endif
%endif

%if %{with bundled_threejs}
pushd build/pkgs/threejs
    tar zxf ../../../upstream/%{threejs_pkg}.tar.gz
    mv %{threejs_pkg} src
popd
%endif

%autopatch -p0

sed -i 's|@@SAGE_LOCAL@@|%{SAGE_LOCAL}|' src/sage/env.py

sed -e 's|@@CYSIGNALS@@|%{python3_sitearch}/cysignals|' \
    -e 's|@@BUILDROOT@@|%{buildroot}|' \
    -i src/sage_setup/command/sage_build_cython.py

#------------------------------------------------------------------------
# some .c files are not (re)generated
find src/sage \( -name \*.pyx -o -name \*.pxd \) -exec touch {} \+

# fix shebangs; some paths contains spaces, so use the null byte facility
grep -FrlZ '#!%{_bindir}/env python3' | \
  xargs -0 sed -i 's,#!%{_bindir}/env python3,#!%{python3},g'
grep -FrlZ '#!%{_bindir}/env python' | \
  xargs -0 sed -i 's,#!%{_bindir}/env python,#!%{python3},g'
grep -FrlZ '#!%{_bindir}/env sage-bootstrap-python' | \
  xargs -0 sed -i 's,#!%{_bindir}/env sage-bootstrap-python,#!%{python3},g'
grep -FrlZ '#!%{_bindir}/env sage-python' | \
  xargs -0 sed -i 's,#!%{_bindir}/env sage-python,#!%{python3},g'
grep -FrlZ '#!%{_bindir}/env' | \
  xargs -0 sed -i 's,#!%{_bindir}/env ,#!%{_bindir}/,'
grep -rlZ '#!%{_bindir}/python$' | xargs -0 sed -i 's,#!%{_bindir}/python$,&3,'
sed -i 's,%{_bindir}/env python,%{python3},' \
%if %{with bundled_pexpect}
    build/pkgs/pexpect/src/examples/python.py \
%endif
    build/pkgs/sagetex/src/sagetex.ins
sed -i 's,%{_bindir}/python,&3,' src/sage/misc/dev_tools.py
sed -e 's,local/bin/python,bin/python,' \
    -e 's,#!%{_bindir}/python,&3,' \
    -i src/sage/repl/preparse.py
%if %{with bundled_ipython}
sed -e "s|'%{_bindir}/env', 'which'|'%{_bindir}/which'|" \
    -i build/pkgs/ipython/src/IPython/utils/_process_posix.py
%endif

# Remove bogus executable bits
chmod a-x src/sage/modules/fp_graded/{,steenrod/}*.py

# GAP does not have enough memory to load the entire workspace
sed -i 's/64m/256m/' src/sage/interfaces/gap.py

# Fix detection of Fedora
sed -i 's/yum/rpm/' build/bin/sage-guess-package-system

# Allow use of gcc 13
sed -i 's/1\[3-9\].*)/1[4-9].*)/' configure

# Allow use of eclib 20221012
sed -i 's/20220621/20221012/g' configure

# Do not build with -march=native
sed -i 's/CFLAGS_MARCH="-march=native"/CFLAGS_MARCH=""/' configure


########################################################################
%build
export LC_ALL=C.UTF-8
export CPPFLAGS="-I%{_includedir}/4ti2 -I%{_includedir}/arb -I%{_includedir}/cddlib"
export ECMBIN=%{_bindir}/gmp-ecm
export SAGE_ROOT=%{buildroot}%{SAGE_ROOT}
export SAGE_LOCAL=%{buildroot}%{SAGE_LOCAL}
# Avoid buildroot in gcc command line (use _builddir instead)
export SAGE_SRC="$PWD/src"
export SAGE_INC=%{_includedir}
export DESTDIR=%{buildroot}
export SAGE_DEBUG=no
# Use file in /tmp because there are issues with long pathnames
export DOT_SAGE=/tmp/sage$$
mkdir -p $DOT_SAGE/tmp

# Avoid surprises due to change to src/build/temp.*$ARCH.*/...
export SAGE_CYTHONIZED=$SAGE_SRC/build/cythonized

# match system packages as sagemath packages
mkdir -p $SAGE_ROOT $SAGE_LOCAL
ln -sf %{_libdir} $SAGE_LOCAL/lib
ln -sf %{_includedir} $SAGE_LOCAL/include
ln -sf %{_datadir} $SAGE_LOCAL/share

export PATH=%{buildroot}%{_bindir}:$PATH
export PYTHON=%{_bindir}/python3
export PYTHONPATH=%{buildroot}%{python3_sitearch}:%{buildroot}%{python3_sitelib}:$PYTHONPATH

# Make various programs visible to configure
module load 4ti2-%{_arch}
module load lrcalc-%{_arch}
module load surf-geometry-%{_arch}

# Initialize polymake
polymake --reconfigure - <<< exit;

#------------------------------------------------------------------------
# Run the configure script to generate files
export GSL_LIBS="-lgsl -lflexiblas -lm"
%configure \
  --prefix=$SAGE_LOCAL \
  --disable-rpath \
  --disable-silent-rules \
  --enable-4ti2 \
  --enable-bliss \
  --enable-cocoalib \
  --enable-cryptominisat \
  --enable-csdp \
  --enable-database_cremona_ellcurve \
  --enable-frobby \
  --enable-mcqd \
  --enable-meataxe \
  --enable-qepcad \
  --enable-saclib \
  --enable-sirocco \
  --enable-surf \
  --enable-tdlib \
	--enable-build-as-root

#------------------------------------------------------------------------
# Link with flexiblas instead of gslcblas
grep -FrlZ gslcblas | xargs -0 sed -i 's/gslcblas/flexiblas/g'

#------------------------------------------------------------------------
# Save and update environment to generate bundled interfaces
save_PATH=$PATH
save_LOCAL=$SAGE_LOCAL
export PATH=%{_builddir}/bin:$PATH
export SAGE_LOCAL=%{_builddir}

%if %{with bundled_ipython}
pushd build/pkgs/ipython/src
    %{python3} setup.py build
    %{python3} setup.py install --root %{_builddir}
popd

pushd build/pkgs/prompt_toolkit/src
    %{python3} setup.py build
    %{python3} setup.py install --root %{_builddir}
popd
%endif

%if %{with bundled_jupyter_jsmol}
pushd build/pkgs/jupyter_jsmol/src
    %{python3} setup.py build
    %{python3} setup.py install --root %{_builddir}
popd
%endif

%if %{with bundled_memory_allocator}
pushd build/pkgs/memory_allocator/src
    %{python3} setup.py build
    %{python3} setup.py install --root %{_builddir}
popd
%endif

%if %{with cython_hack}
    cp -far %{python3_sitearch}/Cython %{_builddir}%{python3_sitearch}
    BASE=$PWD/build/pkgs/cython/patches/
    pushd %{_builddir}%{python3_sitearch}
	for PATCH in pxi_sys_path.patch
	do
	    patch -p1 < $BASE/$PATCH
	done
    popd
%endif

# Restore environment used to generate bundled interfaces
export PATH=$save_PATH
export SAGE_LOCAL=$save_LOCAL
export PYTHONPATH=$PYTHONPATH:%{_builddir}%{python3_sitelib}:%{_builddir}%{python3_sitearch}
mkdir -p %{buildroot}%{SAGE_SPKG_INST}
mkdir -p %{buildroot}%{_libdir}/sagemath/build/pkgs

pushd src
    %{python3} -u ./setup.py build
    tar cf - $(find sage -type f \! \( -name \*.c -o -name \*.cc -o -name \*.cpp -o -name .gitignore -o -name \*.hpp \) ) | (cd build/lib.*; tar xf -)
    tar cf - $(find sage_setup -name \*.py) | (cd build/lib.*; tar xf -)
popd

#------------------------------------------------------------------------
pushd build/pkgs/sagetex/src
    %{python3} ./setup.py build
popd

# last build command
rm -fr $DOT_SAGE

########################################################################
%install
export LC_ALL=C.UTF-8
export CC=%{__cc}
export SAGE_ROOT=%{buildroot}%{SAGE_ROOT}
export SAGE_LOCAL=%{buildroot}%{SAGE_LOCAL}
# Avoid buildroot in gcc command line (use _builddir instead)
export SAGE_SRC="$PWD/src"
export SAGE_INC=%{_includedir}
#export SAGE_SRC=#%#{buildroot}#%#{SAGE_SRC}
export SAGE_SHARE=%{buildroot}%{SAGE_SHARE}
export SAGE_ETC=%{buildroot}%{SAGE_ETC}
export SAGE_EXTCODE=%{buildroot}%{SAGE_ETC}
export SAGE_DOC=%{buildroot}%{SAGE_DOC}
export SAGE_PYTHONPATH=%{buildroot}%{SAGE_PYTHONPATH}
export DESTDIR=%{buildroot}
export SAGE_DEBUG=no
export DOT_SAGE=/tmp/sage$$
mkdir -p $DOT_SAGE/tmp

export PATH=%{buildroot}%{_bindir}:$PATH
export PYTHON=%{_bindir}/python3
export PYTHONPATH=%{buildroot}%{python3_sitearch}:%{buildroot}%{python3_sitelib}:$PYTHONPATH
export PYTHONPATH=%{_builddir}%{python3_sitearch}:%{_builddir}%{python3_sitelib}:$PYTHONPATH

#------------------------------------------------------------------------
mkdir -p %{buildroot}%{_bindir}
mkdir -p %{buildroot}%{_libdir}
mkdir -p $SAGE_PYTHONPATH
rm -fr $SAGE_LOCAL/{include,lib,share,notebook}
mkdir -p $SAGE_SHARE $SAGE_DOC $SAGE_LOCAL/bin %{buildroot}%{SAGE_SRC}
ln -sf $PWD/src/sage %{buildroot}%{SAGE_SRC}/sage
ln -sf %{_libdir} $SAGE_LOCAL/lib
ln -sf %{_includedir} $SAGE_LOCAL/include
ln -sf %{_datadir} $SAGE_LOCAL/share

#------------------------------------------------------------------------
cp -a src/sage/ext_data $SAGE_ETC
cp -p %{SOURCE2} $SAGE_ETC

#------------------------------------------------------------------------
pushd src
%if %{without install_hack}
    %py3_install
%else
    mkdir -p %{buildroot}%{python3_sitearch}
    cp -far build/lib.linux-*/sage %{buildroot}%{python3_sitearch}
%endif
%if %{with docs}
    # install documentation sources
    rm -fr $SAGE_DOC/{common,en,fr}
    cp -far doc/{common,ca,de,en,fr,hu,it,pt,ru,tr} $SAGE_DOC
%endif
popd

#------------------------------------------------------------------------
%if %{with bundled_pexpect}
pushd build/pkgs/pexpect/src
    cp -fa pexpect $SAGE_PYTHONPATH
popd
%endif

#------------------------------------------------------------------------
cp -fa COPYING.txt $SAGE_ROOT
pushd src/bin
    mkdir -p $SAGE_LOCAL/bin
    cp -fa sage-* $SAGE_LOCAL/bin
    pushd $SAGE_LOCAL/bin
	ln -sf %{_bindir}/jmol jmol
	ln -sf %{_bindir}/python3 sage.bin
	ln -sf %{_bindir}/python3 python
	ln -sf %{_bindir}/gp sage_pari
	ln -sf %{_bindir}/gap gap
	ln -sf %{_bindir}/gmp-ecm ecm
	rm -f sage-env-config.in
    popd
popd
install -p -m755 src/bin/sage $SAGE_LOCAL/bin

#------------------------------------------------------------------------
pushd $SAGE_LOCAL/bin/
    rm -f \
	sage-arch-env \
	sage-bdist \
	sage-build \
	sage-clone \
	sage-clone-source \
	sage-combinat \
	sage-crap \
	sage-dev \
	sage-download-file \
	sage-download-upstream \
	sage-env \
	sage-fix-pkg-checksums \
	sage-list-experimental \
	sage-list-optional \
	sage-list-packages \
	sage-list-standard \
	sage-location \
	sage-omega \
	sage-open \
	sage-pkg \
	sage-pull \
	sage-push \
	sage-pypkg-location \
	sage-README-osx.txt \
	sage-rebaseall.bat \
	sage-rebaseall.sh \
	sage-rebase.bat \
	sage-rebase.sh \
	sage-rebase \
	sage-rsyncdist \
	sage-sdist \
	sage-spkg \
	sage-starts \
	sage-sync-build.py \
	sage-test-import \
	sage-update-src \
	sage-update-version \
	sage-upgrade \
	spkg-install
popd

#------------------------------------------------------------------------
(
    source build/bin/sage-dist-helpers

#------------------------------------------------------------------------
pushd build/pkgs/combinatorial_designs
    mkdir -p $SAGE_SHARE/combinatorial_designs
    cp -fa src/* $SAGE_SHARE/combinatorial_designs
popd

#------------------------------------------------------------------------
pushd build/pkgs/conway_polynomials
    %{python3} ./spkg-install.py
popd

#------------------------------------------------------------------------
pushd build/pkgs/elliptic_curves
    # --short-circuit -bi debug build helper
    if [ ! -e src/ellcurves ]; then
	rm -fr src
	tar jxf ../../../upstream/%{elliptic_curves_pkg}.tar.bz2
	mv %{elliptic_curves_pkg} src
    fi
    %{python3} ./spkg-install.py
popd

#------------------------------------------------------------------------
pushd build/pkgs/graphs
    mkdir -p $SAGE_SHARE/graphs
    cp -fa src/* $SAGE_SHARE/graphs
popd

#------------------------------------------------------------------------
pushd build/pkgs/polytopes_db
    mkdir -p $SAGE_SHARE/reflexive_polytopes
    cp -fa src/* $SAGE_SHARE/reflexive_polytopes
popd

#------------------------------------------------------------------------
pushd build/pkgs/sagetex/src
    %py3_install "--install-purelib=%{python3_sitearch}"
    mv %{buildroot}%{_texmf}/tex/latex/sagetex/CONTRIBUTORS \
	 %{buildroot}%{_docdir}/sagetex
    for file in PKG-INFO; do
	install -p -m 0644 $file %{buildroot}%{_docdir}/sagetex/$file
    done
popd

#------------------------------------------------------------------------
%if %{with bundled_ipython}
mv %{_builddir}%{python3_sitelib}/IPython %{buildroot}%{SAGE_PYTHONPATH}
mv %{_builddir}%{python3_sitelib}/prompt_toolkit* %{buildroot}%{SAGE_PYTHONPATH}
mv %{_builddir}%{_bindir}/ip* %{buildroot}%{SAGE_LOCAL}/bin
%endif

#------------------------------------------------------------------------
%if %{with bundled_jupyter_jsmol}
mv %{_builddir}%{python3_sitelib}/jupyter_jsmol* %{buildroot}%{SAGE_PYTHONPATH}
%endif

#------------------------------------------------------------------------
%if %{with bundled_memory_allocator}
mv %{_builddir}%{python3_sitearch}/memory_allocator* %{buildroot}%{SAGE_PYTHONPATH}
%endif

#------------------------------------------------------------------------
%if %{with bundled_threejs}
pushd build/pkgs/threejs
    mkdir -p $SAGE_SHARE/threejs-sage
    cp -a src/build $SAGE_SHARE/threejs-sage/%{threejs_ver}
popd
%endif

#------------------------------------------------------------------------
) # source build/bin/sage-dist-helpers

#------------------------------------------------------------------------
singver=$(sed 's/^.*-\([.[:digit:]]*\).*$/\1/' <<< %{singular_pkg})
cat > %{buildroot}%{SAGE_LOCAL}/bin/sage-env << EOF
export CUR=\$PWD
##export DOT_SAGE="\$HOME/.sage"
mkdir -p \$DOT_SAGE/{maxima,sympow,tmp}
export SAGE_TESTDIR=\$DOT_SAGE/tmp
export SAGE_ROOT="$SAGE_ROOT"
export SAGE_LOCAL="$SAGE_LOCAL"
export SAGE_SHARE="$SAGE_SHARE"
export SAGE_EXTCODE="$SAGE_ETC"
export SAGE_ETC="$SAGE_ETC"
export SAGE_SRC="%{buildroot}%{SAGE_SRC}"
##export SAGE_DOC="$SAGE_DOC"
##export SAGE_DOC_SRC="\$SAGE_DOC"
##export SAGE_PKGS="\$SAGE_LOCAL/var/lib/sage/installed"
module load 4ti2-%{_arch}
module load lrcalc-%{_arch}
module load surf-geometry-%{_arch}
export PATH=$SAGE_LOCAL/bin:\$PATH
export SINGULAR_DATA_DIR=%{_datadir}
export SINGULAR_BIN_DIR=%{_libdir}/Singular
export LIBSINGULAR_PATH=%{_libdir}/libSingular-$singver.so
##export PYTHONPATH="$SAGE_PYTHONPATH:\$SAGE_LOCAL/bin"
export SYMPOW_DIR="\$DOT_SAGE/sympow"
# Required for sage -gdb
: \${SAGE_DEBUG:=no}
export SAGE_DEBUG
EOF
cat > %{buildroot}%{_bindir}/sage << EOF
#!/bin/bash

source $SAGE_LOCAL/bin/sage-env
exec $SAGE_LOCAL/bin/sage "\$@"
EOF
#------------------------------------------------------------------------
chmod +x %{buildroot}%{_bindir}/sage

#------------------------------------------------------------------------
# adjust cython interface:
# o install csage headers
# o install .pxi and .pxd files
pushd src
    for f in `find sage \( -name \*.pxi -o -name \*.pxd -o -name \*.pyx \)`; do
	install -p -D -m 0644 $f %{buildroot}%{python3_sitearch}/$f
    done
    # need this or will not "find" the files in the directory, and
    # fail to link with gmp
    touch %{buildroot}%{python3_sitearch}/sage/libs/gmp/__init__.py
popd

%if %{with docs}
#------------------------------------------------------------------------
%if %{with bundled_pexpect}
cp -fa $SAGE_PYTHONPATH/pexpect %{buildroot}%{python3_sitearch}
%endif

# Build documentation, using %#{buildroot} environment
export SAGE_SETUP=$PWD/src/sage_setup
pushd src/doc
    export SAGE_DOC=$PWD
    export PATH=%{buildroot}%{_bindir}:$SAGE_LOCAL/bin:$PATH
    export SINGULARPATH=%{_datadir}/singular/LIB
    export SINGULAR_BIN_DIR=%{_libdir}/Singular
    export PYTHONPATH=$SAGE_SETUP:%{buildroot}%{python3_sitearch}:%{buildroot}%{python3_sitelib}:$SAGE_PYTHONPATH:$SAGE_SRC

%if %{with sphinx_hack}
    pushd ../../build/pkgs/sphinx/src
	%py3_build
	%py3_install "--install-purelib=%{python3_sitearch}"
	rm -f %{buildroot}%{_bindir}/sphinx*
    popd
%endif

    # there we go
    ln -sf %{buildroot}%{SAGE_DOC} %{buildroot}%{SAGE_SRC}/doc
    export SAGE_DOC=%{buildroot}%{SAGE_DOC}
    export SAGE_DOC_SRC=$SAGE_DOC
    export JUPYTER_PATH=%{buildroot}%{_datadir}/jupyter
    # Build with an X server running, required by some doc builders
    SAGE_NUM_THREADS=2 \
	xvfb-run -d %{python3} -m sage_docbuild --no-pdf-links -k all html -j
    rm -f %{buildroot}%{SAGE_SRC}/doc
    ln -sf %{SAGE_DOC} %{buildroot}%{SAGE_SRC}/doc

    # should not be required and encodes buildroot
    rm -fr $SAGE_DOC/output/doctrees
popd

%if %{with check}
export SAGE_TIMEOUT=%{SAGE_TIMEOUT}
export SAGE_TIMEOUT_LONG=%{SAGE_TIMEOUT_LONG}
sage -testall --verbose || :
install -p -m644 $DOT_SAGE/tmp/test.log $SAGE_DOC/test.log
# remove buildroot references from test.log
sed -i 's|%{buildroot}||g' $SAGE_DOC/test.log
%endif

%if %{with bundled_pexpect}
    rm -f %{buildroot}%{python3_sitearch}/pexpect
%endif

%if %{with sphinx_hack}
    rm -fr %{buildroot}%{python3_sitearch}/sphinx \
	%{buildroot}%{python3_sitearch}/Sphinx*
%endif

# More wrong buildroot references
perl -pi -e 's|%{buildroot}||g;' \
	 -e "s|$PWD/src/doc|%{SAGE_DOC}|g;" \
    %{buildroot}%{SAGE_DOC}/html/en/reference/combinat/sage/combinat/posets/poset_examples.html \
    %{buildroot}%{SAGE_DOC}/html/en/reference/graphs/sage/graphs/graph_generators.html
# with docs
%endif

# Even more wrong buildroot references
for shared in $(find %{buildroot}%{python3_sitearch} -name \*.so); do
  if chrpath -l $shared | grep -Fq BUILDROOT; then
    chrpath -r %{SAGE_LOCAL}/lib $shared
  fi
done

#------------------------------------------------------------------------
# Fix links
export SAGE_SRC=%{buildroot}%{SAGE_SRC}
rm -fr $SAGE_SRC/sage $SAGE_ETC/sage $SAGE_ROOT/doc $SAGE_SRC/doc
rm -fr $SAGE_ROOT/share $SAGE_ROOT/devel
ln -sf %{python3_sitearch}/sage $SAGE_SRC/sage
ln -sf %{python3_sitearch} $SAGE_ETC/sage
ln -sf %{SAGE_DOC} $SAGE_ROOT/doc
%if %{with docs}
ln -sf %{SAGE_DOC} $SAGE_SRC/doc
%endif
ln -sf %{SAGE_SHARE} $SAGE_ROOT/share
# compat devel symlink
ln -sf src $SAGE_ROOT/devel

# Install menu and icons
install -p -m644 -D src/sage/ext_data/notebook-ipython/logo.svg \
  %{buildroot}%{_datadir}/icons/hicolor/scalable/apps/sagemath.svg
mkdir -p %{buildroot}%{_datadir}/applications
cat > %{buildroot}%{_datadir}/applications/org.%{name}.sage.desktop << EOF
[Desktop Entry]
Name=Sagemath
Comment=A free open-source mathematics software system
Exec=sage
Icon=%{name}
Terminal=true
Type=Application
Categories=Education;Science;Math;
EOF
desktop-file-validate %{buildroot}%{_datadir}/applications/org.%{name}.sage.desktop

# Install the AppData file
mkdir -p %{buildroot}%{_metainfodir}
cp -p %{SOURCE3} %{buildroot}%{_metainfodir}
appstreamcli validate --no-net \
    %{buildroot}%{_metainfodir}/org.%{name}.sage.metainfo.xml

# Fix permissions
find %{buildroot} -name '*.so' -exec chmod 755 {} \+
chmod 755 %{buildroot}%{python3_sitearch}/sage/ext_data/pari/dokchitser/testall
for file in `find %{buildroot} -name \*.py`; do
    if head -1 $file | grep -q '^#!'; then
	chmod +x $file
    fi
done

%if %{with docs}
chmod -x %{buildroot}%{SAGE_DOC}/en/prep/media/Rplot001.png

# Documentation is not rebuilt (also corrects rpmlint warning of hidden file)
find %{buildroot}%{SAGE_DOC} -name .buildinfo -delete
rm -fr %{buildroot}%{SAGE_DOC}/output/inventory
find %{buildroot}%{SAGE_DOC} -type d -name _sources -exec rm -fr {} \+
%endif

# remove build directory in buildroot
[ -d %{buildroot}%{SAGE_SRC}/build ] &&
    rm -r %{buildroot}%{SAGE_SRC}/build

%if %{without install_hack}
# remove sage_setup
rm -r %{buildroot}%{python3_sitearch}/sage_setup
%endif

# remove files we do not want to install
rm %{buildroot}%{SAGE_LOCAL}/bin/sage-src-env-config.in

# pretend sagemath spkgs are installed to reduce number of errors
# in doctests
mkdir -p %{buildroot}%{SAGE_SPKG_INST}
pushd upstream
for file in *.tar.*; do
    mkdir %{buildroot}%{SAGE_SPKG_INST}/${file%.tar.*}
done
for file in *.zip; do
    mkdir %{buildroot}%{SAGE_SPKG_INST}/${file%.zip}
done
popd
pushd %{buildroot}%{SAGE_SPKG_INST}
    for pkg in %{SAGE_REQUIRED_PKGS}; do
	mkdir $pkg
    done
popd

#------------------------------------------------------------------------
cat > %{buildroot}%{SAGE_LOCAL}/bin/sage-list-packages << EOF
#!/bin/sh
NOVERSION=false
INSTALLED=no
while [ \$# -gt 0 ]; do
    if [ x\$1 = x--no-version ]; then
	NOVERSION=true
    elif [ x\$1 = xinstalled ]; then
	INSTALLED=yes
    fi
    shift
done
if [ \$INSTALLED = no ]; then
    exit 0
fi
LIST=\$(ls -1 %{SAGE_SPKG_INST})
if [ \$NOVERSION = false ]; then
    for pkg in \$LIST; do
	echo \$pkg | sed -e 's/-/ /'
    done
else
    for pkg in \$LIST; do
	echo \$pkg | sed -e 's/-.*//'
    done
fi
EOF
chmod +x %{buildroot}%{SAGE_LOCAL}/bin/sage-list-packages
#------------------------------------------------------------------------

%if %{with docs}
    rm -fr %{buildroot}%{SAGE_DOC}/doctrees
    rm -fr %{buildroot}%{SAGE_DOC}/inventory
%endif

#------------------------------------------------------------------------
# Byte compile python files in nonstandard places
%py_byte_compile %{python3} %{buildroot}%{_texmf}/tex/latex/sagetex

#------------------------------------------------------------------------
# Do not bundle mathjax
for dir in $(find %{buildroot}%{_docdir} -name _static); do
    pushd $dir
    for d in config extensions fonts jax localization MathJax.js test; do
        if [ -d "$PWD/$d" ]; then
	    rm -fr $d
	    ln -s %{_datadir}/javascript/mathjax/$d $d
	fi
    done
    popd
done

#------------------------------------------------------------------------
# Jupyter integration
pushd src
%{python3} << EOF
from sage.repl.ipython_kernel.install import SageKernelSpec
SageKernelSpec.update(prefix='%{buildroot}%{_prefix}')
EOF
popd
# Remove buildroot from the json and symbolic links
pushd %{buildroot}%{_datadir}/jupyter
    sed -i 's,%{buildroot},,g' kernels/sagemath/kernel.json
    for link in $(find . -type l); do
	target=$(readlink $link)
	if [[ "$target" =~ "%{buildroot}" ]]; then
	   rm $link
	   ln -s ${target#%{buildroot}} $link
	fi
    done
popd

#------------------------------------------------------------------------
# Build the large Cremona database
export PATH=%{buildroot}%{SAGE_LOCAL}/bin:$PATH
export PYTHONPATH=%{buildroot}%{SAGE_PYTHONPATH}:%{buildroot}%{python3_sitearch}:%{buildroot}%{python3_sitelib}
touch %{buildroot}%{SAGE_SHARE}/cremona/cremona.db
cat > cremona.sage << EOF
import sage.env
import sage.databases.cremona
sage.env.SAGE_SHARE = '%{buildroot}%{SAGE_SHARE}'
c = sage.databases.cremona.LargeCremonaDatabase('cremona', False, True)
c._init_from_ftpdata('ecdata-%{cremona_ver}')
EOF
%{buildroot}%{SAGE_LOCAL}/bin/sage cremona.sage

#------------------------------------------------------------------------
# Scripts were used to build documentation and possibly other operations
sed -i 's|%{buildroot}||g;s|^##||g;' \
	%{buildroot}%{_bindir}/sage \
	%{buildroot}%{SAGE_LOCAL}/bin/sage-env \
	%{buildroot}%{SAGE_LOCAL}/bin/sage-env-config \
	%{buildroot}%{SAGE_LOCAL}/bin/sage-src-env-config
sed -i "s|$PWD|%{SAGE_ROOT}|g" \
	%{buildroot}%{SAGE_LOCAL}/bin/sage-env-config \
	%{buildroot}%{SAGE_LOCAL}/bin/sage-src-env-config

# last install command
rm -fr $DOT_SAGE

########################################################################
# Update sagemath's view of installed packages as RPM packages are added
# and removed.
%triggerin -- %{name}-data-elliptic_curves_large
mkdir -p %{SAGE_LOCAL}/var/lib/sage/installed/database_cremona_ellcurve-%{cremona_ver} 2>&1 || :

%triggerun -- %{name}-data-elliptic_curves_large
rm -fr %{SAGE_LOCAL}/var/lib/sage/installed/database_cremona_ellcurve-%{cremona_ver}

%if %{with docs}
%pretrans -n sagemath-doc-en -p <lua>
-- Fix directory/symlink conflicts introduced by fix for bz 1875606.
-- This can be removed when Fedora 36 reaches EOL.
paths = {
  "%{SAGE_DOC}/html/en/_static/config",
  "%{SAGE_DOC}/html/en/_static/extensions",
  "%{SAGE_DOC}/html/en/_static/fonts",
  "%{SAGE_DOC}/html/en/_static/jax",
  "%{SAGE_DOC}/html/en/_static/localization",
  "%{SAGE_DOC}/html/en/_static/test",
  "%{SAGE_DOC}/html/en/a_tour_of_sage/_static/config",
  "%{SAGE_DOC}/html/en/a_tour_of_sage/_static/extensions",
  "%{SAGE_DOC}/html/en/a_tour_of_sage/_static/fonts",
  "%{SAGE_DOC}/html/en/a_tour_of_sage/_static/jax",
  "%{SAGE_DOC}/html/en/a_tour_of_sage/_static/localization",
  "%{SAGE_DOC}/html/en/a_tour_of_sage/_static/test",
  "%{SAGE_DOC}/html/en/constructions/_static/config",
  "%{SAGE_DOC}/html/en/constructions/_static/extensions",
  "%{SAGE_DOC}/html/en/constructions/_static/fonts",
  "%{SAGE_DOC}/html/en/constructions/_static/jax",
  "%{SAGE_DOC}/html/en/constructions/_static/localization",
  "%{SAGE_DOC}/html/en/constructions/_static/test",
  "%{SAGE_DOC}/html/en/developer/_static/config",
  "%{SAGE_DOC}/html/en/developer/_static/extensions",
  "%{SAGE_DOC}/html/en/developer/_static/fonts",
  "%{SAGE_DOC}/html/en/developer/_static/jax",
  "%{SAGE_DOC}/html/en/developer/_static/localization",
  "%{SAGE_DOC}/html/en/developer/_static/test",
  "%{SAGE_DOC}/html/en/faq/_static/config",
  "%{SAGE_DOC}/html/en/faq/_static/extensions",
  "%{SAGE_DOC}/html/en/faq/_static/fonts",
  "%{SAGE_DOC}/html/en/faq/_static/jax",
  "%{SAGE_DOC}/html/en/faq/_static/localization",
  "%{SAGE_DOC}/html/en/faq/_static/test",
  "%{SAGE_DOC}/html/en/installation/_static/config",
  "%{SAGE_DOC}/html/en/installation/_static/extensions",
  "%{SAGE_DOC}/html/en/installation/_static/fonts",
  "%{SAGE_DOC}/html/en/installation/_static/jax",
  "%{SAGE_DOC}/html/en/installation/_static/localization",
  "%{SAGE_DOC}/html/en/installation/_static/test",
  "%{SAGE_DOC}/html/en/prep/_static/config",
  "%{SAGE_DOC}/html/en/prep/_static/extensions",
  "%{SAGE_DOC}/html/en/prep/_static/fonts",
  "%{SAGE_DOC}/html/en/prep/_static/jax",
  "%{SAGE_DOC}/html/en/prep/_static/localization",
  "%{SAGE_DOC}/html/en/prep/_static/test",
  "%{SAGE_DOC}/html/en/reference/_static/config",
  "%{SAGE_DOC}/html/en/reference/_static/extensions",
  "%{SAGE_DOC}/html/en/reference/_static/fonts",
  "%{SAGE_DOC}/html/en/reference/_static/jax",
  "%{SAGE_DOC}/html/en/reference/_static/localization",
  "%{SAGE_DOC}/html/en/reference/_static/test",
  "%{SAGE_DOC}/html/en/thematic_tutorials/_static/config",
  "%{SAGE_DOC}/html/en/thematic_tutorials/_static/extensions",
  "%{SAGE_DOC}/html/en/thematic_tutorials/_static/fonts",
  "%{SAGE_DOC}/html/en/thematic_tutorials/_static/jax",
  "%{SAGE_DOC}/html/en/thematic_tutorials/_static/localization",
  "%{SAGE_DOC}/html/en/thematic_tutorials/_static/test",
  "%{SAGE_DOC}/html/en/tutorial/_static/config",
  "%{SAGE_DOC}/html/en/tutorial/_static/extensions",
  "%{SAGE_DOC}/html/en/tutorial/_static/fonts",
  "%{SAGE_DOC}/html/en/tutorial/_static/jax",
  "%{SAGE_DOC}/html/en/tutorial/_static/localization",
  "%{SAGE_DOC}/html/en/tutorial/_static/test",
  "%{SAGE_DOC}/html/en/website/_static/config",
  "%{SAGE_DOC}/html/en/website/_static/extensions",
  "%{SAGE_DOC}/html/en/website/_static/fonts",
  "%{SAGE_DOC}/html/en/website/_static/jax",
  "%{SAGE_DOC}/html/en/website/_static/localization",
  "%{SAGE_DOC}/html/en/website/_static/test"
}

for _, path in ipairs(paths) do
  st = posix.stat(path)
  if st and st.type == "directory" then
    status = os.rename(path, path .. ".rpmmoved")
    if not status then
      suffix = 0
      while not status do
        suffix = suffix + 1
        status = os.rename(path .. ".rpmmoved", path .. ".rpmmoved." .. suffix)
      end
      os.rename(path, path .. ".rpmmoved")
    end
  end
end

-- Fix directory/symlink conflicts introduced by sagemath 3.5 -> 3.6 upgrade.
-- This can be removed when Fedora 40 reaches EOL.
paths2 = {
  "%{SAGE_DOC}/html/en/reference/plot3d/_static",
  "%{SAGE_DOC}/html/en/reference/repl/_static"
}

for _, path in ipairs(paths2) do
  st = posix.stat(path)
  if st and st.type == "link" then
    os.remove(path)
  end
end
%endif


%files
# GPL-2.0-or-later
%license COPYING.txt
%doc %{SAGE_ROOT}/COPYING.txt
%dir %{SAGE_ROOT}
%dir %{SAGE_LOCAL}/
%dir %{SAGE_SHARE}/
%{SAGE_LOCAL}/bin/
%{SAGE_LOCAL}/include
%{SAGE_LOCAL}/lib
%{SAGE_LOCAL}/share
%{SAGE_LOCAL}/var/
%ghost %{SAGE_LOCAL}/var/lib/sage/installed/database_cremona_ellcurve-%{cremona_ver}
%{SAGE_ROOT}/devel
%{SAGE_ROOT}/doc
%{SAGE_ROOT}/share
%{SAGE_SRC}/
%dir %{SAGE_PYTHONPATH}
%{_bindir}/sage
%{_datadir}/icons/hicolor/scalable/apps/%{name}.svg
%{_datadir}/applications/org.%{name}.sage.desktop
%{_metainfodir}/org.%{name}.sage.metainfo.xml
%if %{with bundled_threejs}
# MIT
%{SAGE_SHARE}/threejs-sage/
%endif

#------------------------------------------------------------------------
%files		core
# GPL-2.0-or-later
%{python3_sitearch}/sage/
%if %{without install_hack}
%{python3_sitearch}/sage-*.egg-info
%endif
%if %{with bundled_ipython}
# BSD-3-Clause
%{SAGE_PYTHONPATH}/IPython
%{SAGE_PYTHONPATH}/prompt_toolkit*
%endif
%if %{with bundled_jupyter_jsmol}
# MIT AND BSD-3-Clause AND EPL-1.0
%{SAGE_PYTHONPATH}/jupyter_jsmol*
%endif
%if %{with bundled_memory_allocator}
# GPL-3.0-only AND LGPL-3.0-or-later
%{SAGE_PYTHONPATH}/memory_allocator*
%endif

#------------------------------------------------------------------------
%files		data
%dir %{SAGE_ETC}/
%{SAGE_ETC}/sage
%{SAGE_ETC}/gprc.expect

#------------------------------------------------------------------------
%files		data-combinatorial_designs
# Public Domain
%{SAGE_SHARE}/combinatorial_designs/

#------------------------------------------------------------------------
%files		data-conway_polynomials
# GPL-2.0-or-later
%{SAGE_SHARE}/conway_polynomials/

#------------------------------------------------------------------------
%files		data-elliptic_curves
# Artistic-2.0
%dir %{SAGE_SHARE}/cremona/
%{SAGE_SHARE}/cremona/cremona_mini.db
%{SAGE_SHARE}/ellcurves/

#------------------------------------------------------------------------
%files		data-elliptic_curves_large
# Artistic-2.0
%dir %{SAGE_SHARE}/cremona/
%{SAGE_SHARE}/cremona/cremona.db

#------------------------------------------------------------------------
%files		data-etc
# GPL-2.0-or-later
%{SAGE_ETC}/doctest/
%{SAGE_ETC}/gap/
%{SAGE_ETC}/kenzo/
%{SAGE_ETC}/magma/
%{SAGE_ETC}/mwrank/
%{SAGE_ETC}/nbconvert/
%{SAGE_ETC}/nodoctest
%{SAGE_ETC}/pari/
%{SAGE_ETC}/singular/
%{SAGE_ETC}/threejs/
%{SAGE_ETC}/valgrind/

#------------------------------------------------------------------------
%files		data-graphs
# Public Domain
%{SAGE_ETC}/graphs/
%{SAGE_SHARE}/graphs/

#------------------------------------------------------------------------
%files		data-polytopes_db
# GPL-3.0-or-later
%{SAGE_SHARE}/reflexive_polytopes/

%if %{with docs}
#------------------------------------------------------------------------
%files		doc
# CC-BY-SA-3.0
%license COPYING.txt
%dir %{SAGE_DOC}/
%{SAGE_DOC}/index.html
%{SAGE_DOC}/common/
%dir %{SAGE_DOC}/html/

#------------------------------------------------------------------------
%files		doc-ca
# CC-BY-SA-3.0
%{SAGE_DOC}/ca/
%{SAGE_DOC}/html/ca/

#------------------------------------------------------------------------
%files		doc-de
# CC-BY-SA-3.0
%{SAGE_DOC}/de/
%{SAGE_DOC}/html/de/

#------------------------------------------------------------------------
%files		doc-en
# CC-BY-SA-3.0
%{SAGE_DOC}/en/
%{SAGE_DOC}/html/en/

# Fix directory/symlink conflicts introduced by fix for bz 1875606.
# This can be removed when Fedora 36 reaches EOL.
%ghost %{SAGE_DOC}/html/en/_static/config.rpmmoved
%ghost %{SAGE_DOC}/html/en/_static/extensions.rpmmoved
%ghost %{SAGE_DOC}/html/en/_static/fonts.rpmmoved
%ghost %{SAGE_DOC}/html/en/_static/jax.rpmmoved
%ghost %{SAGE_DOC}/html/en/_static/localization.rpmmoved
%ghost %{SAGE_DOC}/html/en/_static/test.rpmmoved
%ghost %{SAGE_DOC}/html/en/a_tour_of_sage/_static/config.rpmmoved
%ghost %{SAGE_DOC}/html/en/a_tour_of_sage/_static/extensions.rpmmoved
%ghost %{SAGE_DOC}/html/en/a_tour_of_sage/_static/fonts.rpmmoved
%ghost %{SAGE_DOC}/html/en/a_tour_of_sage/_static/jax.rpmmoved
%ghost %{SAGE_DOC}/html/en/a_tour_of_sage/_static/localization.rpmmoved
%ghost %{SAGE_DOC}/html/en/a_tour_of_sage/_static/test.rpmmoved
%ghost %{SAGE_DOC}/html/en/constructions/_static/config.rpmmoved
%ghost %{SAGE_DOC}/html/en/constructions/_static/extensions.rpmmoved
%ghost %{SAGE_DOC}/html/en/constructions/_static/fonts.rpmmoved
%ghost %{SAGE_DOC}/html/en/constructions/_static/jax.rpmmoved
%ghost %{SAGE_DOC}/html/en/constructions/_static/localization.rpmmoved
%ghost %{SAGE_DOC}/html/en/constructions/_static/test.rpmmoved
%ghost %{SAGE_DOC}/html/en/developer/_static/config.rpmmoved
%ghost %{SAGE_DOC}/html/en/developer/_static/extensions.rpmmoved
%ghost %{SAGE_DOC}/html/en/developer/_static/fonts.rpmmoved
%ghost %{SAGE_DOC}/html/en/developer/_static/jax.rpmmoved
%ghost %{SAGE_DOC}/html/en/developer/_static/localization.rpmmoved
%ghost %{SAGE_DOC}/html/en/developer/_static/test.rpmmoved
%ghost %{SAGE_DOC}/html/en/faq/_static/config.rpmmoved
%ghost %{SAGE_DOC}/html/en/faq/_static/extensions.rpmmoved
%ghost %{SAGE_DOC}/html/en/faq/_static/fonts.rpmmoved
%ghost %{SAGE_DOC}/html/en/faq/_static/jax.rpmmoved
%ghost %{SAGE_DOC}/html/en/faq/_static/localization.rpmmoved
%ghost %{SAGE_DOC}/html/en/faq/_static/test.rpmmoved
%ghost %{SAGE_DOC}/html/en/installation/_static/config.rpmmoved
%ghost %{SAGE_DOC}/html/en/installation/_static/extensions.rpmmoved
%ghost %{SAGE_DOC}/html/en/installation/_static/fonts.rpmmoved
%ghost %{SAGE_DOC}/html/en/installation/_static/jax.rpmmoved
%ghost %{SAGE_DOC}/html/en/installation/_static/localization.rpmmoved
%ghost %{SAGE_DOC}/html/en/installation/_static/test.rpmmoved
%ghost %{SAGE_DOC}/html/en/prep/_static/config.rpmmoved
%ghost %{SAGE_DOC}/html/en/prep/_static/extensions.rpmmoved
%ghost %{SAGE_DOC}/html/en/prep/_static/fonts.rpmmoved
%ghost %{SAGE_DOC}/html/en/prep/_static/jax.rpmmoved
%ghost %{SAGE_DOC}/html/en/prep/_static/localization.rpmmoved
%ghost %{SAGE_DOC}/html/en/prep/_static/test.rpmmoved
%ghost %{SAGE_DOC}/html/en/reference/_static/config.rpmmoved
%ghost %{SAGE_DOC}/html/en/reference/_static/extensions.rpmmoved
%ghost %{SAGE_DOC}/html/en/reference/_static/fonts.rpmmoved
%ghost %{SAGE_DOC}/html/en/reference/_static/jax.rpmmoved
%ghost %{SAGE_DOC}/html/en/reference/_static/localization.rpmmoved
%ghost %{SAGE_DOC}/html/en/reference/_static/test.rpmmoved
%ghost %{SAGE_DOC}/html/en/thematic_tutorials/_static/config.rpmmoved
%ghost %{SAGE_DOC}/html/en/thematic_tutorials/_static/extensions.rpmmoved
%ghost %{SAGE_DOC}/html/en/thematic_tutorials/_static/fonts.rpmmoved
%ghost %{SAGE_DOC}/html/en/thematic_tutorials/_static/jax.rpmmoved
%ghost %{SAGE_DOC}/html/en/thematic_tutorials/_static/localization.rpmmoved
%ghost %{SAGE_DOC}/html/en/thematic_tutorials/_static/test.rpmmoved
%ghost %{SAGE_DOC}/html/en/tutorial/_static/config.rpmmoved
%ghost %{SAGE_DOC}/html/en/tutorial/_static/extensions.rpmmoved
%ghost %{SAGE_DOC}/html/en/tutorial/_static/fonts.rpmmoved
%ghost %{SAGE_DOC}/html/en/tutorial/_static/jax.rpmmoved
%ghost %{SAGE_DOC}/html/en/tutorial/_static/localization.rpmmoved
%ghost %{SAGE_DOC}/html/en/tutorial/_static/test.rpmmoved
%ghost %{SAGE_DOC}/html/en/website/_static/config.rpmmoved
%ghost %{SAGE_DOC}/html/en/website/_static/extensions.rpmmoved
%ghost %{SAGE_DOC}/html/en/website/_static/fonts.rpmmoved
%ghost %{SAGE_DOC}/html/en/website/_static/jax.rpmmoved
%ghost %{SAGE_DOC}/html/en/website/_static/localization.rpmmoved
%ghost %{SAGE_DOC}/html/en/website/_static/test.rpmmoved

#------------------------------------------------------------------------
%files		doc-fr
# CC-BY-SA-3.0
%{SAGE_DOC}/fr/
%{SAGE_DOC}/html/fr/

#------------------------------------------------------------------------
%files		doc-hu
# CC-BY-SA-3.0
%{SAGE_DOC}/hu/
%{SAGE_DOC}/html/hu/

#------------------------------------------------------------------------
%files		doc-it
# CC-BY-SA-3.0
%{SAGE_DOC}/it/
%{SAGE_DOC}/html/it/

#------------------------------------------------------------------------
%files		doc-pt
# CC-BY-SA-3.0
%{SAGE_DOC}/pt/
%{SAGE_DOC}/html/pt/

#------------------------------------------------------------------------
%files		doc-ru
# CC-BY-SA-3.0
%{SAGE_DOC}/ru/
%{SAGE_DOC}/html/ru/

#------------------------------------------------------------------------
%files		doc-tr
# CC-BY-SA-3.0
%{SAGE_DOC}/tr/
%{SAGE_DOC}/html/tr/
# with docs
%endif

#------------------------------------------------------------------------
%files		jupyter
# GPL-2.0-or-later
%{SAGE_ETC}/notebook-ipython/
%{_datadir}/jupyter/kernels/sagemath/
# MIT
%{_datadir}/jupyter/nbextensions/threejs-sage

#------------------------------------------------------------------------
%files		sagetex
# GPL-2.0-or-later
%{_bindir}/sagetex*
%{python3_sitearch}/sagetex*
%{python3_sitearch}/__pycache__/sagetex*
%{_texmf}/tex/latex/sagetex/
%doc %{_docdir}/sagetex/

########################################################################
%changelog
* Mon Mar 13 2023 Jerry James <loganjerry@xxxxxxxxx> - 9.8-1
- Version 9.8
- Drop upstreamed patches: -fes-build, -python3.11
- Add patches: -catch-value, -gap-split-root, -bind2nd, -mem-fun-ref

* Sat Jan 21 2023 Fedora Release Engineering <releng@xxxxxxxxxxxxxxxxx> - 9.7-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild

* Tue Jan 17 2023 Jerry James <loganjerry@xxxxxxxxx> - 9.7-1
- Version 9.7
- Drop upstreamed patches: -infinite-recursion, -use-after-free, -sphinx

* Thu Jan 12 2023 Jerry James <loganjerry@xxxxxxxxx> - 9.6-8
- Update for split GAP tree
- Add patch for FTBFS with latest giac (see bz 2160197)
- Fix eclib detection
- Add BR on pcre-devel
- Add BR on texlive-tex-gyre
- Rebuild for libfplll 5.4.4

* Tue Dec 20 2022 Jerry James <loganjerry@xxxxxxxxx> - 9.6-7
- Fix failure to install (bz 2154932)
- Fix failure to find nauty binaries (bz 2125737)
- Convert License tags to SPDX

* Wed Sep 21 2022 Jerry James <loganjerry@xxxxxxxxx> - 9.6-6
- Rebuild for gap 4.12.0 and pari 2.15.0

* Tue Aug 23 2022 Mamoru TASAKA <mtasaka@xxxxxxxxxxxxxxxxx> - 9.6-5
- Rebuild for gsl-2.7.1

* Sat Jul 23 2022 Fedora Release Engineering <releng@xxxxxxxxxxxxxxxxx> - 9.6-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild

* Tue Jul  5 2022 Jerry James <loganjerry@xxxxxxxxx> - 9.6-3
- Add patch for python 3.11 compatibility (bz 2099168)
- Add workaround for symlink/directory conflict (bz 2097773)
- Modify the jmol patch to timeout after 5 minutes.  This is a workaround for
  recently observed jmol hangs, but is not a proper fix.

* Tue Jun 21 2022 Python Maint <python-maint@xxxxxxxxxx> - 9.6-2
- Rebuilt for Python 3.11

* Wed Jun  1 2022 Jerry James <loganjerry@xxxxxxxxx> - 9.6-1
- Version 9.6
- Fix path to libSingular.so (bz 2073208)
- Fix threejs install location (bz 2081720)
- Drop upstreamed -rubiks and -intersphinx-disabled-reftypes patches
- Drop no longer used ratpoints BR
- Thebe is no longer bundled

* Sun Mar 27 2022 Jerry James <loganjerry@xxxxxxxxx> - 9.5-2
- Remove all support for 32-bit platforms
- Remove the interactive shell argument from /usr/bin/sage (rhbz#2028403)

* Mon Mar 21 2022 Jerry James <loganjerry@xxxxxxxxx> - 9.5-1
- Version 9.5
- Drop unnecessary -4ti2 and -primecount patches

* Sat Jan 22 2022 Fedora Release Engineering <releng@xxxxxxxxxxxxxxxxx> - 9.4-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild

* Thu Oct  7 2021 Jerry James <loganjerry@xxxxxxxxx> - 9.4-2
- Rebuild for polymake 4.5

* Fri Aug 27 2021 Jerry James <loganjerry@xxxxxxxxx> - 9.4-1
- Version 9.4
- Drop upstreamed -eclib patch
- Drop unnecessary -readonly patch
- Unbundle ipywidgets
- Bundle memory_allocator for now

* Wed Aug 18 2021 Jerry James <loganjerry@xxxxxxxxx> - 9.3-5
- Unbundle flintqs
- Require gp2c and pari-nftables
- Add requirement for python3-pari-jupyter to the -jupyter subpackage

* Fri Jul 23 2021 Fedora Release Engineering <releng@xxxxxxxxxxxxxxxxx> - 9.3-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild

* Fri Jul 16 2021 Jerry James <loganjerry@xxxxxxxxx> - 9.3-3
- Rebuild for flint 2.7.1 and normaliz 3.9.0
- Add -eclib patch to adapt to eclib 20210625

* Tue Jun 29 2021 Jerry James <loganjerry@xxxxxxxxx> - 9.3-2
- Rebuild for ntl 11.5.1

* Thu Jun 17 2021 Jerry James <loganjerry@xxxxxxxxx> - 9.3-1
- Version 9.3
- Drop -arb and -openblas patches
- Add -cvxopt patch
- Add metainfo file

* Fri Jun 04 2021 Python Maint <python-maint@xxxxxxxxxx> - 9.2-5
- Rebuilt for Python 3.10

* Wed Jan 27 2021 Fedora Release Engineering <releng@xxxxxxxxxxxxxxxxx> - 9.2-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild

* Mon Dec  7 2020 Jerry James <loganjerry@xxxxxxxxx> - 9.2-3
- Try again to fix upgrade conflicts due to the fix for bz 1875606

* Tue Nov 17 2020 Jerry James <loganjerry@xxxxxxxxx> - 9.2-2
- Fix upgrade conflicts due to the fix for bz 1875606

* Tue Nov 10 2020 Jerry James <loganjerry@xxxxxxxxx> - 9.2-1
- Version 9.2 (bz 1891244)
- Unbundle widgetsnbextension (bz 1856311)
- Unbundle mathjax fonts (bz 1875606)
- Do not require the -doc subpackage from the main package (bz 1867123)
- Drop upstreamed patches: -ecl, -fes, -includes, -sagetex, -sigfpe, -sympy

* Wed Sep 30 2020 Jerry James <loganjerry@xxxxxxxxx> - 9.1-4
- Rebuild for primecount 6.1
- Bring back jmol/jsmol support

* Thu Aug 13 2020 Iñaki Úcar <iucar@xxxxxxxxxxxxxxxxx> - 9.1-3
- https://fedoraproject.org/wiki/Changes/FlexiBLAS_as_BLAS/LAPACK_manager

* Wed Jul 29 2020 Fedora Release Engineering <releng@xxxxxxxxxxxxxxxxx> - 9.1-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild

* Fri Jul 10 2020 Jerry James <loganjerry@xxxxxxxxx> - 9.1-1
- Version 9.1
- Drop upstreamed -nauty patch
- Drop -cbc patch; upstream uses the system Cbc now
- Add -ecl patch for ecl 20.4.24

* Wed May 27 2020 Miro Hrončok <mhroncok@xxxxxxxxxx> - 9.0-8
- Rebuilt for Python 3.9

* Wed May 13 2020 Jerry James <loganjerry@xxxxxxxxx> - 9.0-7
- Require libgap-devel so libgap.so can be found

* Mon May 11 2020 Jerry James <loganjerry@xxxxxxxxx> - 9.0-6
- Install threejs_template.html (bz 1832673)

* Fri May  8 2020 Jerry James <loganjerry@xxxxxxxxx> - 9.0-5
- Attempt 2 at fixing bundled ipython (bz 1832673)

* Thu May  7 2020 Jerry James <loganjerry@xxxxxxxxx> - 9.0-4
- Fix bundled ipython incompatibility with python 3.8 (bz 1832673)

* Mon Apr 27 2020 Jerry James <loganjerry@xxxxxxxxx> - 9.0-3
- Build without jmol/jsmol support due to retirement of jmol from Fedora

* Fri Mar 13 2020 Jerry James <loganjerry@xxxxxxxxx> - 9.0-2
- Rebuild for gap 4.11.0
- Update libgap interface for gap 4.11.0
- Adjust list of gap packages to match build/pkgs/gap_packages
- Point sharedmeataxe to a writable directory for its multiplication tables

* Fri Feb 28 2020 Jerry James <loganjerry@xxxxxxxxx> - 9.0-1
- Version 9.0 (bz 1756780, 1770880)
- Drop upstreamed -ecm and -primecount patches
- Add -escape patch
- The old notebook (sagenb) is no longer shipped, so drop the -sagenb and
  -sagenb-python3 patches, the -notebook subpackage, and some BRs
- New -jupyter subpackage
- Add suitesparse BR
- Drop pathlib2 BR (bz 1797116)
- Do not build for 32-bit ARM, which is unable to unpack the source RPM without
  running out of memory

* Thu Jan 30 2020 Fedora Release Engineering <releng@xxxxxxxxxxxxxxxxx> - 8.9-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild

* Thu Jan  9 2020 Jerry James <loganjerry@xxxxxxxxx> - 8.9-2
- Build with sharedmeataxe and tdlib support
- Use local objects.inv when building documentation

* Thu Nov  7 2019 pcpa <paulo.cesar.pereira.de.andrade@xxxxxxxxx> - 8.9-1
- Update to latest upstream release
- Drop no longer need patches and rediff current ones

* Fri Oct 11 2019 Jerry James <loganjerry@xxxxxxxxx> - 8.8-7
- Rebuild for mpfr 4
- Drop -mpfr patch

* Thu Sep 26 2019 Jerry James <loganjerry@xxxxxxxxx> - 8.8-6
- Rebuild for ntl 11.4.0
- Add primecount support, including the -primecount patch
- Add still more gap packages, nearly finishing the set shipped by upstream

* Thu Sep 12 2019 Jerry James <loganjerry@xxxxxxxxx> - 8.8-5
- Improve the -ecm patch
- Add -formatargspec patch to silence doc-building warnings
- Add -data-elliptic_curves_large subpackage
- Build with bliss, coxeter3, and mcqd support
- Fix typo that made the singular.hlp file inaccessible
- Add more gap packages to get closer to the set shipped by upstream
- Refactor Requires so they apply to the correct subpackages
- More python 3 patching due to changes in python 3.8
- Use upstream's method of installing jupyter support
- Obsolete the sagemath-notebook-export subpackage

* Tue Aug 20 2019 Susi Lehtola <jussilehtola@xxxxxxxxxxxxxxxxx> - 8.8-4
- Rebuilt for GSL 2.6.

* Mon Aug 19 2019 Miro Hrončok <mhroncok@xxxxxxxxxx> - 8.8-3
- Rebuilt for Python 3.8

* Fri Jul 26 2019 Fedora Release Engineering <releng@xxxxxxxxxxxxxxxxx> - 8.8-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild

* Mon Jul  1 2019 Jerry James <loganjerry@xxxxxxxxx> - 8.8-1
- Update to sagemath 8.8 (bz 1724394)
- Remove configparser dependencies (bz 1706597)
- Fix broken sed conversion (bz 1706234)
- Fix python2 versus python3 snafu (bz 1706337, 1707166)
- Build and install sagetex (bz 1706322)

* Sat Apr 27 2019 Jerry James <loganjerry@xxxxxxxxx> - 8.7-1
- Update to sagemath 8.7
- Drop upstreamed -giac patch
- Add -sagetex patch to fix a python indentation error
- Add -rubiks patch to fix compilation of the rubiks library
- Add -random patch to fix a non-random random bit generator
- Drop pip3 workaround; the binary is now named just pip again

* Mon Feb 18 2019 Jerry James <loganjerry@xxxxxxxxx> - 8.6-1
- Update to sagemath 8.6
- Install an SVG icon instead of a fixed size (128x128) icon
- Require hicolor-icon-theme since we install an icon
- Drop obsolete Obsoletes

* Sun Feb 17 2019 Igor Gnatenko <ignatenkobrain@xxxxxxxxxxxxxxxxx> - 8.5-4
- Rebuild for readline 8.0

* Sat Feb 02 2019 Fedora Release Engineering <releng@xxxxxxxxxxxxxxxxx> - 8.5-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild

* Sat Jan 19 2019 Jerry James <loganjerry@xxxxxxxxx> - 8.5-2
- Add Education category to the desktop file (bz 1624545)
- Improve jupyter integration (bz 1663165)
- Move existing jupyter integration into the notebook subpackage
- Require python-jupyter-filesystem instead of owning its directories
- Drop one more remnant of the F24 to F25 upgrade fixup

* Thu Jan 17 2019 Jerry James <loganjerry@xxxxxxxxx> - 8.5-1
- Update to sagemath 8.5
- Bundle ipython again; Fedora version is too far ahead.  Also have to bundle
  prompt_toolkit since Fedora version is too far ahead of bundled ipython.
- Drop LANGUAGES variable setting, now ignored by the sagemath build system
- Drop unused SAGE_CBLAS variable from /usr/bin/sage
- Do not force the C locale when launching sagemath
- Allow the user to override SAGE_DEBUG in /usr/bin/sage
- Add -ecm, -giac, and -latte patches to fix interactions with external tools
- Add -sigfpe patch from upstream

* Thu Oct 25 2018 Jerry James <loganjerry@xxxxxxxxx> - 8.4-1
- Update to sagemath 8.4
- Build for python 3 instead of python 2 due to upcoming python 2 removal
- Add -python3 and -escape patches to fix problems with python 3
- Drop -nofstring patch, only needed for python 2
- Drop upstreamed -eclib patch
- Switch from atlas to openblas and rename -atlas patch to -openblas
- Add -buildroot patch and only build cython interfaces once

* Sat Sep 22 2018 Jerry James <loganjerry@xxxxxxxxx> - 8.3-1
- Update to sagemath 8.3 (bz 1612867)
- Drop -lrslib, -gap-hap, and -flask patches
- Drop obsolete scriplets to fix F24 to F25 upgrade (bz 1594429 and 1618934)
- Drop obsolete mktexlsr invocations
- Fix more Singular paths
- Fix still more uses of /usr/bin/env
- Drop disallow/dissallow fixup for cython; now fixed in cython itself

* Fri Aug 10 2018 Jerry James <loganjerry@xxxxxxxxx> - 8.2-4
- Rebuild for arb 2.14.0, eclib 20180710, ntl 11.2.1, and pari 2.11.0
- Drop unneeded genus2reduction dependency; pari is used instead now

* Sat Jul 14 2018 Fedora Release Engineering <releng@xxxxxxxxxxxxxxxxx> - 8.2-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild

* Tue Jul  3 2018 Jerry James <loganjerry@xxxxxxxxx> - 8.2-2
- Rebuild for ntl 11.1.0
- Optionally bundle thebe, threejs, and widgetsnbextension
- Add provides for the optionally bundled packages
- Add -flask patch
- Apply new guidelines for python files in nonstandard places

* Fri May 18 2018 Jerry James <loganjerry@xxxxxxxxx> - 8.2-1
- Update to sagemath 8.2
- Create the sagemath-data-combinatorial_designs subpackage
- Create the sagemath-notebook-export subpackage
- Unbundle the LaTeX makecmds style
- Install LaTeX style files in a more canonical place

* Fri Feb 09 2018 Fedora Release Engineering <releng@xxxxxxxxxxxxxxxxx> - 8.0-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild

* Sat Nov 25 2017 Jerry James <loganjerry@xxxxxxxxx> - 8.0-2
- Do not interpret GAP library informational messages as a libgap failure
- Build with cryptominisat5
- Sagemath now invokes gap instead of gap_stamp

* Thu Nov 23 2017 Jerry James <loganjerry@xxxxxxxxx> - 8.0-1
- Build with bundled ipywidgets for now
- Drop unneeded -givaro patch
- Lots of new BRs for building documentation
- R python-backports-shutil_get_terminal_size and python-traitlets (bz 1464520)
- Fix Singular LIB path
- Make sure install operates in a UTF-8 environment
- Build documention with an X server running
- Build HTML documentation with mathjax

* Fri Nov 10 2017 pcpa <paulo.cesar.pereira.de.andrade@xxxxxxxxx> - 8.0-1
- Update to sagemath 8.0
- Remove cryptominisat build requires
- Remove no longer needed -singular patch (upstream updated)
- Remove no longer -flask patch (upstream updated)
- Remove no longer -pari patch (used now by cypari2)
- Disable option to use bundled cysignals
- Disable option to use bundled pari
- Use system ipython

* Sat Sep 30 2017 Jerry James <loganjerry@xxxxxxxxx> - 7.6-6
- Rebuild for arb 2.11.1, eclib 20170815, and libfplll 5.1.0

* Thu Aug 03 2017 Fedora Release Engineering <releng@xxxxxxxxxxxxxxxxx> - 7.6-5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild

* Wed Jul 26 2017 pcpa <paulo.cesar.pereira.de.andrade@xxxxxxxxx> - 7.6-4
- Add missing python-psutil dependency
- Add extra environment variable to avoid Singular-devel dependency

* Tue May 23 2017 pcpa <paulo.cesar.pereira.de.andrade@xxxxxxxxx> - 7.6-3
- Correct singular data dir path
- Correct sage -testall initialization
- Switch to empty directory to pass check for sage packages
- Correct SAGE_SRC symbolic link
- Remove explicit firefox dependency (#1446508)

* Mon May 15 2017 Fedora Release Engineering <rel-eng@xxxxxxxxxxxxxxxxxxxxxxx> - 7.6-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_27_Mass_Rebuild

* Tue Apr 11 2017 pcpa <paulo.cesar.pereira.de.andrade@xxxxxxxxx> - 7.6-1
- Update to sagemath 7.6
- Switch back to system pari

* Thu Apr  6 2017 pcpa <paulo.cesar.pereira.de.andrade@xxxxxxxxx> - 7.5.1-1
- Update to sagemath 7.5.1

* Fri Mar  3 2017 Jerry James <loganjerry@xxxxxxxxx> - 7.4-4
- Rebuild for ppl 1.2

* Sat Feb 11 2017 Fedora Release Engineering <releng@xxxxxxxxxxxxxxxxx> - 7.4-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild

* Thu Jan 12 2017 Igor Gnatenko <ignatenko@xxxxxxxxxx> - 7.4-2
- Rebuild for readline 7.x

* Fri Dec 30 2016 pcpa <paulo.cesar.pereira.de.andrade@xxxxxxxxx> - 7.4-1
- Update to sagemath 7.4

* Tue Dec 20 2016 pcpa <paulo.cesar.pereira.de.andrade@xxxxxxxxx> - 7.3.7
- Correct f24 to f25 upgrade, sagemath 6.8 to 7.3 (#1396848)

* Thu Oct 20 2016 Jerry James <loganjerry@xxxxxxxxx> - 7.3-6
- Rebuild for ntl 10.1.0

* Sun Oct 09 2016 Dominik Mierzejewski <rpm@xxxxxxxxxxxxxx> - 7.3-5
- rebuild for aarch64 (#1380191 fixed)

* Mon Sep 26 2016 Dominik Mierzejewski <rpm@xxxxxxxxxxxxxx> - 7.3-4
- rebuilt for matplotlib-2.0.0
- sync supported arches with maxima

* Mon Sep  5 2016 Jerry James <loganjerry@xxxxxxxxx> - 7.3-3
- Rebuild for ntl 9.11.0
- Add gap-pkg-guava requirement

* Wed Aug 24 2016 pcpa <paulo.cesar.pereira.de.andrade@xxxxxxxxx> - 7.3-2
- Make notebook functional with python-flask-0.11.1

* Sat Aug 20 2016 pcpa <paulo.cesar.pereira.de.andrade@xxxxxxxxx> - 7.3-1
- Update to sagemath 7.3
- Switch from polybori to brial
- Default to use system pexpect
- Use system mathjax

* Fri Aug 12 2016 Jerry James <loganjerry@xxxxxxxxx> - 6.8-14
- Rebuild for fflas-ffpack 2.2.2, givaro 4.0.2, and linbox 1.4.2
- GAP packages atlasrep, design, and hap are now available

* Sat Jul 23 2016 Jerry James <loganjerry@xxxxxxxxx> - 6.8-13
- Rebuild for ntl 9.10.0

* Tue Jul 19 2016 Fedora Release Engineering <rel-eng@xxxxxxxxxxxxxxxxxxxxxxx> - 6.8-12
- https://fedoraproject.org/wiki/Changes/Automatic_Provides_for_Python_RPM_Packages

* Thu Jun  2 2016 Jerry James <loganjerry@xxxxxxxxx> - 6.8-11
- Rebuild for ntl 9.9.1

* Fri Apr 29 2016 Jerry James <loganjerry@xxxxxxxxx> - 6.8-10
- Rebuild for ntl 9.8.0
- Nauty is now available under a free license

* Wed Apr 13 2016 Jerry James <loganjerry@xxxxxxxxx> - 6.8-9
- Rebuild for linbox 1.4.1

* Thu Apr  7 2016 Jerry James <loganjerry@xxxxxxxxx> - 6.8-8
- Rebuild for libgap 4.8.3

* Sat Mar 19 2016 Jerry James <loganjerry@xxxxxxxxx> - 6.8-7
- Rebuild for glpk 4.59, ntl 9.7.0 and gmp-ecm 7.0

* Mon Mar  7 2016 Jerry James <loganjerry@xxxxxxxxx> - 6.8-6
- Doc packages cannot be noarch since they are not built for all arches

* Sat Feb 27 2016 Jerry James <loganjerry@xxxxxxxxx> - 6.8-6
- Rebuild for givaro 4.0.1, fflas-ffpack 2.2.0, and linbox 1.4.0
- Add -givaro patch to adapt to header file changes in those releases

* Mon Feb 22 2016 Orion Poplawski <orion@xxxxxxxxxxxxx> - 6.8-5
- Rebuild for gsl 2.1

* Sat Feb 20 2016 Jerry James <loganjerry@xxxxxxxxx> - 6.8-4
- Rebuild for ntl 9.6.4

* Thu Feb 04 2016 Fedora Release Engineering <releng@xxxxxxxxxxxxxxxxx> - 6.8-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild

* Tue Dec 29 2015 Jerry James <loganjerry@xxxxxxxxx> - 6.8-2
- Rebuild for arb 2.8.0

* Tue Dec 22 2015 pcpa <paulo.cesar.pereira.de.andrade@xxxxxxxxx> - 6.8-1
- Update to sagemath 6.8
- Remove scons, lrcalc, cryptominisat, parallel and ipython3 patches
- Add lcalc, fes-build and arb patches

* Fri Dec  4 2015 Jerry James <loganjerry@xxxxxxxxx> - 6.5-14
- Rebuild for ntl 9.6.2

* Fri Oct 16 2015 Jerry James <loganjerry@xxxxxxxxx> - 6.5-13
- Rebuild for m4rie 20150908 and ntl 9.4.0

* Sat Oct  3 2015 Jerry James <loganjerry@xxxxxxxxx> - 6.5-12
- Rebuild for ecl 16.0.0

* Sat Sep 19 2015 Jerry James <loganjerry@xxxxxxxxx> - 6.5-11
- Rebuild for eclib 20150827, flint 2.5.2, and ntl 9.3.0

* Fri Sep  4 2015 Jerry James <loganjerry@xxxxxxxxx> - 6.5-10
- Rebuild for cryptominisat 2.9.10

* Sat Aug 29 2015 pcpa <paulo.cesar.pereira.de.andrade@xxxxxxxxx> - 6.5-9
- Apply conditionally not required for f22 ipython3 patch (#1258006)
- Add missing sphinx requires (#1229283)

* Mon Aug  3 2015 pcpa <paulo.cesar.pereira.de.andrade@xxxxxxxxx> - 6.5-8
- Bump release for f23 rebuild

* Sun Jul 19 2015 pcpa <paulo.cesar.pereira.de.andrade@xxxxxxxxx> - 6.5-7
- Correct unable to start QEPCAD within sage (#1243590)
- Use interactive bash on wrappers to work with other login shells (#1238341)
- Properly generate localized translations

* Fri Jun 19 2015 Fedora Release Engineering <rel-eng@xxxxxxxxxxxxxxxxxxxxxxx> - 6.5-6
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild

* Mon May 18 2015 Jerry James <loganjerry@xxxxxxxxx> - 6.5-5
- Rebuild for ntl 9.1.1 and cddlib 094h

* Sat May  9 2015 Jerry James <loganjerry@xxxxxxxxx> - 6.5-4
- Rebuild for ntl 9.1.0

* Tue May  5 2015 Peter Robinson <pbrobinson@xxxxxxxxxxxxxxxxx> 6.5-3
- Drop old F-18 comparisions
- Build on ARMv7, all deps now met

* Sun Apr 26 2015 pcpa <paulo.cesar.pereira.de.andrade@xxxxxxxxx> - 6.5-2
- Add patch to work with ipython 3

* Fri Apr  3 2015 pcpa <paulo.cesar.pereira.de.andrade@xxxxxxxxx> - 6.5-1
- Update to sagemath 6.5
- Add new Catalan and Hungarian doc subpackages
- Add customizations to not need a patched pari
- Add "with docs" test build option
- Convert build conditionals to use bcond
- Correct deprecated warning when loading sagenb

* Sat Feb  7 2015 pcpa <paulo.cesar.pereira.de.andrade@xxxxxxxxx> - 6.4.1-4
- Rebuild with a functional jsmol interface (#1190356)

* Mon Feb  2 2015 Jerry James <loganjerry@xxxxxxxxx> - 6.4.1-3
- Rebuild for ntl 8.1.2

* Thu Jan 15 2015 Jerry James <loganjerry@xxxxxxxxx> - 6.4.1-2
- Rebuild for ntl 8.1.0
- Future-proof the gap package names

* Wed Nov 26 2014 pcpa <paulo.cesar.pereira.de.andrade@xxxxxxxxx> - 6.4.1-1
- Update to sagemath 6.4.1 (#1095282)

* Sat Nov 1 2014 pcpa <paulo.cesar.pereira.de.andrade@xxxxxxxxx> - 6.3-4
- Install 128x128 icon (#1157575)

* Mon Oct 27 2014 Jerry James <loganjerry@xxxxxxxxx>
- Rebuild for m4ri 20140914 and ntl 6.2.1

* Mon Aug 18 2014 Fedora Release Engineering <rel-eng@xxxxxxxxxxxxxxxxxxxxxxx> - 6.3-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild

* Wed Aug 13 2014 pcpa <paulo.cesar.pereira.de.andrade@xxxxxxxxx> - 6.3-1
- Update to sagemath 6.3 (#1095282)
- Add new doc-it Italian documentation subpackage

* Sun Jun 08 2014 Fedora Release Engineering <rel-eng@xxxxxxxxxxxxxxxxxxxxxxx> - 6.2-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild

* Mon May 26 2014 pcpa <paulo.cesar.pereira.de.andrade@xxxxxxxxx> - 6.2-1
- Update to sagemath 6.2 (#1095282)
- Rebuild with Singular 3.1.6 (#1074597)
- Add missing python-docutils requires (#1056374)
- Correct uninstall of sagemath-notebook (#1097428)
- Enable coin-or-Cbc interface
- Make coin-or-Cbc not optional
- Make lrcalc not optional
- Use upstream patch to support pari 2.7
- Rediff ntl6 patch

* Wed Apr  2 2014 Jerry James <loganjerry@xxxxxxxxx> - 6.1.1-5
- Rebuild for ntl 6.1.0
- Fix ld ignoring __global_ldflags due to embedded trailing space
- Fix Singular paths in the build environment

* Wed Mar 19 2014 Jerry James <loganjerry@xxxxxxxxx> - 6.1.1-4
- Rebuild for libgap 4.7.4 and cryptominisat 2.9.9

* Mon Mar 10 2014 Rex Dieter <rdieter@xxxxxxxxxxxxxxxxx> 6.1.1-3
- rebuild (Singular)

* Wed Feb 12 2014 pcpa <paulo.cesar.pereira.de.andrade@xxxxxxxxx> - 6.1.1-2
- Enable optional fes dependency
- Correct jmol applet interface
- Add missing python-twisted-mail requires (#1063061)
- Correct problems when starting sage for the first time as a new user
- Correct atlas library path for f21 or newer

* Fri Feb  7 2014 pcpa <paulo.cesar.pereira.de.andrade@xxxxxxxxx> - 6.1.1-1
- Update to sagemath 6.1.1

* Tue Jan 28 2014 pcpa <paulo.cesar.pereira.de.andrade@xxxxxxxxx> - 5.13-1
- Update to sagemath 5.13

* Fri Jan 17 2014 Jerry James <loganjerry@xxxxxxxxx> - 5.12-3
- Also adapt Requires to the new gap subpackage structure

* Wed Jan 15 2014 Jerry James <loganjerry@xxxxxxxxx> - 5.12-2
- Rebuild for libgap 4.7.2
- Adapt gap BRs to new gap subpackage structure

* Wed Oct 16 2013 pcpa <paulo.cesar.pereira.de.andrade@xxxxxxxxx> - 5.12-1
- Update to sagemath 5.12.

* Sat Sep 14 2013 pcpa <paulo.cesar.pereira.de.andrade@xxxxxxxxx> - 5.10-4
- Do not hardcode SAGE_BROWSER (#967251)
- Remove pre(trans) scriptlet used to upgrade from prototype packages

* Tue Sep 10 2013 Rex Dieter <rdieter@xxxxxxxxxxxxxxxxx> 5.10-3
- pretrans scriplet uses shell commands (#1006230)

* Mon Aug 12 2013 pcpa <paulo.cesar.pereira.de.andrade@xxxxxxxxx> - 5.10-2
- Correct side effect of using system mpmath (#974769)

* Mon Aug  5 2013 pcpa <paulo.cesar.pereira.de.andrade@xxxxxxxxx> - 5.10-1
- Update to sagemath 5.10.

* Sun Aug 04 2013 Fedora Release Engineering <rel-eng@xxxxxxxxxxxxxxxxxxxxxxx> 
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild

* Wed Jul  3 2013 Jerry James <loganjerry@xxxxxxxxx> - 5.9-8
- Rebuild for maxima 5.30.0

* Wed Jun 12 2013 Remi Collet <rcollet@xxxxxxxxxx> - 5.9-7
- rebuild for new GD 2.1.0

* Tue Jun  4 2013 Jerry James <loganjerry@xxxxxxxxx> - 5.9-6
- Rebuild for ecl 2013.5.1

* Sun May 12 2013 pcpa <paulo.cesar.pereira.de.andrade@xxxxxxxxx> - 5.9-5
- Need one extra directory derefence in symlink SAGE_SRC symlink.

* Sun May 12 2013 pcpa <paulo.cesar.pereira.de.andrade@xxxxxxxxx> - 5.9-4
- Correct wrong symlink to /builddir if not using pretrans (first install).

* Sat May 11 2013 pcpa <paulo.cesar.pereira.de.andrade@xxxxxxxxx> - 5.9-3
- Add pretrans for clean upgrade after rename of SAGE_DEVEL to SAGE_SRC.

* Sat May 11 2013 pcpa <paulo.cesar.pereira.de.andrade@xxxxxxxxx> - 5.9-2
- Build in f18 and f18 with workaround to cython wrong defines (#961372)

* Mon May 6 2013 pcpa <paulo.cesar.pereira.de.andrade@xxxxxxxxx> - 5.9-1
- Update to sagemath 5.9.
- Match upstream rename of SAGE_DEVEL to SAGE_SRC.
- Merged -buildroot in -rpmbuild patch.
- Drop cython 0.19 patch already applied to sagemath 5.9.
- Add macro conditionals to use same spec and patches in f18, f19 and f20.

* Mon May  6 2013 Jerry James <loganjerry@xxxxxxxxx> - 5.8-9
- Rebuild for libfplll 4.0.3, m4ri and m4rie 20130416, and ntl 6.0.0
- Drop sagemath-unpatched_ntl.patch now that Fedora's NTL is patched
- Add sagemath-ntl6.patch to adapt to NTL 6
- Add sagemath-m4rie.patch to adapt to m4rie 20130416

* Sat Apr 27 2013 pcpa <paulo.cesar.pereira.de.andrade@xxxxxxxxx> - 5.8-8
- Add surf-geometry to path for proper Singular plotting
- Add workaround to an rpm scriptlet problem (#877651#89)

* Tue Apr 23 2013 pcpa <paulo.cesar.pereira.de.andrade@xxxxxxxxx> - 5.8-7
- Correct problem of package requiring a -devel file to work.

* Tue Apr 23 2013 pcpa <paulo.cesar.pereira.de.andrade@xxxxxxxxx> - 5.8-6
- Correct a remaining arch specific file (symlink) in noarch package.

* Mon Apr 22 2013 pcpa <paulo.cesar.pereira.de.andrade@xxxxxxxxx> - 5.8-5
- Do not build requires optional rpy in f18 due to it being broken in f18
- Correct koji sanity check finding arch specific file in noarch package
- Add patch to build with just upgraded cython in rawhide

* Mon Apr 22 2013 pcpa <paulo.cesar.pereira.de.andrade@xxxxxxxxx> - 5.8-4
- Remove noop icon cache regeneration scriplets (#877651#72)
- First Fedora 18 and Fedora 19 approved package

* Sun Apr 14 2013 pcpa <paulo.cesar.pereira.de.andrade@xxxxxxxxx> - 5.8-3
- Use proper license tag for non versioned GPL attribution (#877651#63)
- Remove no longer required workarounds for clean upgrades (#877651#63)

* Fri Apr 12 2013 pcpa <paulo.cesar.pereira.de.andrade@xxxxxxxxx> - 5.8-2
- Properly describe the license breakdown in the spec (#877651#60)
- Correct lrslib requires to lrslib-utils (#877651#60)
- Remove zero length files (#877651#60)
- Correct png file with executable permission (#877651#60)
- Avoid rpmlint warning in rubiks subpackage description (#877651#60)

* Tue Mar 19 2013 pcpa <paulo.cesar.pereira.de.andrade@xxxxxxxxx> - 5.8-1
- Update to sagemath 5.8.
- Do full cleanup of notebook package on uninstall.
- Remove with_sage_cython build conditional.
- Remove with_sage_networkx build conditional.
- Add nopari2.6 patch to not rely on not yet available interfaces.
- Add cryptominisat patch to build package in f18.

* Sat Mar 16 2013 pcpa <paulo.cesar.pereira.de.andrade@xxxxxxxxx> - 5.7-3
- Create jmol symbolic links in post and remove in postun.
- Disable libgap by default as it does not work with rawhide gap.
- Also add python-ipython to build requires to regenerate documentation.

* Wed Mar  6 2013 pcpa <paulo.cesar.pereira.de.andrade@xxxxxxxxx> - 5.7-2
- Add missing python-ipython requires (#877651#52)
- Enable libgap build in packager debug build (#877651#52)

* Fri Feb 22 2013 pcpa <paulo.cesar.pereira.de.andrade@xxxxxxxxx> - 5.7-1
- Update to sagemath 5.7.
- Add conditional patch for libgap.
- Add conditional patch for fes.
- Remove with_sage_ipython conditional.
- Add patch to create a libcsage with a soname.

* Mon Feb 18 2013 pcpa <paulo.cesar.pereira.de.andrade@xxxxxxxxx> - 5.6-6
- Rebuild with latest rawhide and f18 updates
- Make sagemath-notebook owner of its base data directory
- Explicitly mark notebook translations as %%lang (#877651#c46)
- Remove sage3d as it is not functional in the rpm package (#877651#c46)
- Remove reference to buildroot in libcsage.so debuginfo

* Fri Feb 15 2013 pcpa <paulo.cesar.pereira.de.andrade@xxxxxxxxx> - 5.6-5
- Export CFLAGS and CXXFLAGS (#877651#c45)
- Make sagemath-data owner of SAGE_SHARE (#877651#c45)
- Relocate SAGE_DOC and make sagemath-doc packages noarch (#877651#c45)
- Relocate SAGE_SHARE and make sagemath-data packages noarch (#877651#c45)
- Remove sagenb binary egg bundled in tarball (#877651#c45)
- Update license tag due to unlisted Apache v2 license (#877651#c45)
- Break down licenses in files listing (#877651#c45)
- Add post scriplets to handle the installed icon (#877651#c45)
- Do not install empty directories in SAGE_EXTCODE (#877651#c45)
- Do not install bundled mathjax fonts (#877651#c45)
- Add a descriptive comment to patches without one (#877651#c45)
- Correct mispelled donwload_tarball macro name (#877651#c45)
- Remove reference to buildroot in prep (#877651#c45)
- Simplify coin-or-Cbc build requires as it has proper dependencies

* Sun Feb 10 2013 pcpa <paulo.cesar.pereira.de.andrade@xxxxxxxxx> - 5.6-4
- Correct "canonicalization unexpectedly shrank by one character" error.
- Add packager_debug macro for conditional package debug mode build.
- Add donwload_tarball macro to avoid fedora-review donwloading it every run.

* Sat Feb  9 2013 pcpa <paulo.cesar.pereira.de.andrade@xxxxxxxxx> - 5.6-3
- Add cryptominisat-devel to build requires.
- Add conditional build for lrcalc (fedora review rhbz #909510)
- Add conditional build for coin-or-CoinUtils (fedora review rhbz #894585)
- Add conditional build for coin-or-Osi (fedora review rhbz #894586)
- Add conditional build for coin-or-Clp (fedora review rhbz #894587)
- Add conditional build for coin-or-Cgl (fedora review rhbz #894588)
- Add conditional build for coin-or-Cbc (fedora review rhbz #894597)
- Rebuild with latest rawhide and f18 dependency updates.

* Mon Jan 28 2013 pcpa <paulo.cesar.pereira.de.andrade@xxxxxxxxx> - 5.6-2
- Rebuild with latest rawhide and f18 updates.

* Fri Jan 25 2013 pcpa <paulo.cesar.pereira.de.andrade@xxxxxxxxx> - 5.6-1
- Update to sagemath 5.6.
- Remove no longer required patch to build with system cython.

* Sat Jan 19 2013 pcpa <paulo.cesar.pereira.de.andrade@xxxxxxxxx> - 5.5-3
- Rediff rpmbuild patch to address some underlinked modules.
- Make gap-sonata a mandatory requires.
- Add cremona patch to adjust logic as only cremona mini is built.
- Add lrslib patch to know lrslib is available.
- Add nauty patch and comment about reason it cannot be made available.
- Add gap-hap patch for better description of missing gap hap package.

* Fri Jan 04 2013 pcpa <paulo.cesar.pereira.de.andrade@xxxxxxxxx> - 5.5-2
- Add cython to build requires (#877651#c28).

* Sat Dec 29 2012 pcpa <paulo.cesar.pereira.de.andrade@xxxxxxxxx> - 5.5-1
- Update to sagemath 5.5.
- Add maxima.system patch to work with maxima 5.29.1 package.

* Fri Dec 14 2012 pcpa <paulo.cesar.pereira.de.andrade@xxxxxxxxx> - 5.4.1-5
- Build with system cython by default on fedora 18 or newer (#877651).

* Fri Dec 14 2012 pcpa <paulo.cesar.pereira.de.andrade@xxxxxxxxx> - 5.4.1-4
- The fplll patch is also required to build in f18.
- Add factory include to plural.pyx build.

* Wed Dec 05 2012 pcpa <paulo.cesar.pereira.de.andrade@xxxxxxxxx> - 5.4.1-3
- Revert requires python-matplotlib-tk as it was a python-matplotlib bug.
- Add stix-fonts requires.

* Sat Dec 01 2012 pcpa <paulo.cesar.pereira.de.andrade@xxxxxxxxx> - 5.4.1-2
- Change back to install .c and .h files in bundled cython.
- Make symlink of gmp-ecm to $SAGE_LOCAL/bin/ecm.
- Add SAGE_LOCAL/bin to python path so that "sage -gdb" works.
- Require python-matplotlib-tk to avoid possible import error in doctests.

* Fri Nov 30 2012 pcpa <paulo.cesar.pereira.de.andrade@xxxxxxxxx> - 5.4.1-1
- Update to sagemath 5.4.1.

* Tue Nov 20 2012 pcpa <paulo.cesar.pereira.de.andrade@xxxxxxxxx> - 5.4-2
- Do not install alternate cygdb in %%_bindir
- Create the sagemath-core subpackage
- Create the sagemath-doc subpackage
- Create the sagemath-doc-en subpackage
- Create the sagemath-doc-de subpackage
- Create the sagemath-doc-fr subpackage
- Create the sagemath-doc-pt subpackage
- Create the sagemath-doc-ru subpackage
- Create the sagemath-doc-tr subpackage
- Create the sagemath-data metapackage
- Create the sagemath-data-conway_polynomials subpackage
- Create the sagemath-data-elliptic_curves subpackage
- Create the sagemath-data-extcode subpackage
- Do not install pickle_jar extcode contents
- Do not install notebook extcode contents
- Create the sagemath-data-graphs subpackage
- Create the sagemath-data-polytopes_db subpackage
- Create the sagemath-notebook subpackage
- Create the sagemath-rubiks subpackage
- Create the sagemath-sagetex subpackage

* Mon Nov 12 2012 pcpa <paulo.cesar.pereira.de.andrade@xxxxxxxxx> - 5.4-1
- Update to sagemath 5.4.
- Build with system networkx.
- Install only one fallback icon.
- Prevent rpm from providing private shared object.
- Change base directory to %%{_libdir} to avoid rpmlint errors.
- Correct permissions of installed shared objects.
- Rename most patches to use %%{name} prefix as "suggested" by fedora-review.
- Remove bundled jar files before %%build.
- Make cube solvers build optional and disabled by default.
- Add option to run "sage -testall" during package build.

* Sat Nov 10 2012 pcpa <paulo.cesar.pereira.de.andrade@xxxxxxxxx> - 5.4.beta1-4
- Add patch to make jmol export image functional
- Update pari patch to use proper path to gprc.expect
- Force usage of firefox in notebook (known to work are firefox and chromium)

* Fri Oct 26 2012 pcpa <paulo.cesar.pereira.de.andrade@xxxxxxxxx> - 5.4.beta1-3
- Add support for releases with libmpc 0.9.

* Wed Oct 24 2012 pcpa <paulo.cesar.pereira.de.andrade@xxxxxxxxx> - 5.4.beta1-2
- Add Portuguese translations of Tutorial and A Tour of Sage

* Sat Oct 20 2012 pcpa <paulo.cesar.pereira.de.andrade@xxxxxxxxx> - 5.4.beta1-1
- Update to sagemath 5.4.beta1
- Removed already applied upstream linbox upgrade patch
- Removed already applied upstream givaro upgrade patch
- Removed already applied upstream singular upgrade patch
- Install rubiks spkg binaries

* Wed Sep 12 2012 pcpa <paulo.cesar.pereira.de.andrade@xxxxxxxxx> - 5.3-1
- Update to sagemath 5.3.
- Remove version from patches name.
- Drop m4ri patch already applied to upstream.

* Fri Sep 7 2012 pcpa <paulo.cesar.pereira.de.andrade@xxxxxxxxx> - 5.2-2
- Add sphinx workaround to have editable tutorial forms (#839321)
- Make interactive 3d plots using jmol applet functional (#837166)
- Use system genus2reduction
- Add workaround to mp_set_memory_functions call from pari library

* Sat Aug 4 2012 pcpa <paulo.cesar.pereira.de.andrade@xxxxxxxxx> - 5.2-1
- Update to sagemath 5.2.

* Sun Jul 1 2012 pcpa <paulo.cesar.pereira.de.andrade@xxxxxxxxx> - 5.0.1-1
- Initial sagemath spec.
--
_______________________________________________
devel mailing list -- devel@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to devel-leave@xxxxxxxxxxxxxxxxxxxxxxx
Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/devel@xxxxxxxxxxxxxxxxxxxxxxx
Do not reply to spam, report it: https://pagure.io/fedora-infrastructure/new_issue

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Users]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]

  Powered by Linux