Summary: A GTK 2 based scientific calculator Summary(pl): Kalkulator naukowy bazujący na GTK 2 Name: galculator Version: 1.2.0 Release: 1 License: GPL Group: Applications/Math Source0: http://dl.sourceforge.net/%{name}/%{name}-%{version}.tar.bz2 # Source0-md5: f4df335d4323de181a25f36591a26835 Patch0: %{name}-am.patch URL: http://galculator.sourceforge.net/ BuildRequires: autoconf BuildRequires: automake BuildRequires: libglade2-devel >= 2.0.1 BuildRequires: pkgconfig BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) %description GTK 2 based scientific calculator with ordinary notation/reverse polish notation, different number bases (DEC, HEX, OCT, BIN) and different angle bases (DEG, RAD, GRAD). %description -l pl Kalkulator naukowy bazujący na GTK 2 z notacją zwykłą i odwrotną polską, różnymi systemami liczbowymi (dziesiętny, szesnastkowy, ósemkowy, binarny) i różnymi miarami kątowymi (stopień, radian, gradus). %prep %setup -q %patch0 -p1 %build %{__aclocal} %{__autoconf} %{__automake} %configure %{__make} %install rm -rf $RPM_BUILD_ROOT %{__make} install \ DESTDIR=$RPM_BUILD_ROOT %find_lang %{name} %clean rm -rf $RPM_BUILD_ROOT %files -f %{name}.lang %defattr(644,root,root,755) %attr(755,root,root) %{_bindir}/%{name} %{_desktopdir}/%{name}.desktop %{_datadir}/%{name} %{_mandir}/man1/%{name}.1*