%global commit 478d36c70ac3f0f3c028db4fc6de53ec78ed0d11 %global shortcommit %(c=%{commit}; echo ${c:0:7}) Name: fricas Version: 1.3.12 Release: 0.2.%{shortcommit}%{?dist} Summary: FriCAS is an advanced computer algebra system License: BSD-3-Clause URL: https://fricas.github.io # Use the full-hash tarball; it expands to fricas-%%{commit} Source0: https://github.com/%{name}/%{name}/archive/%{commit}/%{name}-%{commit}.tar.gz # --- Build dependencies (kept minimal for a fast, lean build) --- BuildRequires: make BuildRequires: gcc BuildRequires: sbcl BuildRequires: gmp-devel # Autotools are needed when building directly from a git snapshot (no prebuilt configure) BuildRequires: autoconf BuildRequires: automake BuildRequires: libtool # Graphics / HyperDoc / plotting libs for runtime GUI/plots (no doc building) BuildRequires: gnuplot BuildRequires: libX11-devel BuildRequires: pkgconfig(ice) BuildRequires: pkgconfig(sm) BuildRequires: pkgconfig(x11) BuildRequires: pkgconfig(xpm) BuildRequires: pkgconfig(xt) BuildRequires: pkgconfig(xau) BuildRequires: pkgconfig(xdmcp) # NOTE: # - No LaTeX/Emacs hard deps to keep the package light. # Users who want Emacs frontends or TeX outputs can install them separately. %description FriCAS is an advanced computer algebra system, forked in 2007 from Axiom. This package builds FriCAS with SBCL and GMP for high performance and includes X graphics support for HyperDoc/plotting (via gnuplot). LaTeX/Emacs frontends are optional. # Optional tests toggle: enable with `--with tests` if upstream tests are available %bcond_without tests %prep # Unpack the tarball named fricas-%{commit} %autosetup -n %{name}-%{commit} # Regenerate autotools when building from a git snapshot. # If your tarball already ships a working 'configure', you may comment this out. autoreconf -vfi %build # High-performance SBCL build: # - Increase dynamic space for the compiler/runtime # - Enable GMP for big integers # - Aggressive algebra optimizations (speed=3, safety=0) %configure \ --with-lisp="sbcl --control-stack-size 512 --dynamic-space-size 6000" \ --enable-gmp \ --with-x \ --enable-algebra-optimization="((speed 3) (safety 0))" # Build code only to avoid documentation toolchain issues on rawhide: # 'all' usually depends on 'all-doc'; we explicitly ask for 'all-src' only. %{__make} %{?_smp_mflags} all-src %install # Install code only; skip docs entirely: %{__make} install-src DESTDIR=%{buildroot} %check %if %{with tests} # Run upstream checks if available. %{__make} check %endif %files %license LICENSE.txt %doc ChangeLog README.rst # Core binaries %{_bindir}/fricas # Emacs launcher script is installed, but Emacs itself is optional %{_bindir}/efricas # Core runtime, algebra libraries, HyperDoc/resources live under libdir %{_libdir}/fricas %changelog * Tue Oct 28 2025 Ilia Gradina - 1.3.12-0.2.%{shortcommit} - Rawhide fix: build/install code-only (all-src / install-src) to skip failing doc targets. - Removed xvfb-run; keep X/gnuplot BR for runtime graphics; no LaTeX/Emacs hard deps. - Autoreconf for git snapshot, full-hash Source0; tightened files list. * 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