+# TODO: package GUI
Summary: Interactive debugging utility
Name: scanmem
-Version: 0.07
+Version: 0.13
Release: 1
-License: GPL v2
+License: GPL v3
Group: Development/Debuggers
-Source0: http://taviso.decsystem.org/files/scanmem/%{name}-%{version}.tar.gz
-# Source0-md5: a28baa2cf69b58b2773e379a49dae11c
+# v0.15.2 at https://github.com/scanmem/scanmem/archive/v%{version}.tar.gz
+Source0: http://scanmem.googlecode.com/files/%{name}-%{version}.tar.gz
+# Source0-md5: 1c23eda15db242ff0aac96d94be11db1
URL: http://taviso.decsystem.org/scanmem.html
BuildRequires: autoconf
BuildRequires: automake
%build
%{__aclocal}
%{__autoconf}
-%{__autoheader}
%{__automake}
-%configure
+chmod +x configure
+%configure \
+ --enable-gui
%{__make}
%install
rm -rf $RPM_BUILD_ROOT
install -d $RPM_BUILD_ROOT%{_bindir}
-install %{name} $RPM_BUILD_ROOT%{_bindir}
+%{__make} install \
+ DESTDIR=$RPM_BUILD_ROOT
%clean
rm -rf $RPM_BUILD_ROOT
%defattr(644,root,root,755)
%doc ChangeLog NEWS README TODO
%attr(755,root,root) %{_bindir}/%{name}
+%{_mandir}/man1/%{name}.1*