Репозитории ALT
S: | 2.06-alt16 |
D: | 0.97-alt2 |
5.1: | 0.97-alt5 |
4.1: | 0.97-alt4.M41.1 |
3.0: | 0.95-alt1 |
Группа :: Система/Ядро и оборудование
Пакет: grub
Главная Изменения Спек Патчи Sources Загрузить Gear Bugs and FR Repocop
Name: grub
Version: 0.95
Release: alt1
Summary: GRand Unified Bootloader
License: GPL
Group: System/Kernel and hardware
Exclusivearch: %ix86
Source: ftp://alpha.gnu.org/gnu/grub/%name-%version.tar.bz2
#General features
Patch1: grub-0.5.96.1-special-raid-devices.patch
Patch2: grub-0.90-append.patch
Patch3: grub-0.91-nice-magic.patch
Patch4: grub-0.91-grub-install.patch
Patch5: grub-0.94-rh-initrdmax.patch
Patch6: grub-0.95-rh-hiddenmenu-tweak.patch
Patch7: grub-0.94-rh-geometry-26kernel.patch
#GFX feathure from SuSE
Patch301: grub-0.92-suse-graphics.patch
Patch302: grub-0.92-suse-graphics2.patch
Patch303: grub-0.93-alt-gfx-build-fix.patch
Provides: %name-doc = %version, %name-graph = %version
Obsoletes: %name-doc, %name-graph
#_BuildPreReq: rpm-build >= 4.0.4-alt10, autoconf = 2.13, automake = 1.4
#_set_automake_version 1.4
#_set_autoconf_version 2.13
# Automatically added by buildreq on Wed Jan 14 2004 (-bi)
BuildRequires: libncurses-devel libtinfo-devel termutils-devel tetex-core tetex-latex
%package utils
Group: System/Kernel and hardware
Summary: Additional utilites for %name
%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).
%description utils
Additional utilites for %name
%prep
%setup -q
%patch1 -p1
%patch2 -p1
%patch3 -p1
%patch4 -p1
%patch5 -p1
%patch6 -p1
%patch7 -p1
%patch301 -p0
%patch302 -p0
%patch303 -p1
%build
#rm -rf configure
#autoconf
CFLAGS=-Os %configure --disable-auto-linux-mem-opt
%make_build
make -C docs dvi
%install
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
mkdir -p $RPM_BUILD_ROOT/boot/grub/pictures
cd $RPM_BUILD_ROOT/boot/grub/pictures
%post
if [ -f /boot/grub/install.sh ]; then
if [ -x /usr/sbin/detectloader ]; then
LOADER=$(/usr/sbin/detectloader)
if [ "$LOADER" = "GRUB" ]; then
sh /boot/grub/install.sh > /dev/null
fi
fi
fi
%install_info %name.info
%install_info multiboot.info
%preun
%uninstall_info %name.info
%uninstall_info multiboot.info
%files
%doc TODO BUGS NEWS ChangeLog docs/menu.lst
/boot/grub/*stage*
%_infodir/*
%_mandir/*/*
%_sbindir/*
%_bindir/*
%exclude %_sbindir/grub-terminfo
%files utils
%_sbindir/grub-terminfo
%changelog
…
Полный changelog можно просмотреть здесь
Version: 0.95
Release: alt1
Summary: GRand Unified Bootloader
License: GPL
Group: System/Kernel and hardware
Exclusivearch: %ix86
Source: ftp://alpha.gnu.org/gnu/grub/%name-%version.tar.bz2
#General features
Patch1: grub-0.5.96.1-special-raid-devices.patch
Patch2: grub-0.90-append.patch
Patch3: grub-0.91-nice-magic.patch
Patch4: grub-0.91-grub-install.patch
Patch5: grub-0.94-rh-initrdmax.patch
Patch6: grub-0.95-rh-hiddenmenu-tweak.patch
Patch7: grub-0.94-rh-geometry-26kernel.patch
#GFX feathure from SuSE
Patch301: grub-0.92-suse-graphics.patch
Patch302: grub-0.92-suse-graphics2.patch
Patch303: grub-0.93-alt-gfx-build-fix.patch
Provides: %name-doc = %version, %name-graph = %version
Obsoletes: %name-doc, %name-graph
#_BuildPreReq: rpm-build >= 4.0.4-alt10, autoconf = 2.13, automake = 1.4
#_set_automake_version 1.4
#_set_autoconf_version 2.13
# Automatically added by buildreq on Wed Jan 14 2004 (-bi)
BuildRequires: libncurses-devel libtinfo-devel termutils-devel tetex-core tetex-latex
%package utils
Group: System/Kernel and hardware
Summary: Additional utilites for %name
%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).
%description utils
Additional utilites for %name
%prep
%setup -q
%patch1 -p1
%patch2 -p1
%patch3 -p1
%patch4 -p1
%patch5 -p1
%patch6 -p1
%patch7 -p1
%patch301 -p0
%patch302 -p0
%patch303 -p1
%build
#rm -rf configure
#autoconf
CFLAGS=-Os %configure --disable-auto-linux-mem-opt
%make_build
make -C docs dvi
%install
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
mkdir -p $RPM_BUILD_ROOT/boot/grub/pictures
cd $RPM_BUILD_ROOT/boot/grub/pictures
%post
if [ -f /boot/grub/install.sh ]; then
if [ -x /usr/sbin/detectloader ]; then
LOADER=$(/usr/sbin/detectloader)
if [ "$LOADER" = "GRUB" ]; then
sh /boot/grub/install.sh > /dev/null
fi
fi
fi
%install_info %name.info
%install_info multiboot.info
%preun
%uninstall_info %name.info
%uninstall_info multiboot.info
%files
%doc TODO BUGS NEWS ChangeLog docs/menu.lst
/boot/grub/*stage*
%_infodir/*
%_mandir/*/*
%_sbindir/*
%_bindir/*
%exclude %_sbindir/grub-terminfo
%files utils
%_sbindir/grub-terminfo
%changelog
…
Полный changelog можно просмотреть здесь