Summary(pl): Rozbudowane narzêdzie matematyczne
Name: drgenius
Version: 0.5.10
-Release: 3
+Release: 5
License: GPL
Group: X11/Applications
-Group(de): X11/Applikationen
-Group(pl): X11/Aplikacje
Source0: http://ftp.5z.com/pub/genius/%{name}-%{version}.tar.gz
+# Source0-md5: 17139421686934f86ed6e90e8f658532
Patch0: %{name}-make.patch
+Patch1: %{name}-am_fix.patch
URL: http://ofset.sourceforge.net/drgenius/index.html
BuildRequires: ORBit-devel
BuildRequires: autoconf
BuildRequires: libstdc++-devel
BuildRequires: libxml-devel
BuildRequires: readline-devel >= 4.2
+BuildRequires: libglade-devel
Obsoletes: genius
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
-%define _prefix /usr/X11R6
-%define _mandir %{_prefix}/man
%description
Dr. Genius is a general tool for mathematics, including a mathematical
%prep
%setup -q
%patch0 -p1
+%patch1 -p1
%build
-rm missing acinclude.m4
-libtoolize --copy --force
-gettextize --copy --force
-aclocal -I macros
-autoconf
-automake -a -c
+rm -f missing acinclude.m4
+%{__libtoolize}
+%{__gettextize}
+%{__aclocal} -I macros
+%{__autoconf}
+%{__automake}
%configure \
--enable-gnome \
--disable-static \
DESTDIR=$RPM_BUILD_ROOT \
Utilitiesdir=%{_applnkdir}/Utilities
-gzip -9nf AUTHORS NEWS README TODO
-
%find_lang %{name} --with-gnome --all-name
%clean
%files -f %{name}.lang
%defattr(644,root,root,755)
-%doc *.gz
+%doc AUTHORS NEWS README TODO
%attr(755,root,root) %{_bindir}/*
%attr(755,root,root) %dir %{_libdir}/genius
%attr(755,root,root) %{_libdir}/genius/*