3 # - update to 1.5 (i can't find source, only binaries!)
4 Summary: A powerful scientific DAL calculator
5 Summary(pl): Zaawansowany kalkulator naukowy
10 Group: Applications/Math
11 Source0: http://linuxberg.iol.it/files/console/scientific/%{name}-%{version}.tgz
12 # Source0-md5: 7720fdddbab2b72932fa58b139bc5be5
13 Source1: %{name}.desktop
14 Patch0: %{name}-ac_am.patch
15 BuildRequires: autoconf
16 BuildRequires: automake
17 BuildRequires: libtool
18 BuildRequires: ncurses-ext-devel
19 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
21 %define _gcc_ver %(%{__cc} -dumpversion | cut -b 1)
23 %define __cxx "%{__cc}"
27 Dalc is designed to be both powerful and easy to use at the same time.
30 Dalc ma du¿e mo¿liwo¶ci, jednocze¶nie bêd±c ³atwym w u¿yciu.
47 rm -rf $RPM_BUILD_ROOT
48 install -d $RPM_BUILD_ROOT%{_desktopdir}
51 DESTDIR=$RPM_BUILD_ROOT
53 install %{SOURCE1} $RPM_BUILD_ROOT%{_desktopdir}
56 rm -rf $RPM_BUILD_ROOT
59 %defattr(644,root,root,755)
60 %attr(755,root,root) %{_bindir}/*
62 %{_desktopdir}/*.desktop