]> git.pld-linux.org Git - packages/euler.git/blob - euler.spec
- search for docs in %%datadir/doc/euler-%%version
[packages/euler.git] / euler.spec
1 %define         ver1    1.60
2 %define         ver2    6
3
4 Summary:        EULER, a program for doing mathematics on the computer
5 Summary(pl):    EULER, program do obliczeñ matematycznych na komputerze
6 Name:           euler
7 Version:        %{ver1}.%{ver2}
8 Release:        1
9 License:        GPL
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)
17
18 %description
19 EULER is a program for quickly and interactively computing with real
20 and complex numbers and matrices, or with intervals, in the style of
21 MatLab, Octave,... It can draw and animate your functions in two and
22 three dimensions.
23
24 %description -l pl
25 EULER jest programem do szybkich i interaktywnych obliczeñ na liczbach
26 rzeczywistych i zespolonych, z przedzia³ami, w stylu MatLaba,
27 Octave... Mo¿e narysowaæ i animowaæ funkcje w dwóch lub trzech
28 wymiarach.
29
30 %prep
31 %setup -q -n %{name}-%{ver1}
32 %patch0 -p1
33
34 %build
35 cd source
36 %{__make} \
37         CC="%{__cc} %{rpmcflags} -DINSTALL_DIR=\\\"%{_prefix}\\\""
38
39 %install
40 rm -rf $RPM_BUILD_ROOT
41 install -d $RPM_BUILD_ROOT{%{_datadir},%{_bindir}}
42 cd source
43 %{__make} install \
44         INSTALL_DIR=$RPM_BUILD_ROOT%{_prefix}
45 cd ..
46
47 rm -rf $RPM_BUILD_ROOT%{_datadir}/doc/euler
48
49 %clean
50 rm -rf $RPM_BUILD_ROOT
51
52 %files
53 %defattr(644,root,root,755)
54 %doc docs/* README TODO
55 %attr(755,root,root) %{_bindir}/*
56 %{_datadir}/euler
This page took 0.066309 seconds and 3 git commands to generate.