I had a look at your grub.spec file. I woud suggest
the following improvements :
1) add the doc in the rpm via

./configure ...
make 
cd docs
make dvi

in the build section

and

%doc docs/grub.dvi
%dos docs/multiboot.dvi

in the file section.

2) add a script to build a generic grub boot floppy, or
better add this boot image in the rpm. Here is such a script
(version 0.0.1 :-)

## creates a boot.img file in the current directory
## this file contains a generic grub boot floppy
## just create the floppy with dd if=./boot.img of=/dev/fd0

## B. Bodin january 2000

grubdir=/usr/share/grub/i386-pc
mount_point=/tmp/floppy
image=boot.img

rm -rf $image
dd if=/dev/zero of=$image bs=1k count=1440
/sbin/mke2fs -F $image  >> /dev/null
mkdir -p $mount_point
mount  -o loop -t ext2 $image $mount_point
mkdir -p $mount_point/boot/grub
cp $grubdir/stage1 $mount_point/boot/grub
cp $grubdir/stage2 $mount_point/boot/grub
cp /usr/doc/grub-0.5.93.1/menu.lst $mount_point/boot/grub
umount $mount_point

/usr/sbin/grub --batch <<EOF >> /dev/null
device (fd0) ./$image
install (fd0)/boot/grub/stage1 (fd0) (fd0)/boot/grub/stage2 p
quit
EOF


Bruno

>-----Message d'origine-----
>Sujet: [CHRPM] NAME: grub VER: 0.5.93.1 REL: 2mdk
>A: <[EMAIL PROTECTED]>
>De: Obiwan Kenobi <[EMAIL PROTECTED]>
>Date: Mon, 3 Jan 2000 16:40 -0600
>
>--=-=-=
>Name        : grub                        Distribution: Linux-Mandrake
>Version     : 0.5.93.1                          Vendor: MandrakeSoft
>Release     : 2mdk                          Build Date: Mon Jan 03 14:39:49 2000
>Install date: (not installed)               Build Host: kenobi.mandrakesoft.com
>Group       : System Environment/Base       Source RPM: (none)
>Size        : 435176
>Packager    : Chmouel Boudjnah <[EMAIL PROTECTED]>
>Summary     : GRand Unified Bootloader
>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).
>--=-=-=
>
>Last Changelog:
>
>* Mon Jan 03 2000 Chmouel Boudjnah <[EMAIL PROTECTED]> grub-0.5.93.1-2mdk
> 
> - Add Chmouel Boudjnah <[EMAIL PROTECTED]> (thnks rpmlint).
> - Remove CFLAGS.
> 
>
>

Reply via email to