]> git.pld-linux.org Git - packages/euler.git/blob - euler.spec
- polish summary
[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 dla obliczeñ matematycznych na komputerze
6 Name:           euler
7 Version:        %{ver1}.%{ver2}
8 Release:        1
9 License:        GPL
10 Group:          Applications/Math
11 Group(de):      Applikationen/Mathematik
12 Group(pl):      Aplikacje/Matematyczne
13 Source0:        http://prdownloads.sourceforge.net/%{name}/%{name}-%{version}.tar.gz
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 zespolonyc, z przedzia³ami, w stylu MatLaba, Octave...
29 Mo¿e narysowaæ i animowaæ funkcje w dwóch lub trzech wymiarach.
30
31 %prep
32 %setup -q -n %{name}-%{ver1}
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}/euler/docs
48 gzip -9nf README ChangeLog TODO
49
50 %clean
51 rm -rf $RPM_BUILD_ROOT
52
53 %files
54 %defattr(644,root,root,755)
55 %attr(755,root,root) %{_bindir}/*
56 %{_datadir}/euler
57 %doc docs/*
58 %doc *.gz
This page took 0.056429 seconds and 4 git commands to generate.