%define real_name grub %define name %{real_name} %define version 0.5.95 %define release 7mdk Summary: GRand Unified Bootloader Name: %{name} Version: %{version} Release: %{release} Source0: ftp://alpha.gnu.org/gnu/grub/%{name}-%{version}.tar.bz2 Source1: grub-rebootin Patch0: grub-0.5.95-ezd.patch.bz2 Patch1: grub-0.5.95-bigpatch.patch.bz2 Patch2: grub-0.5.94-altconfigfile.patch Patch3: grub-0.5.95-fixbiosbug-nbsectors.patch.bz2 Copyright: GPL Group: System/Kernel and hardware BuildRequires: gpm-devel, ncurses-devel BuildRoot: %{_tmppath}/%{name}-buildroot Exclusivearch: %ix86 %description GRUB is a GPLed bootloader intended to unify bootloading across x86 operating systems. In addition to loading the Linux and *BSD kernels, it implements the Multiboot standard, which allows for flexible loading of multiple boot images (needed for modular kernels such as the GNU Hurd). %package doc Summary: more doc for grub Group: System/Kernel and hardware %description doc cf package grub %prep %setup -q -n %{real_name}-%{version} %patch0 -p0 %patch1 -p1 %patch2 -p1 %patch3 -p1 #find . -type f | xargs perl -pi -e 's,(pkgdatadir =).*,$1 /boot/grub,' %build %configure %make make -C docs dvi %install rm -rf $RPM_BUILD_ROOT make install DESTDIR=$RPM_BUILD_ROOT/ rm -f $RPM_BUILD_ROOT{%{_mandir}/*/mbchk*,%{_infodir}/dir*} install -d $RPM_BUILD_ROOT/boot/grub mv $RPM_BUILD_ROOT%{_datadir}/grub/*/* $RPM_BUILD_ROOT/boot/grub install %{SOURCE1} $RPM_BUILD_ROOT%{_sbindir}/rebootin %clean rm -rf $RPM_BUILD_ROOT %post %_install_info %{name}.info %_install_info multiboot.info %preun %_remove_install_info %{name}.info %_remove_install_info multiboot.info %files %defattr(-,root,root) /boot/grub/* %{_infodir}/* %{_mandir}/*/* %{_sbindir}/* %files doc %defattr(-,root,root) %doc TODO BUGS NEWS ChangeLog docs/menu.lst docs/*.dvi %changelog * Thu Aug 24 2000 Pixel <pixel@mandrakesoft.com> 0.5.95-7mdk - %%_remove_install_info is fixed, yeepee :) * Tue Aug 22 2000 Pixel <pixel@mandrakesoft.com> 0.5.95-6mdk - fixbiosbug-nbsectors for some Geom Errors (warly's case) * Wed Aug 16 2000 Pixel <pixel@mandrakesoft.com> 0.5.95-5mdk - fix erroneous remove_info macro (sillyme) * Mon Aug 07 2000 Frederic Lepied <flepied@mandrakesoft.com> 0.5.95-4mdk - automatically added BuildRequires * Fri Jul 21 2000 Pixel <pixel@mandrakesoft.com> 0.5.95-3mdk - macroization, BM * Wed Jul 12 2000 Pixel <pixel@mandrakesoft.com> 0.5.95-2mdk - add a patch for ezbios nonsense * Mon Jul 3 2000 Pixel <pixel@mandrakesoft.com> 0.5.95-1mdk - new version * Sat May 20 2000 Pixel <pixel@mandrakesoft.com> 0.5.94-14mdk - add rebootin command (use altconfigfile cmd in menu.lst) - add altconfigfile (read once) * Mon May 8 2000 Pixel <pixel@mandrakesoft.com> 0.5.94-12mdk - add reiserfs handling (missing symlink handling though) * Wed May 3 2000 Pixel <pixel@mandrakesoft.com> 0.5.94-11mdk - fix for linux-extended extended partition * Tue May 2 2000 Pixel <pixel@mandrakesoft.com> 0.5.94-10mdk - fix case of not found keytable * Tue Apr 18 2000 Pixel <pixel@mandrakesoft.com> 0.5.94-9mdk - remove a patch from caldera * Sun Apr 16 2000 Pixel <pixel@mandrakesoft.com> 0.5.94-8mdk - nicer menu - don't add automatic mem= if one is given * Tue Apr 4 2000 Pixel <pixel@mandrakesoft.com> 0.5.94-7mdk - fix install path * Mon Apr 3 2000 Pixel <pixel@mandrakesoft.com> 0.5.94-6mdk - integrate patches from caldera * Fri Mar 31 2000 Pixel <pixel@mandrakesoft.com> 0.5.94-5mdk - re-rebuild * Wed Mar 29 2000 Pixel <pixel@mandrakesoft.com> 0.5.94-4mdk - big patch (i18n & look) * Sat Mar 25 2000 Pixel <pixel@mandrakesoft.com> 0.5.94-3mdk - split printable doc and some more to have smaller package (keep mainly info in main package, very good one) - cleanup install-info in % post scripts * Fri Mar 24 2000 Pixel <pixel@mandrakesoft.com> 0.5.94-2mdk - remove unneeded patch - use of % { ix86 } * Wed Mar 22 2000 Pixel <pixel@mandrakesoft.com> 0.5.94-1mdk - remove now unneeded --disable-gunzip - added option --disable-lba-support-bitmap-check - patch for *very* buggy bioses (tells grub every hd is gigantic) - new version * Mon Mar 13 2000 Pixel <pixel@mandrakesoft.com> 0.5.93.1-7mdk - configure with --disable-gunzip (so that initrd is not gunzip'ed and fits in memory, that's the kernel's job anyway) * Wed Mar 1 2000 Pixel <pixel@mandrakesoft.com> 0.5.93.1-6mdk - remove no-device-check (was stupid) - replace by something better (option --devices) * Tue Feb 29 2000 Pixel <pixel@mandrakesoft.com> 0.5.93.1-5mdk - add option no-device-check for grub binary (mainly for non-interactive use) * Sun Jan 16 2000 Chmouel Boudjnah <chmouel@mandrakesoft.com> 0.5.93.1-4mdk - Add Exclusivearch. * Tue Jan 4 2000 Chmouel Boudjnah <chmouel@mandrakesoft.com> 0.5.93.1-3mdk - Add install_grub_on_floppy script (thnks b.bodin). - Add dvi docs (tknks b.bodin). * Mon Jan 3 2000 Chmouel Boudjnah <chmouel@mandrakesoft.com> 0.5.93.1-2mdk - Add %packager (thnks rpmlint). - Remove CFLAGS. * Mon Jan 3 2000 Chmouel Boudjnah <chmouel@mandrakesoft.com> - First spec file for Mandrake distribution based on debian version.