3 # - update to 1.5 (i can't find source, only binaries!)
4 Summary: A powerful scientific DAL calculator
5 Summary(pl.UTF-8): 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: libstdc++-devel
18 BuildRequires: libtool
19 BuildRequires: ncurses-ext-devel
20 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
22 %define _gcc_ver %(%{__cc} -dumpversion | cut -b 1)
24 %define __cxx "%{__cc}"
28 Dalc is designed to be both powerful and easy to use at the same time.
30 %description -l pl.UTF-8
31 Dalc ma duże możliwości, jednocześnie będąc łatwym w użyciu.
48 rm -rf $RPM_BUILD_ROOT
49 install -d $RPM_BUILD_ROOT%{_desktopdir}
52 DESTDIR=$RPM_BUILD_ROOT
54 install %{SOURCE1} $RPM_BUILD_ROOT%{_desktopdir}
57 rm -rf $RPM_BUILD_ROOT
60 %defattr(644,root,root,755)
61 %attr(755,root,root) %{_bindir}/*
63 %{_desktopdir}/*.desktop