# # $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 # Avoids to generate debug packages %global debug_package %{nil} %description PBDESC %prep %setup -q %build make oldconfig make busybox %install rm -rf $RPM_BUILD_ROOT export DESTDIR=${RPM_BUILD_ROOT}%{_libdir}/mindi/rootfs make CONFIG_PREFIX=$DESTDIR install # Make it compatible with latest crazy /bin removal ./mondo-install.sh %clean rm -rf $RPM_BUILD_ROOT %files %defattr(-,root,root) %doc ChangeLog LICENSE AUTHORS README TODO NEWS #svn.log %{_libdir}/mindi/rootfs %changelog PBLOG