]> git.pld-linux.org Git - SPECS.git/blob - mathomatic.spec
SPECS updated Sat 31 Jul 20:26:02 CEST 2021
[SPECS.git] / mathomatic.spec
1 Summary:        Mathomatic - a symbolic math program
2 Summary(hu.UTF-8):      Mathomatic - szimbolikus számításokra képes program
3 Summary(pl.UTF-8):      Mathomatic - program do matematyki symbolicznej
4 Name:           mathomatic
5 Version:        16.0.0
6 Release:        3
7 License:        LGPL
8 Group:          Applications/Math
9 Source0:        http://www.panix.com/~gesslein/%{name}-%{version}.tar.bz2
10 # Source0-md5:  a349471e997afcfa222964692780b567
11 URL:            http://www.mathomatic.com/math/
12 BuildRequires:  ncurses-devel
13 BuildRequires:  readline-devel
14 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
15
16 %description
17 Mathomatic is a symbolic math program that can automatically solve,
18 simplify, differentiate, combine, and compare algebraic equations,
19 perform polynomial and complex arithmetic, etc. The C source code is
20 available for a UNIX/Linux freeware version. It was written by George
21 Gesslein II and has been under development since 1986.
22
23 %description -l hu.UTF-8
24 Mathomatic egy szimbolikus számításokra képes program, amely
25 automatikus megold, egyszerűsít, differenciál, kombinál és hasonlít
26 össze algebrai egyenleteket, ismeri polinomikus és komplex
27 aritmetikát, stb. A C forráskód elérhető UNIX/Linux-ra. George
28 Gesslein II írta, és 1986 óta fejlesztik.
29
30 %description -l pl.UTF-8
31 Mathomatic jest pakietem do obliczeń w matematyce symbolicznej, który
32 może automatycznie rozwiązywać, upraszczać, różnicować, kombinować i
33 porównywać równania algebraiczne. Kod w C jest dostępny darmowo dla
34 środowisk UNIX/Linux. Został napisany przez George Gesslein II i jest
35 rozwijany od roku 1986.
36
37 %prep
38 %setup -q
39
40 %build
41 %{__make} \
42         CC="%{__cc}" \
43         CFLAGS="%{rpmcflags} -DUNIX -DREADLINE -DVERSION=\\"\"%{version}\\"\" -I%{_includedir}/ncurses" \
44         LDFLAGS="%{rpmldflags}" \
45         LDLIBS="-lm -lreadline -ltinfow" \
46         READLINE=1
47
48 %install
49 rm -rf $RPM_BUILD_ROOT
50 install -D %{name} $RPM_BUILD_ROOT%{_bindir}/%{name}
51
52 %clean
53 rm -rf $RPM_BUILD_ROOT
54
55 %files
56 %defattr(644,root,root,755)
57 %doc *.txt doc/*.html
58 %attr(755,root,root) %{_bindir}/*
This page took 0.062933 seconds and 3 git commands to generate.