Name: mcrash
URL: http://sourceforge.jp/projects/mcrash/
Version: 1.1
Release: 0
Summary: A kernel memory analyzer.
License: GPL
Source: %{name}-%{version}.tar.gz
Group: Applications/System
BuildRoot: %{_tmppath}/%{name}-root
Requires: readline
BuildRequires: readline-devel
Prefix: /usr/local

%define	_prefix	/usr/local
%define	_bindir	/usr/local/bin
%define	_docdir	/usr/local/doc

%description
This is a `crash' program for linux.
mcrash refers kernel memory via /dev/kmem, processes the data and display
it as human readable text.

%prep
%setup -q -n mcrash

%build
#./configure --BATCH --KERNELDIR=/usr/src/linux-2.4
%configure
make

%install
rm -rf $RPM_BUILD_ROOT
%makeinstall

%files
%defattr(-,root,root)
%{_bindir}/*
%dir %{_docdir}/*
%{_docdir}/*/*

%clean
rm -rf $RPM_BUILD_ROOT

%changelog
* Sat Aug 17 2002 masano
- add `socket' and `sock' command

* Mon Aug 8 2002 masano
- fix trace command for sys_poll()
