Sophie

Sophie

distrib > Mandriva > 2007.0 > x86_64 > by-pkgid > e3eced2c73b944ebec288197cc3df8af > files > 2

mbootpack-0.4a-1mdv2007.0.src.rpm

Summary:	Turns a multiboot kernel and modules (eg Xen) into a single file
Name:		mbootpack
Version:	0.4a
Release:	%mkrel 1
License:	BSD 
Group:		System/Kernel and hardware
URL:		http://www.tjd.phlegethon.org/software/#mbootpack
Source:	http://www.tjd.phlegethon.org/software/%{name}-%{version}.tar.bz2
Buildroot:	%{_tmppath}/%{name}-%{version}-buildroot

%description
This is a tool that takes a multiboot kernel and modules (e.g. a Xen VMM, linux
kernel and initrd), and packages them up as a single file that looks like a
bzImage linux kernel. The aim is to allow you to boot multiboot kernels (in
particular, Xen) using bootloaders that don't support multiboot (i.e. pretty
much anything except GRUB and SYSLINUX).

%prep
%setup -q

%build
CFLAGS="%{optflags} -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE"
%make

%install
rm -rf %{buildroot}
mkdir -p $RPM_BUILD_ROOT/%_bindir
install -m 755 mbootpack $RPM_BUILD_ROOT/%_bindir/

%clean
rm -rf %{buildroot}

%files
%defattr(-,root,root)
%doc README Changes
%{_bindir}/*



%changelog
* Thu Oct 12 2006 Thierry Vignaud <tvignaud@mandriva.com> 0.4a-1mdv2007.1
+ Revision: 64480
- kill old %%changelog
- initial release
- Created package structure for mbootpack.