]> git.pld-linux.org Git - packages/euler.git/blame - euler.spec
- massive change ( validate errors warrings from desktop-file-validate)
[packages/euler.git] / euler.spec
CommitLineData
c0934209 1%define ver1 1.60
2%define ver2 6
a96dec51 3
4Summary: EULER, a program for doing mathematics on the computer
ee5ca23d 5Summary(pl.UTF-8): EULER, program do obliczeń matematycznych na komputerze
a96dec51 6Name: euler
7Version: %{ver1}.%{ver2}
fb2dc209 8Release: 2
a96dec51 9License: GPL
10Group: Applications/Math
dc3f3dcc 11Source0: http://dl.sourceforge.net/euler/%{name}-%{version}.tar.gz
c0934209 12# Source0-md5: e56a0f41c184fc2f416457f0c5ece78f
9098d544 13Source1: %{name}.desktop
14Source2: %{name}.png
c0934209 15Patch0: %{name}-doc_path.patch
9098d544 16Patch1: %{name}-gcc33.patch
a96dec51 17URL: http://euler.sourceforge.net/
18BuildRequires: gtk+-devel >= 1.2.0
19BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
20
a96dec51 21%description
22EULER is a program for quickly and interactively computing with real
23and complex numbers and matrices, or with intervals, in the style of
24MatLab, Octave,... It can draw and animate your functions in two and
25three dimensions.
26
cef5c68d
JR
27%description -l pl.UTF-8
28EULER jest programem do szybkich i interaktywnych obliczeń na liczbach
29rzeczywistych i zespolonych, z przedziałami, w stylu MatLaba,
30Octave... Może narysować i animować funkcje w dwóch lub trzech
ebbd8548 31wymiarach.
f7b8ab29 32
a96dec51 33%prep
34%setup -q -n %{name}-%{ver1}
c0934209 35%patch0 -p1
9098d544 36%patch1 -p1
a96dec51 37
38%build
a96dec51 39%{__make} \
40 CC="%{__cc} %{rpmcflags} -DINSTALL_DIR=\\\"%{_prefix}\\\""
41
42%install
43rm -rf $RPM_BUILD_ROOT
9098d544 44install -d $RPM_BUILD_ROOT{%{_bindir},%{_datadir},%{_desktopdir},%{_pixmapsdir}}
45
a96dec51 46%{__make} install \
47 INSTALL_DIR=$RPM_BUILD_ROOT%{_prefix}
9098d544 48
49install %{SOURCE1} $RPM_BUILD_ROOT%{_desktopdir}
50install %{SOURCE2} $RPM_BUILD_ROOT%{_pixmapsdir}
a96dec51 51
c0934209 52rm -rf $RPM_BUILD_ROOT%{_datadir}/doc/euler
a96dec51 53
54%clean
55rm -rf $RPM_BUILD_ROOT
56
57%files
58%defattr(644,root,root,755)
c0934209 59%doc docs/* README TODO
a96dec51 60%attr(755,root,root) %{_bindir}/*
61%{_datadir}/euler
9098d544 62%{_desktopdir}/*.desktop
63%{_pixmapsdir}/*.png
This page took 0.109433 seconds and 4 git commands to generate.