# # $Id$ # %define srcname mindi-busybox Summary: Busybox version suited for Mindi Name: mindi-busybox Version: 1.25.1 Release: 1%{dist} License: GPLv2 Group: Applications/Archiving Url: http://www.mondorescue.org Source: ftp://ftp.mondorescue.org//src/%{srcname}-%{version}.tar.gz BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(id -u -n) BuildRequires: gcc-c++ # Cf: https://bugzilla.redhat.com/show_bug.cgi?id=588550 ExcludeArch: ppc # Avoids to generate debug packages %global debug_package %{nil} %description This package provides a busybox version suited for Mindi. Mindi is a script to create boot/root disks based on your system. It uses Busybox during the restore process to provide a small Unix environement. This package prepares busybox the right way for mindi. Homepage: http://www.mondorescue.org %prep %setup -q -n %{name}-%{version} %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