--- old_maxima.spec 2024-02-17 10:33:36.531793367 +0200 +++ maxima.spec 2024-01-31 09:49:34.419067973 +0200 @@ -1,9 +1,8 @@ - Summary: Symbolic Computation Program Name: maxima -Version: 5.45.1 +Version: 5.47.0 -Release: 8%{?dist} +Release: 5%{?dist} License: GPLv2 URL: http://maxima.sourceforge.net/ Source: http://downloads.sourceforge.net/sourceforge/maxima/maxima-%{version}%{?beta}.tar.gz @@ -14,22 +13,17 @@ ExclusiveArch: %{ix86} x86_64 ppc sparcv9 %endif -## upstreamable patches # https://bugzilla.redhat.com/show_bug.cgi?id=837142 # https://sourceforge.net/tracker/?func=detail&aid=3539587&group_id=4933&atid=104933 Patch50: maxima-5.37.1-clisp-noreadline.patch - -# Build the fasl while building the executable to avoid double initialization -# https://github.com/sagemath/sage/blob/develop/build/pkgs/maxima/patches/maxima.system.patch -Patch51: maxima-5.30.0-build-fasl.patch - # handle multiple ldflags in ecl build Patch52: maxima-ecl_ldflags.patch - -# Invoke python3 instead of python -Patch53: maxima-5.43.2-python3.patch - -## upstream patches +# fix matrix exponentiation +# https://gitlab.archlinux.org/archlinux/packaging/packages/maxima/-/raw/main/matrixexp.patch +Patch54: matrixexp.patch +# Use GMP arithmetic with sbcl (Void Linux) +# https://gitlab.archlinux.org/archlinux/packaging/packages/maxima/-/raw/main/maxima-sbcl-gmp.patch +Patch55: maxima-sbcl-gmp.patch %define maxima_ver %{version}%{?beta} BuildRequires: make @@ -93,7 +87,7 @@ Source6: maxima-modes.el ## Other maxima reference docs -Source10: http://starship.python.net/crew/mike/TixMaxima/macref.pdf +Source10: https://www.math.u-szeged.hu/~kovzol/SzAAMT-2003/macref.pdf Source11: http://maxima.sourceforge.net/docs/maximabook/maximabook-19-Sept-2004.pdf # Inhibit automatic compressing of info files. @@ -204,6 +198,7 @@ %package runtime-sbcl Summary: Maxima compiled with SBCL BuildRequires: sbcl +BuildRequires: gmp-devel %if "%{?_enable_sbcl}" != "--enable-sbcl-exec" # requires the same sbcl it was built against %global sbcl_vr %(sbcl --version 2>/dev/null | cut -d' ' -f2) @@ -237,9 +232,9 @@ %setup -q -n %{name}%{!?cvs:-%{version}%{?beta}} %patch -P50 -p1 -b .clisp-noreadline -%patch -P51 -p1 -b .build-fasl %patch -P52 -p1 -b .ecl_ldflags -%patch -P53 -p1 -b .python3 +%patch -P54 -p1 -b .matrix_exp +%patch -P55 -p1 -b .sbcl_gmp # Extra docs install -p -m644 %{SOURCE10} . @@ -308,9 +303,9 @@ %check desktop-file-validate %{buildroot}%{_datadir}/applications/net.sourceforge.maxima.xmaxima.desktop -%ifnarch %{ix86} -make -k check ||: -%endif +#%ifnarch %{ix86} +#make -k check ||: +#%endif %triggerin -- tetex-latex,texlive-latex if [ -d %{texmf}/tex/latex ]; then @@ -341,11 +336,8 @@ %doc %lang(en) %{_datadir}/maxima/%{maxima_ver}/doc/html/*.h* %doc %lang(en) %{_datadir}/maxima/%{maxima_ver}/doc/share/ %doc %lang(es) %{_datadir}/maxima/%{maxima_ver}/doc/html/es/ -%doc %lang(es) %{_datadir}/maxima/%{maxima_ver}/doc/html/es.utf8/ %doc %lang(pt) %{_datadir}/maxima/%{maxima_ver}/doc/html/pt/ -%doc %lang(pt) %{_datadir}/maxima/%{maxima_ver}/doc/html/pt.utf8/ %doc %lang(pt_BR) %{_datadir}/maxima/%{maxima_ver}/doc/html/pt_BR/ -%doc %lang(pt_BR) %{_datadir}/maxima/%{maxima_ver}/doc/html/pt_BR.utf8/ %{_datadir}/maxima/%{maxima_ver}/share/ %{_datadir}/mime/packages/x-mac.xml %{_datadir}/mime/packages/x-maxima-out.xml @@ -361,9 +353,10 @@ %{_infodir}/drawutils.info* %{_infodir}/kovacicODE.info* %{_infodir}/logic.info* +%{_infodir}/nelder_mead.info +%{_infodir}/symplectic_ode.info %lang(es) %{_infodir}/es* %lang(pt) %{_infodir}/pt/ -%lang(pt) %{_infodir}/pt.utf8/ %lang(pt_BR) %{_infodir}/pt_BR* %{_mandir}/man1/maxima.* %{_mandir}/*/man1/maxima.* @@ -412,11 +405,21 @@ %changelog -* Thu Jan 25 2024 Fedora Release Engineering - 5.45.1-8 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild +* Wed Jan 31 2024 Ilia Gradina - 5.47.0-5 +- Rebuild for new sbcl version 2.4.1 + +* Fri Dec 29 2023 Ilia Gradina - 5.47.0-4 +- Rebuild for new sbcl version 2.4.0 + +* Thu Nov 30 2023 Ilia Gradina - 5.47.0-3 +- Rebuild for new sbcl version 2.3.11 + +* Sun Nov 12 2023 Ilia Graidna - 5.47.0-2 +- Rebuilt for new sbcl version 2.3.10 -* Sun Jan 21 2024 Fedora Release Engineering - 5.45.1-7 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild +* Sun Oct 15 2023 Ilia Gradina - 5.47.0-1 +- Update to 5.47.0 +- added patches Patch54 and Patch55 * Fri Sep 22 2023 Jerry James - 5.45.1-6 - Rebuild for ecl 23.9.9