4 Summary: EULER, a program for doing mathematics on the computer
5 Summary(pl.UTF-8): EULER, program do obliczeń matematycznych na komputerze
7 Version: %{ver1}.%{ver2}
10 Group: Applications/Math
11 Source0: http://dl.sourceforge.net/euler/%{name}-%{version}.tar.gz
12 # Source0-md5: e56a0f41c184fc2f416457f0c5ece78f
13 Source1: %{name}.desktop
15 Patch0: %{name}-doc_path.patch
16 Patch1: %{name}-gcc33.patch
17 URL: http://euler.sourceforge.net/
18 BuildRequires: gtk+-devel >= 1.2.0
19 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
22 EULER is a program for quickly and interactively computing with real
23 and complex numbers and matrices, or with intervals, in the style of
24 MatLab, Octave,... It can draw and animate your functions in two and
27 %description -l pl.UTF-8
28 EULER jest programem do szybkich i interaktywnych obliczeń na liczbach
29 rzeczywistych i zespolonych, z przedziałami, w stylu MatLaba,
30 Octave... Może narysować i animować funkcje w dwóch lub trzech
34 %setup -q -n %{name}-%{ver1}
40 CC="%{__cc} %{rpmcflags} -DINSTALL_DIR=\\\"%{_prefix}\\\""
43 rm -rf $RPM_BUILD_ROOT
44 install -d $RPM_BUILD_ROOT{%{_bindir},%{_datadir},%{_desktopdir},%{_pixmapsdir}}
47 INSTALL_DIR=$RPM_BUILD_ROOT%{_prefix}
49 install %{SOURCE1} $RPM_BUILD_ROOT%{_desktopdir}
50 install %{SOURCE2} $RPM_BUILD_ROOT%{_pixmapsdir}
52 rm -rf $RPM_BUILD_ROOT%{_datadir}/doc/euler
55 rm -rf $RPM_BUILD_ROOT
58 %defattr(644,root,root,755)
59 %doc docs/* README TODO
60 %attr(755,root,root) %{_bindir}/*
62 %{_desktopdir}/*.desktop