]> git.pld-linux.org Git - packages/euler.git/blob - euler.spec
3967af588e791065d938dc753c528def0a12cd40
[packages/euler.git] / euler.spec
1 %define         ver1    1.59
2 %define         ver2    1
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:        2
9 License:        GPL
10 Group:          Applications/Math
11 Source0:        ftp://ftp.sourceforge.net/pub/sourceforge/%{name}/%{name}-%{version}.tar.gz
12 URL:            http://euler.sourceforge.net/
13 BuildRequires:  gtk+-devel >= 1.2.0
14 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
15
16 %define         _prefix         /usr/X11R6
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
33 %build
34 cd source
35 %{__make} \
36         CC="%{__cc} %{rpmcflags} -DINSTALL_DIR=\\\"%{_prefix}\\\""
37
38 %install
39 rm -rf $RPM_BUILD_ROOT
40 install -d $RPM_BUILD_ROOT{%{_datadir},%{_bindir}}
41 cd source
42 %{__make} install \
43         INSTALL_DIR=$RPM_BUILD_ROOT%{_prefix}
44 cd ..
45
46 #rm -rf $RPM_BUILD_ROOT%{_datadir}/euler/docs 
47
48 %clean
49 rm -rf $RPM_BUILD_ROOT
50
51 %files
52 %defattr(644,root,root,755)
53 %attr(755,root,root) %{_bindir}/*
54 %{_datadir}/euler
55 #%doc docs/*
56 %doc README ChangeLog TODO
This page took 0.043691 seconds and 3 git commands to generate.