1 Summary: A powerful scientific DAL calculator
2 Summary(pl): Zaawansowany kalkulator naukowy
7 Group: Applications/Math
8 Source0: http://linuxberg.iol.it/files/console/scientific/%{name}-%{version}.tgz
9 # Source0-md5: 7720fdddbab2b72932fa58b139bc5be5
10 Source1: %{name}.desktop
11 Patch0: %{name}-ac_am.patch
12 BuildRequires: autoconf
13 BuildRequires: automake
14 BuildRequires: libtool
15 BuildRequires: ncurses-devel
16 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
18 %define _gcc_ver %(%{__cc} -dumpversion | cut -b 1)
20 %define __cxx "%{__cc}"
24 Dalc is designed to be both powerful and easy to use at the same time.
27 Dalc ma du¿e mo¿liwo¶ci, jednocze¶nie bêd±c ³atwym w u¿yciu.
44 rm -rf $RPM_BUILD_ROOT
47 DESTDIR=$RPM_BUILD_ROOT
49 install -D %{SOURCE1} $RPM_BUILD_ROOT%{_applnkdir}/Scientific/Numerics/%{name}.desktop
52 rm -rf $RPM_BUILD_ROOT
55 %defattr(644,root,root,755)
56 %attr(755,root,root) %{_bindir}/*
58 %{_applnkdir}/Scientific/Numerics/*