Summary: General tool for mathematics
Summary(pl.UTF-8): Rozbudowane narzędzie matematyczne
Name: genius
-Version: 1.0.9
-Release: 1
+Version: 1.0.12
+Release: 2
License: GPL v3+
Group: Applications/Math
Source0: http://ftp.5z.com/pub/genius/%{name}-%{version}.tar.bz2
-# Source0-md5: 2e6a0b663eb73346318a9e3c52957403
+# Source0-md5: 12936d03d0d8f41ca747269d144632b2
Patch0: %{name}-termcap.patch
Patch1: %{name}-desktop.patch
URL: http://www.jirka.org/genius.html
BuildRequires: sed >= 4.0
BuildRequires: vte-devel >= 0.8.19
Requires(post,postun): desktop-file-utils
-Requires(post,postun): gtk+2
+Requires(post,postun): gtk-update-icon-cache
Requires(post,postun): hicolor-icon-theme
Requires(post,postun): scrollkeeper
Requires(post,postun): shared-mime-info
DESTDIR=$RPM_BUILD_ROOT
# Obsoleted GNOME mime-info stuff
-rm -rf $RPM_BUILD_ROOT%{_datadir}/{application-registry,mime-info}
-rm -f $RPM_BUILD_ROOT%{_libdir}/genius/libtestplugin.{so,la}
+%{__rm} -r $RPM_BUILD_ROOT%{_datadir}/{application-registry,mime-info}
+%{__rm} $RPM_BUILD_ROOT%{_libdir}/genius/libtestplugin.{so,la}
%find_lang %{name} --with-gnome --with-omf --all-name