#
# $Id$
#
Summary:	Busybox version suited for Mindi
Name:		PBPKG
Version:	PBVER
Release:	PBTAGPBSUF
License:	GPL
Group:		PBGRP
Url:		http://www.mondorescue.org
Source:		PBREPO/PBSRC
BuildRoot:	%{_tmppath}/%{name}-%{version}-%{release}-root-%(id -u -n)
PBREQ
ExcludeArch:	ppc

%description
This package provides a busybox version suited for Mindi.

%prep
%setup -n %name-%{version}

%build
make oldconfig
make busybox

%install
%{__rm}  -rf $RPM_BUILD_ROOT

DESTDIR=${RPM_BUILD_ROOT}%{_libdir}/mindi/rootfs
make CONFIG_PREFIX=$DESTDIR install

%clean
%{__rm} -rf $RPM_BUILD_ROOT

%files
%defattr(-,root,root)
%doc ChangeLog INSTALL LICENSE AUTHORS README TODO NEWS 
#svn.log
%{_libdir}/mindi

%changelog
PBLOG
