Sisyphus repository
Last update: 17 october 2019 | SRPMs: 17500 | Visits: 15286286
en ru br
ALT Linux repos
5.0: 14.2.0-alt1

Group :: Sciences/Mathematics
RPM: mathomatic

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs and FR  Repocop 

Name: mathomatic
Version: 16.0.5
Release: alt1
Summary: Small, portable symbolic math program
License: LGPL
Group: Sciences/Mathematics

Source: %name-%version.tar.bz2
Patch: %name-16.0.1-m4.patch

# Automatically added by buildreq on Thu Jun 24 2010

BuildRequires: libncurses-devel libreadline-devel

Mathomatic is a small, portable symbolic math program that can automatically
solve, simplify, differentiate, combine, and compare algebraic equations,
perform polynomial and complex arithmetic, etc. It was written by George
Gesslein II and has been under development since 1986.

%patch -p1
# Hack out 15.6.3 install -Cv
sed -i 's/-Cv//' makefile
sed -i 's/-Cv//' primes/makefile

%make_build READLINE=1 mathdocdir=%_defaultdocdir/%name-%version
%make_build -C primes READLINE=1 mathdocdir=%_defaultdocdir/%name-%version

%makeinstall m4install mathdocdir=%buildroot%_defaultdocdir/%name-%version
%makeinstall -C primes
install -D icons/%name.png %buildroot%_niconsdir/%name.png
# Unhack buildroot installation
sed -i 's at %buildroot at  at ' %buildroot/%_bindir/matho

make test

%doc *.txt doc tests m4


Full changelog you can see here

design & coding: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
current maintainer: Michael Shigorin