2 # - fix desktop to put it into proper menu
3 Summary: A GTK 2 based scientific calculator
4 Summary(pl): Kalkulator naukowy bazuj±cy na GTK 2
9 Group: Applications/Math
10 Source0: http://dl.sourceforge.net/%{name}/%{name}-%{version}.tar.bz2
11 # Source0-md5: f42148bcaac4b6b097cf2055c780bcfc
12 Patch0: %{name}-am.patch
13 Patch1: %{name}-desktop.patch
14 URL: http://galculator.sourceforge.net/
15 BuildRequires: autoconf
16 BuildRequires: automake
18 BuildRequires: libglade2-devel >= 2.0.1
19 BuildRequires: pkgconfig
20 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
23 GTK 2 based scientific calculator with ordinary notation/reverse
24 polish notation, different number bases (DEC, HEX, OCT, BIN) and
25 different angle bases (DEG, RAD, GRAD).
28 Kalkulator naukowy bazuj±cy na GTK 2 z notacj± zwyk³± i odwrotn±
29 polsk±, ró¿nymi systemami liczbowymi (dziesiêtny, szesnastkowy,
30 ósemkowy, binarny) i ró¿nymi miarami k±towymi (stopieñ, radian,
46 rm -rf $RPM_BUILD_ROOT
49 DESTDIR=$RPM_BUILD_ROOT
54 rm -rf $RPM_BUILD_ROOT
56 %files -f %{name}.lang
57 %defattr(644,root,root,755)
58 %attr(755,root,root) %{_bindir}/%{name}
59 %{_desktopdir}/%{name}.desktop
61 %{_mandir}/man1/%{name}.1*