Summary: General tool for mathematics
Summary(pl.UTF-8): Rozbudowane narzędzie matematyczne
Name: genius
-Version: 1.0.0
+Version: 1.0.1
Release: 1
License: GPL v3+
Group: X11/Applications
Source0: http://ftp.5z.com/pub/genius/%{name}-%{version}.tar.gz
-# Source0-md5: 8c17ac90dab4f586e07627b6148c39b6
+# Source0-md5: a043f2cb20975034100ce5964fe5c9de
Patch0: %{name}-termcap.patch
Patch1: %{name}-desktop.patch
Patch2: %{name}-link.patch
BuildRequires: readline-devel
BuildRequires: rpmbuild(macros) >= 1.311
BuildRequires: scrollkeeper
+BuildRequires: sed >= 4.0
BuildRequires: vte-devel >= 0.8.19
Requires(post,postun): gtk+2
Requires(post,postun): hicolor-icon-theme
Requires(post,postun): shared-mime-info
Obsoletes: drgenius
Obsoletes: drgeo
+# sr@Latn vs. sr@latin
+Conflicts: glibc-misc < 6:2.7
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
%description
%patch0 -p1
%patch1 -p1
%patch2 -p1
+%{__sed} -i 's@AM_BINRELOC@#AM_BINRELOC@' configure.in
%build
rm -f missing acinclude.m4
# Obsoleted GNOME mime-info stuff
rm -rf $RPM_BUILD_ROOT%{_datadir}/{application-registry,mime-info}
+[ -d $RPM_BUILD_ROOT%{_datadir}/locale/sr@latin ] || \
+ mv -f $RPM_BUILD_ROOT%{_datadir}/locale/sr@{Latn,latin}
%find_lang %{name} --with-gnome --all-name
%clean