Sisyphus repository
Last update: 19 may 2019 | SRPMs: 17692 | Visits: 13567619
en ru br
ALT Linux repos
S:16.0.5-alt2
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
Url: http://www.mathomatic.org/

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

%description
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.

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

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

%install
%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

%check
make test

%files
%doc *.txt doc tests m4
%_man1dir/*
%_bindir/*
%_datadir/pixmaps/mathomatic.*
%_datadir/%name
%_niconsdir/%name.png
%_desktopdir/%name.desktop

%changelog

Full changelog you can see here

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