]> git.pld-linux.org Git - packages/euler.git/blob - euler.spec
- merged from head, ra-fixes
[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 %define         _prefix         /usr/X11R6
19
20 %description
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
24 three dimensions.
25
26 %description -l pl
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
30 wymiarach.
31
32 %prep
33 %setup -q -n %{name}-%{ver1}
34 %patch0 -p1
35
36 %build
37 cd source
38 %{__make} \
39         CC="%{__cc} %{rpmcflags} -DINSTALL_DIR=\\\"%{_prefix}\\\""
40
41 %install
42 rm -rf $RPM_BUILD_ROOT
43 install -d $RPM_BUILD_ROOT{%{_datadir},%{_bindir}}
44 cd source
45 %{__make} install \
46         INSTALL_DIR=$RPM_BUILD_ROOT%{_prefix}
47 cd ..
48
49 rm -rf $RPM_BUILD_ROOT%{_datadir}/doc/euler
50
51 %clean
52 rm -rf $RPM_BUILD_ROOT
53
54 %files
55 %defattr(644,root,root,755)
56 %doc docs/* README TODO
57 %attr(755,root,root) %{_bindir}/*
58 %{_datadir}/euler
This page took 0.069844 seconds and 4 git commands to generate.