--- /dev/null
+Summary: Gnome calculator
+Summary(pl): Kalkulator dla Gnome
+Name: gcalctool
+Version: 4.2.77
+Release: 1
+License: GPL
+Group: Applications/Math
+Source0: ftp://ftp.gnome.org/pub/gnome/sources//%{name}/4.2/%{name}-%{version}.tar.bz2
+URL: http://www.gnome.org/
+BuildRequires: autoconf
+BuildRequires: automake
+BuildRequires: GConf2-devel
+BuildRequires: libgnomeui-devel
+BuildRequires: scrollkeeper
+BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+gcalctool is a simple calculator that performs a variety of functions.
+
+%description -l pl
+gcalctool jest prostym kalkulatorem spe³niaj±cym wiele funkcji.
+
+%prep
+%setup -q
+
+%build
+%{__aclocal}
+%{__autoconf}
+%{__automake}
+%configure \
+ --disable-schemas-install
+
+%{__make}
+
+%install
+rm -rf $RPM_BUILD_ROOT
+
+export GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1
+%{__make} install \
+ DESTDIR=$RPM_BUILD_ROOT
+unset GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL
+
+%find_lang %{name} --with-gnome --all-name
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%post
+/usr/bin/scrollkeeper-update
+%gconf_schema_install
+
+%postun -p /usr/bin/scrollkeeper-update
+
+%files -f %{name}.lang
+%defattr(644,root,root,755)
+%attr(755,root,root)%{_bindir}/%{name}
+%doc AUTHORS gcalctoolrc NEWS README TODO
+%{_sysconfdir}/gconf/schemas/*
+%{_datadir}/applications/*
+%{_omf_dest_dir}/%{name}
+%{_pixmapsdir}/*
+%{_mandir}/man1/*