%global commit 606d5149a816f0a3b877b523045d1e64f8151a99 %global shortcommit %(c=%{commit}; echo ${c:0:7}) %global snapdate 20260607 # FRICASsys is an SBCL save-lisp-and-die :executable image: the multi-MB Lisp # core is appended after the ELF, so RPM's strip/debuginfo pass discards it and # the binary then falls back to the system /usr/lib/sbcl/sbcl.core (silently # broken when sbcl is installed, hard-failing when it is not). %global debug_package %{nil} %global __brp_strip %{nil} %global __brp_strip_comment_note %{nil} Name: fricas Version: 1.3.13 Release: 1.%{snapdate}git%{shortcommit}%{?dist} Summary: An advanced computer algebra system License: BSD-3-Clause URL: https://fricas.github.io Source0: https://github.com/%{name}/%{name}/archive/%{commit}/%{name}-%{shortcommit}.tar.gz BuildRequires: make BuildRequires: gcc BuildRequires: sbcl BuildRequires: gmp-devel # graphics BuildRequires: ImageMagick BuildRequires: gnuplot BuildRequires: libX11-devel BuildRequires: xorg-x11-server-Xvfb BuildRequires: pkgconfig(ice) BuildRequires: pkgconfig(sm) BuildRequires: pkgconfig(x11) BuildRequires: pkgconfig(xpm) # Latex https://fricas.github.io/install.html#latex-optional BuildRequires: tex(amsmath.sty) BuildRequires: tex(breqn.sty) BuildRequires: tex(tensor.sty) BuildRequires: tex(mleftright.sty) BuildRequires: tex(epsf.sty) BuildRequires: tex(verbatim.sty) BuildRequires: tex(hyperref.sty) BuildRequires: tex(color.sty) BuildRequires: tex(listings.sty) BuildRequires: tex(makeidx.sty) BuildRequires: tex(xparse.sty) BuildRequires: tex(tikz.sty) BuildRequires: tex(framed.sty) BuildRequires: texlive-dvips BuildRequires: texlive-dvipng BuildRequires: texlive-latex BuildRequires: texlive-makeindex BuildRequires: texlive-pdftex #emacs Requires: emacs Requires: emacs-auctex Requires: gnuplot %description FriCAS is an advanced computer algebra system, is a fork (2007) of the Axiom computer algebra system. %prep %autosetup -n %{name}-%{commit} %build # Old FriCAS C code trips GCC's incompatible-pointer-types, an error by default # since GCC 14; keep Fedora's hardening flags and only relax that one. export CFLAGS="%{build_cflags} -Wno-incompatible-pointer-types" # HyperDoc viewports are enabled and run under xvfb-run automatically by # configure once it detects xvfb-run (from xorg-x11-server-Xvfb). %configure --with-lisp="sbcl --control-stack-size 512 --dynamic-space-size 6000" \ --enable-gmp --with-x \ --enable-algebra-optimization="((speed 3) (safety 0))" %make_build %install %make_install %files %license LICENSE.txt %doc ChangeLog README.rst %{_bindir}/fricas %{_bindir}/efricas %{_libdir}/fricas %changelog * Sun Jun 07 2026 Ilia Gradina - 1.3.13-1.%{snapdate}git%{shortcommit} - update to 1.3.13 (last commit 606d514) - disable strip/debuginfo so the SBCL executable image keeps its embedded core (fixes breakage when the system sbcl is installed) - add -Wno-incompatible-pointer-types for GCC 14+ - add %%{?dist}, move snapshot id from Version to Release for correct upgrade ordering - drop bogus --enable-FEATURE and redundant MAYBE_VIEWPORTS * Wed Jan 28 2026 Ilia Gradina - 1.3.12.7b0dd2a-1 - rebuild by last commit 21 Jan 2026 * Tue Oct 28 2025 Ilia Gradina - 1.3.12.%{shortcommit}-1 - rebuild by last commit 28 Oct 2025 * Fri Nov 01 2024 Ilia Gradina - 1.3.11.%{shortcommit}-1 - rebuild by last commit 01 Nov 2024 * Sun Oct 27 2024 Ilia Gradina - 1.3.11.%{shortcommit}-1 - rebuild by last commit 27 Oct 2024 * Wed Jul 17 2024 Ilia Gradina - 1.3.11.%{shortcommit}-1 - rebuild by last commit 17 Jul 2024 * Sat Jun 15 2024 Ilia Gradina - 1.3.10.%{shortcommit}-2 - rebuild by last commit 12 Jun 2024 * Thu Jun 6 2024 Ilia Gradina - 1.3.10.%{shortcommit}-1 - rebuild with new version sbcl 2.4.5 and update with commit above * Mon May 6 2024 Ilia Gradina - 1.3.10-5 - rebuid with new version sbcl 2.4.4 * Tue Apr 23 2024 Ilia Gradina - 1.3.10-4 - rebuild with new version sbcl 2.4.3 * Sat Mar 9 2024 Ilia Gradina - 1.3.10-3 - rebuild with new version sbcl 2.4.2 * Wed Jan 31 2024 Ilia Gradina - 1.3.10-2 - rebuild with new version sbcl * Sun Jan 14 2024 Ilia Gradina - 1.3.10-1 - update to 1.3.10 * Fri Dec 29 2023 Ilia Gradina - 1.3.9.%{shortcommit}-1 - rebuild with new version sbcl and update with commit above * Fri Dec 15 2023 Ilia Gradina - 1.3.9.%{shortcommit}-1 - init commit from 14.12.2023