4 Summary: EULER, a program for doing mathematics on the computer
5 Summary(pl): EULER, program do obliczeñ matematycznych na komputerze
7 Version: %{ver1}.%{ver2}
10 Group: Applications/Math
11 Source0: http://dl.sourceforge.net/%{name}/%{name}-%{version}.tar.gz
12 # Source0-md5: e56a0f41c184fc2f416457f0c5ece78f
13 Patch0: %{name}-doc_path.patch
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 EULER jest programem do szybkich i interaktywnych obliczeñ na liczbach
28 rzeczywistych i zespolonych, z przedzia³ami, w stylu MatLaba,
29 Octave... Mo¿e narysowaæ i animowaæ funkcje w dwóch lub trzech
33 %setup -q -n %{name}-%{ver1}
39 CC="%{__cc} %{rpmcflags} -DINSTALL_DIR=\\\"%{_prefix}\\\""
42 rm -rf $RPM_BUILD_ROOT
43 install -d $RPM_BUILD_ROOT{%{_datadir},%{_bindir}}
46 INSTALL_DIR=$RPM_BUILD_ROOT%{_prefix}
49 rm -rf $RPM_BUILD_ROOT%{_datadir}/doc/euler
52 rm -rf $RPM_BUILD_ROOT
55 %defattr(644,root,root,755)
56 %doc docs/* README TODO
57 %attr(755,root,root) %{_bindir}/*