4 Summary: EULER, a program for doing mathematics on the computer
5 Summary(pl): EULER, program dla obliczeñ patematycznych na komputerze
7 Version: %{ver1}.%{ver2}
10 Group: Applications/Math
11 Group(de): Applikationen/Mathematik
12 Group(pl): Aplikacje/Matematyczne
13 Source0: http://prdownloads.sourceforge.net/%{name}/%{name}-%{version}.tar.gz
14 URL: http://euler.sourceforge.net/
15 BuildRequires: gtk+-devel >= 1.2.0
16 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
18 %define _prefix /usr/X11R6
21 EULER is a program for quickly and interactively computing with real
22 and complex numbers and matrices, or with intervals, in the style of
23 MatLab, Octave,... It can draw and animate your functions in two and
27 %setup -q -n %{name}-%{ver1}
32 CC="%{__cc} %{rpmcflags} -DINSTALL_DIR=\\\"%{_prefix}\\\""
35 rm -rf $RPM_BUILD_ROOT
36 install -d $RPM_BUILD_ROOT{%{_datadir},%{_bindir}}
39 INSTALL_DIR=$RPM_BUILD_ROOT%{_prefix}
42 rm -rf $RPM_BUILD_ROOT%{_datadir}/euler/docs
43 gzip -9nf README ChangeLog TODO
46 rm -rf $RPM_BUILD_ROOT
49 %defattr(644,root,root,755)
50 %attr(755,root,root) %{_bindir}/*