#
# $Id$
#
Summary:	PBSUMMARY
Name:		PBPKG
Version:	PBVER
Release:	PBTAGPBSUF
License:	GPLv2
Group:		PBGRP
Url:		PBURL
Source:		PBREPO/PBSRC
BuildRoot:	%{_tmppath}/%{name}-%{version}-%{release}-root-%(id -u -n)
PBBUILDREQ
# Cf: https://bugzilla.redhat.com/show_bug.cgi?id=588550
ExcludeArch:	ppc

%description
PBDESC

%prep
%setup -q

%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 LICENSE AUTHORS README TODO NEWS 
#svn.log
%{_libdir}/mindi/rootfs

%changelog
PBLOG
