2008-08-27 08:07:28 +00:00
# Modules always contain just 32-bit code
%define _libdir %{_exec_prefix}/lib
2009-09-12 02:25:07 +00:00
# 64bit intel machines use 32bit boot loader
2008-08-27 08:07:28 +00:00
# (We cannot just redefine _target_cpu, as we'd get i386.rpm packages then)
%ifarch x86_64
%define _target_platform i386-%{_vendor}-%{_target_os}%{?_gnu}
%endif
2009-09-12 02:25:07 +00:00
#sparc is always compile 64 bit
%ifarch %{sparc}
%define _target_platform sparc64-%{_vendor}-%{_target_os}%{?_gnu}
%endif
2008-08-27 08:07:28 +00:00
2011-03-10 19:25:50 +00:00
%if ! 0%{?efi}
%global efi %{ix86} x86_64 ia64
%endif
2012-03-14 20:33:25 +00:00
2012-05-10 00:44:58 +00:00
%global tarversion 2.00~beta5
2012-03-14 20:33:25 +00:00
%undefine _missing_build_ids_terminate_build
2008-08-27 08:07:28 +00:00
Name : grub2
2009-11-10 19:43:01 +00:00
Epoch : 1
2012-03-29 17:50:57 +00:00
Version : 2.0
2012-05-10 19:01:03 +00:00
Release : 0.27.beta5%{?dist}
2008-08-27 08:07:28 +00:00
Summary : Bootloader with support for Linux, Multiboot and more
Group : System Environment/Base
License : GPLv3+
URL : http://www.gnu.org/software/grub/
2011-10-11 20:53:55 +00:00
Obsoletes : grub < 1:0.98
2012-03-17 01:16:35 +00:00
Source0 : ftp://alpha.gnu.org/gnu/grub/grub-%{tarversion} .tar.xz
2008-08-27 09:06:33 +00:00
Source3 : README.Fedora
2012-04-26 15:09:57 +00:00
Source4 : http://unifoundry.com/unifont-5.1.20080820.pcf.gz
2012-05-09 20:55:11 +00:00
Source5 : theme.tar.bz2
2011-03-03 22:08:24 +00:00
Patch0 : grub-1.99-handle-fwrite-return.patch
2011-09-01 15:33:20 +00:00
Patch1 : grub-1.99-grub_test_assert_printf.patch
Patch2 : grub-1.99-just-say-linux.patch
2012-03-14 20:33:25 +00:00
Patch3 : grub2-handle-initramfs-on-xen.patch
2012-04-26 15:09:57 +00:00
Patch4 : grub-1.99-Fix-tests-of-zeroed-partition.patch
Patch5 : grub-1.99-ppc-terminfo.patch
Patch7 : grub-2.00~beta4-add-support-for-PowerMac-HFS-partitions.patch
2012-05-10 20:34:23 +00:00
Patch8 : grub2-2.0-no-png-in-texi.patch
2012-05-14 20:51:08 +00:00
Patch9 : grub-2.00-Fix-module-trampoline-for-ppc.patch
2008-08-27 08:07:28 +00:00
BuildRoot : %{_tmppath} /%{name} -%{version} -%{release} -root-%(%{__id_u} -n)
2011-03-10 19:25:50 +00:00
BuildRequires : flex bison binutils python
BuildRequires : ncurses-devel xz-devel
2009-11-10 18:49:52 +00:00
BuildRequires : freetype-devel libusb-devel
2011-09-01 15:33:20 +00:00
%ifarch %{sparc} x86_64
2009-09-12 02:25:07 +00:00
BuildRequires : /usr/lib64/crt1.o glibc-static
%else
2009-03-01 13:15:33 +00:00
BuildRequires : /usr/lib/crt1.o glibc-static
2009-09-12 02:25:07 +00:00
%endif
2011-03-03 22:08:24 +00:00
BuildRequires : autoconf automake autogen device-mapper-devel
BuildRequires : freetype-devel gettext-devel git
2011-05-11 14:54:21 +00:00
BuildRequires : texinfo
2012-05-10 00:44:50 +00:00
BuildRequires : dejavu-sans-fonts
2008-08-27 08:07:28 +00:00
2012-05-09 20:55:11 +00:00
Requires : gettext os-prober which file system-logos
2010-01-20 17:32:08 +00:00
Requires(pre) : dracut
Requires(post) : dracut
2008-08-27 08:07:28 +00:00
2011-03-03 22:08:24 +00:00
# ExclusiveArch: %{ix86} x86_64 %{sparc}
2012-03-29 17:50:57 +00:00
ExcludeArch : s390 s390x
2008-08-27 08:07:28 +00:00
%description
2011-03-10 19:25:50 +00:00
The GRand Unified Bootloader (GRUB) is a highly configurable and customizable
bootloader with modular architecture. It support rich varietyof kernel formats,
file systems, computer architectures and hardware devices.
%ifarch %{efi}
%package efi
Summary : GRUB for EFI systems.
Group : System Environment/Base
%description efi
The GRand Unified Bootloader (GRUB) is a highly configurable and customizable
bootloader with modular architecture. It support rich varietyof kernel formats,
file systems, computer architectures and hardware devices. This subpackage
provides support for EFI systems.
%endif
2008-08-27 08:07:28 +00:00
%prep
2012-03-14 20:33:25 +00:00
%setup -T -c -n grub-%{tarversion}
2011-03-10 19:25:50 +00:00
%ifarch %{efi}
2012-03-14 20:33:25 +00:00
%setup -D -q -T -a 0 -n grub-%{tarversion}
cd grub-%{tarversion}
2011-03-10 19:25:50 +00:00
cp %{SOURCE3} .
2012-04-26 15:09:57 +00:00
# place unifont in the '.' from which configure is run
cp %{SOURCE4} unifont.pcf.gz
2011-03-03 22:08:24 +00:00
git init
git config user.email " p j o n e s @ f e d o r a p r o j e c t . o r g "
git config user.name " F e d o r a N i n j a s "
git add .
2012-03-14 20:33:25 +00:00
git commit -a -q -m " %{tarversion} b a s e l i n e . "
2011-03-03 22:08:24 +00:00
git am %{patches}
2011-03-10 19:25:50 +00:00
cd ..
2012-03-14 20:33:25 +00:00
mv grub-%{tarversion} grub-efi-%{tarversion}
2011-03-10 19:25:50 +00:00
%endif
2012-03-14 20:33:25 +00:00
%setup -D -q -T -a 0 -n grub-%{tarversion}
cd grub-%{tarversion}
2008-08-27 09:06:33 +00:00
cp %{SOURCE3} .
2012-04-26 15:09:57 +00:00
# place unifont in the '.' from which configure is run
cp %{SOURCE4} unifont.pcf.gz
2011-03-10 19:25:50 +00:00
git init
git config user.email " p j o n e s @ f e d o r a p r o j e c t . o r g "
git config user.name " F e d o r a N i n j a s "
git add .
2012-03-14 20:33:25 +00:00
git commit -a -q -m " %{tarversion} b a s e l i n e . "
2011-03-10 19:25:50 +00:00
git am %{patches}
2008-08-27 09:06:33 +00:00
2008-08-27 08:07:28 +00:00
%build
2011-03-10 19:25:50 +00:00
%ifarch %{efi}
2012-03-14 20:33:25 +00:00
cd grub-efi-%{tarversion}
2011-03-10 19:25:50 +00:00
./autogen.sh
2011-09-01 15:33:20 +00:00
%configure \
CFLAGS=" $ ( e c h o $RPM_OPT_FLAGS | s e d \
2012-03-07 14:11:56 +00:00
-e 's/-O.//g' \
2011-09-01 15:33:20 +00:00
-e 's/-fstack-protector//g' \
-e 's/--param=ssp-buffer-size=4//g' \
2011-10-27 15:09:02 +00:00
-e 's/-mregparm=3/-mregparm=4/g' \
2011-09-01 15:33:20 +00:00
-e 's/-fexceptions//g' \
-e 's/-fasynchronous-unwind-tables//g' )" \
TARGET_LDFLAGS=-static \
--with-platform=efi \
2012-03-15 14:31:05 +00:00
--with-grubdir=grub2 \
2012-04-29 14:53:50 +00:00
--program-transform-name=s,grub,%{name} , \
2012-04-05 00:21:55 +00:00
--disable-werror
2011-03-10 19:25:50 +00:00
make %{?_smp_mflags}
2011-03-14 21:02:57 +00:00
%ifarch %{ix86}
%define grubefiarch i386-efi
%else
%define grubefiarch %{_arch}-efi
%endif
2012-03-07 14:11:56 +00:00
./grub-mkimage -O %{grubefiarch} -p /EFI/redhat/%{name} -efi -o grub.efi -d grub-core part_gpt hfsplus fat \
2011-03-14 21:02:57 +00:00
ext2 btrfs normal chain boot configfile linux appleldr minicmd \
2012-03-07 14:11:56 +00:00
loadbios reboot halt search font gfxterm echo video efi_gop efi_uga
2011-03-10 19:25:50 +00:00
cd ..
%endif
2012-03-14 20:33:25 +00:00
cd grub-%{tarversion}
2011-03-10 19:25:50 +00:00
./autogen.sh
2008-08-27 08:07:28 +00:00
# -static is needed so that autoconf script is able to link
# test that looks for _start symbol on 64 bit platforms
2012-03-29 17:55:01 +00:00
%ifarch %{sparc} ppc ppc64
2012-03-14 20:33:25 +00:00
%define platform ieee1275
2009-09-12 02:25:07 +00:00
%else
2012-03-14 20:33:25 +00:00
%define platform pc
2009-09-12 02:25:07 +00:00
%endif
2011-09-01 15:33:20 +00:00
%configure \
CFLAGS=" $ ( e c h o $RPM_OPT_FLAGS | s e d \
2012-03-07 15:43:18 +00:00
-e 's/-O.//g' \
2011-09-01 15:33:20 +00:00
-e 's/-fstack-protector//g' \
-e 's/--param=ssp-buffer-size=4//g' \
2011-10-27 15:09:02 +00:00
-e 's/-mregparm=3/-mregparm=4/g' \
2011-09-01 15:33:20 +00:00
-e 's/-fexceptions//g' \
-e 's/-m64//g' \
-e 's/-fasynchronous-unwind-tables//g' )" \
TARGET_LDFLAGS=-static \
2012-03-14 20:33:25 +00:00
--with-platform=%{platform} \
2012-03-15 14:31:05 +00:00
--with-grubdir=grub2 \
2011-09-01 15:33:20 +00:00
--program-transform-name=s,grub,%{name} , \
2012-04-05 00:21:55 +00:00
--disable-werror
2008-08-27 08:07:28 +00:00
2009-09-12 02:25:07 +00:00
make %{?_smp_mflags}
2008-08-27 08:07:28 +00:00
2011-10-27 15:08:58 +00:00
sed -i -e 's,(grub),(%{name}),g' \
-e 's,grub.info,%{name}.info,g' \
-e 's,\* GRUB:,* GRUB2:,g' \
2011-10-27 15:08:59 +00:00
-e 's,/boot/grub/,/boot/%{name}/,g' \
2012-04-29 14:37:16 +00:00
-e 's,\([^-]\)grub-\([a-z]\),\1%{name}-\2,g' \
2011-10-27 15:08:58 +00:00
docs/grub.info
sed -i -e 's,grub-dev,%{name}-dev,g' docs/grub-dev.info
2012-04-29 14:37:16 +00:00
/usr/bin/makeinfo --html --no-split -I docs -o grub-dev.html docs/grub-dev.texi
/usr/bin/makeinfo --html --no-split -I docs -o grub.html docs/grub.texi
sed -i -e 's,/boot/grub/,/boot/%{name}/,g' \
-e 's,\([^-]\)grub-\([a-z]\),\1%{name}-\2,g' \
grub.html
2008-08-27 08:07:28 +00:00
%install
set -e
rm -fr $RPM_BUILD_ROOT
2011-03-10 19:25:50 +00:00
%ifarch %{efi}
2012-03-14 20:33:25 +00:00
cd grub-efi-%{tarversion}
2011-03-10 19:25:50 +00:00
make DESTDIR=$RPM_BUILD_ROOT install
# Ghost config file
2012-03-07 14:11:56 +00:00
install -m 755 -d $RPM_BUILD_ROOT /boot/efi/EFI/redhat/
install -d $RPM_BUILD_ROOT /boot/efi/EFI/redhat/%{name} -efi
touch $RPM_BUILD_ROOT /boot/efi/EFI/redhat/%{name} -efi/grub.cfg
ln -s ../boot/efi/EFI/redhat/%{name} -efi/grub.cfg $RPM_BUILD_ROOT %{_sysconfdir} /%{name} -efi.cfg
2011-03-10 19:25:50 +00:00
# Install ELF files modules and images were created from into
# the shadow root, where debuginfo generator will grab them from
find $RPM_BUILD_ROOT -name '*.mod' -o -name '*.img' |
while read MODULE
do
BASE=$(echo $MODULE |sed -r " s , . * / ( [ ^ / ] * ) \ . ( m o d | i m g ) , \1 , " )
# Symbols from .img files are in .exec files, while .mod
# modules store symbols in .elf. This is just because we
# have both boot.img and boot.mod ...
EXT=$(echo $MODULE |grep -q '.mod' && echo '.elf' || echo '.exec' )
TGT=$(echo $MODULE |sed " s , $RPM_BUILD_ROOT , . d e b u g r o o t , " )
# install -m 755 -D $BASE$EXT $TGT
done
2012-03-07 14:11:56 +00:00
install -m 755 grub.efi $RPM_BUILD_ROOT /boot/efi/EFI/redhat/%{name} -efi/grub.efi
2011-03-10 19:25:50 +00:00
cd ..
%endif
2012-03-14 20:33:25 +00:00
cd grub-%{tarversion}
2008-08-27 08:07:28 +00:00
make DESTDIR=$RPM_BUILD_ROOT install
# Ghost config file
install -d $RPM_BUILD_ROOT /boot/%{name}
touch $RPM_BUILD_ROOT /boot/%{name} /grub.cfg
ln -s ../boot/%{name} /grub.cfg $RPM_BUILD_ROOT %{_sysconfdir} /%{name} .cfg
# Install ELF files modules and images were created from into
# the shadow root, where debuginfo generator will grab them from
find $RPM_BUILD_ROOT -name '*.mod' -o -name '*.img' |
while read MODULE
do
BASE=$(echo $MODULE |sed -r " s , . * / ( [ ^ / ] * ) \ . ( m o d | i m g ) , \1 , " )
# Symbols from .img files are in .exec files, while .mod
# modules store symbols in .elf. This is just because we
# have both boot.img and boot.mod ...
EXT=$(echo $MODULE |grep -q '.mod' && echo '.elf' || echo '.exec' )
TGT=$(echo $MODULE |sed " s , $RPM_BUILD_ROOT , . d e b u g r o o t , " )
2009-09-12 02:25:07 +00:00
# install -m 755 -D $BASE$EXT $TGT
2008-08-27 08:07:28 +00:00
done
2011-03-03 22:08:24 +00:00
mv $RPM_BUILD_ROOT %{_infodir} /grub.info $RPM_BUILD_ROOT %{_infodir} /grub2.info
2011-09-01 15:33:20 +00:00
mv $RPM_BUILD_ROOT %{_infodir} /grub-dev.info $RPM_BUILD_ROOT %{_infodir} /grub2-dev.info
2011-03-03 22:08:24 +00:00
rm $RPM_BUILD_ROOT %{_infodir} /dir
2008-08-27 08:07:28 +00:00
# Defaults
2012-03-07 14:11:56 +00:00
mkdir ${RPM_BUILD_ROOT} %{_sysconfdir} /sysconfig
ln -sf %{_sysconfdir} /default/grub \
${RPM_BUILD_ROOT} %{_sysconfdir} /sysconfig/grub
2012-04-29 14:36:14 +00:00
cd ..
%find_lang grub
2012-05-10 00:44:50 +00:00
# Fedora theme in /boot/grub2/themes/system/
2012-05-09 20:55:11 +00:00
cd $RPM_BUILD_ROOT
tar xjf %{SOURCE5}
2012-05-10 00:44:50 +00:00
$RPM_BUILD_ROOT %{_bindir} /%{name} -mkfont -o boot/grub2/themes/system/DejaVuSans-10.pf2 -s 10 /usr/share/fonts/dejavu/DejaVuSans.ttf # "DejaVu Sans Regular 10"
$RPM_BUILD_ROOT %{_bindir} /%{name} -mkfont -o boot/grub2/themes/system/DejaVuSans-12.pf2 -s 12 /usr/share/fonts/dejavu/DejaVuSans.ttf # "DejaVu Sans Regular 12"
$RPM_BUILD_ROOT %{_bindir} /%{name} -mkfont -o boot/grub2/themes/system/DejaVuSans-Bold-14.pf2 -s 14 /usr/share/fonts/dejavu/DejaVuSans-Bold.ttf # "DejaVu Sans Bold 14"
2012-05-09 20:55:11 +00:00
2008-08-27 08:07:28 +00:00
%clean
rm -rf $RPM_BUILD_ROOT
%post
2011-03-03 22:08:24 +00:00
if [ " $ 1 " = 1 ]; then
/sbin/install-info --info-dir=%{_infodir} %{_infodir} /grub2.info.gz || :
2011-09-01 15:33:20 +00:00
/sbin/install-info --info-dir=%{_infodir} %{_infodir} /grub2-dev.info.gz || :
2011-03-03 22:08:24 +00:00
fi
2008-08-27 08:07:28 +00:00
2011-10-27 15:09:01 +00:00
%triggerun -- grub2 < 1:1.99-4
2011-09-03 18:11:08 +00:00
# grub2 < 1.99-4 removed a number of essential files in postun. To fix upgrades
# from the affected grub2 packages, we first back up the files in triggerun and
# later restore them in triggerpostun.
# https://bugzilla.redhat.com/show_bug.cgi?id=735259
2011-10-27 15:09:01 +00:00
2011-09-03 18:11:08 +00:00
# Back up the files before uninstalling old grub2
mkdir -p /boot/grub2.tmp &&
2011-09-14 20:08:42 +00:00
mv -f /boot/grub2/*.mod \
2011-09-03 18:11:08 +00:00
/boot/grub2/*.img \
/boot/grub2/*.lst \
/boot/grub2/device.map \
/boot/grub2.tmp/ || :
%triggerpostun -- grub2 < 1:1.99-4
# ... and restore the files.
test ! -f /boot/grub2/device.map &&
test -d /boot/grub2.tmp &&
mv -f /boot/grub2.tmp/*.mod \
/boot/grub2.tmp/*.img \
/boot/grub2.tmp/*.lst \
/boot/grub2.tmp/device.map \
/boot/grub2/ &&
rm -r /boot/grub2.tmp/ || :
2008-08-27 08:07:28 +00:00
%preun
2011-03-03 22:08:24 +00:00
if [ " $ 1 " = 0 ]; then
/sbin/install-info --delete --info-dir=%{_infodir} %{_infodir} /grub2.info.gz || :
2011-09-01 15:33:20 +00:00
/sbin/install-info --delete --info-dir=%{_infodir} %{_infodir} /grub2-dev.info.gz || :
2011-03-03 22:08:24 +00:00
fi
2008-08-27 08:07:28 +00:00
2012-04-29 14:36:14 +00:00
%files -f grub.lang
2008-08-27 08:07:28 +00:00
%defattr (-,root,root,-)
2011-03-03 22:08:24 +00:00
/etc/bash_completion.d/grub
2012-03-14 20:33:25 +00:00
%{_libdir} /grub/*-%{platform} /
2012-04-05 00:19:01 +00:00
%{_datarootdir} /grub/
2012-04-05 00:21:55 +00:00
%{_sbindir} /%{name} -mkconfig
%{_sbindir} /%{name} -mknetdir
%{_sbindir} /%{name} -install
%{_sbindir} /%{name} -probe
%{_sbindir} /%{name} -reboot
%{_sbindir} /%{name} -set-default
%{_sbindir} /%{name} -bios-setup
%{_sbindir} /%{name} -ofpathname
%{_sbindir} /%{name} -sparc64-setup
2012-03-14 20:33:25 +00:00
%{_bindir} /%{name} -mkstandalone
2008-08-27 08:07:28 +00:00
%{_bindir} /%{name} -editenv
2009-11-10 20:41:16 +00:00
%{_bindir} /%{name} -fstest
2011-03-03 22:08:24 +00:00
%{_bindir} /%{name} -kbdcomp
%{_bindir} /%{name} -menulst2cfg
2009-11-10 20:41:16 +00:00
%{_bindir} /%{name} -mkfont
2011-03-03 22:08:24 +00:00
%{_bindir} /%{name} -mklayout
%{_bindir} /%{name} -mkimage
2010-05-29 01:48:15 +00:00
%{_bindir} /%{name} -mkpasswd-pbkdf2
%{_bindir} /%{name} -mkrelpath
2009-11-10 22:54:45 +00:00
%ifnarch %{sparc}
2009-11-10 20:41:16 +00:00
%{_bindir} /%{name} -mkrescue
2009-11-10 22:54:45 +00:00
%endif
2011-03-03 22:08:24 +00:00
%{_bindir} /%{name} -script-check
2012-05-07 13:27:13 +00:00
%attr (0700,root,root) %dir %{_sysconfdir} /grub.d
2008-08-27 08:07:28 +00:00
%config %{_sysconfdir} /grub.d/??_*
%{_sysconfdir} /grub.d/README
2011-10-27 15:09:03 +00:00
%config (noreplace) %{_sysconfdir} /%{name} .cfg
2012-05-11 00:47:40 +00:00
%attr (0644,root,root) %ghost %config (noreplace) %{_sysconfdir} /default/grub
2012-03-07 14:11:56 +00:00
%{_sysconfdir} /sysconfig/grub
2008-08-27 08:07:28 +00:00
%dir /boot/%{name}
2011-10-27 15:09:04 +00:00
%ghost %config (noreplace) /boot/%{name} /grub.cfg
2012-03-14 20:33:25 +00:00
%doc grub-%{tarversion} /COPYING grub-%{tarversion} /INSTALL
%doc grub-%{tarversion} /NEWS grub-%{tarversion} /README
%doc grub-%{tarversion} /THANKS grub-%{tarversion} /TODO
%doc grub-%{tarversion} /ChangeLog grub-%{tarversion} /README.Fedora
2012-04-29 14:37:16 +00:00
%doc grub-%{tarversion} /grub.html
%doc grub-%{tarversion} /grub-dev.html grub-%{tarversion} /docs/font_char_metrics.png
2012-05-10 00:44:50 +00:00
%doc grub-%{tarversion} /themes/starfield/COPYING.CC-BY-SA-3.0
2008-08-27 08:07:28 +00:00
%exclude %{_mandir}
2011-03-03 22:08:24 +00:00
%{_infodir} /grub2*
2012-05-09 20:55:11 +00:00
/boot/grub2/themes/system
2008-08-27 08:07:28 +00:00
2011-03-10 19:25:50 +00:00
%ifarch %{efi}
2012-04-29 14:36:14 +00:00
%files efi -f grub.lang
2011-03-10 19:25:50 +00:00
%defattr (-,root,root,-)
2011-03-14 21:02:57 +00:00
%attr (0755,root,root)/boot/efi/EFI/redhat
2012-04-29 14:53:50 +00:00
/etc/bash_completion.d/grub
%{_libdir} /grub/%{grubefiarch}
2012-04-05 00:19:01 +00:00
%{_datarootdir} /grub/
2012-04-29 14:53:50 +00:00
%{_sbindir} /%{name} -mkconfig
%{_sbindir} /%{name} -mknetdir
%{_sbindir} /%{name} -install
%{_sbindir} /%{name} -probe
%{_sbindir} /%{name} -reboot
%{_sbindir} /%{name} -set-default
%{_sbindir} /%{name} -bios-setup
%{_sbindir} /%{name} -ofpathname
%{_sbindir} /%{name} -sparc64-setup
%{_bindir} /%{name} -mkstandalone
%{_bindir} /%{name} -editenv
%{_bindir} /%{name} -fstest
%{_bindir} /%{name} -kbdcomp
%{_bindir} /%{name} -menulst2cfg
%{_bindir} /%{name} -mkfont
%{_bindir} /%{name} -mklayout
%{_bindir} /%{name} -mkimage
%{_bindir} /%{name} -mkpasswd-pbkdf2
%{_bindir} /%{name} -mkrelpath
%ifnarch %{sparc}
%{_bindir} /%{name} -mkrescue
2011-03-10 19:25:50 +00:00
%endif
2012-04-29 14:53:50 +00:00
%{_bindir} /%{name} -script-check
2012-05-07 13:27:13 +00:00
%attr (0700,root,root) %dir %{_sysconfdir} /grub.d
2011-03-10 19:25:50 +00:00
%config %{_sysconfdir} /grub.d/??_*
%{_sysconfdir} /grub.d/README
2011-10-27 15:09:03 +00:00
%config (noreplace) %{_sysconfdir} /grub2-efi.cfg
2012-05-11 00:47:40 +00:00
%attr (0644,root,root) %ghost %config (noreplace) %{_sysconfdir} /default/grub
2012-03-07 15:43:18 +00:00
%{_sysconfdir} /sysconfig/grub
2012-03-07 14:11:56 +00:00
%ghost %config (noreplace) /boot/efi/EFI/redhat/grub2-efi/grub.cfg
2012-03-14 20:33:25 +00:00
%doc grub-%{tarversion} /COPYING grub-%{tarversion} /INSTALL
%doc grub-%{tarversion} /NEWS grub-%{tarversion} /README
%doc grub-%{tarversion} /THANKS grub-%{tarversion} /TODO
%doc grub-%{tarversion} /ChangeLog grub-%{tarversion} /README.Fedora
2012-04-29 14:37:16 +00:00
%doc grub-%{tarversion} /grub.html
%doc grub-%{tarversion} /grub-dev.html grub-%{tarversion} /docs/font_char_metrics.png
2012-05-10 00:44:50 +00:00
%doc grub-%{tarversion} /themes/starfield/COPYING.CC-BY-SA-3.0
2011-03-10 19:25:50 +00:00
%exclude %{_mandir}
%{_infodir} /grub2*
2012-05-09 20:55:11 +00:00
/boot/grub2/themes/system
2011-03-10 19:25:50 +00:00
%endif
2008-08-27 08:07:28 +00:00
%changelog
2012-05-14 20:51:08 +00:00
* Mon May 14 2012 Peter Jones <pjones@redhat.com> - 2.0-0.27.beta5
- Fix module trampolining on ppc (benh)
2012-05-10 19:01:03 +00:00
* Thu May 10 2012 Peter Jones <pjones@redhat.com> - 2.0-0.27.beta5
- Fix license of theme (mizmo)
Resolves: rhbz#820713
2012-05-10 22:05:33 +00:00
- Fix some PPC bootloader detection IBM problem
Resolves: rhbz#820722
2012-05-10 19:01:03 +00:00
2012-05-10 13:28:07 +00:00
* Thu May 10 2012 Peter Jones <pjones@redhat.com> - 2.0-0.26.beta5
- Update to beta5.
- Update how efi building works (kiilerix)
2012-05-10 13:30:40 +00:00
- Fix theme support to bring in fonts correctly (kiilerix, pjones)
2012-05-10 13:28:07 +00:00
2012-05-09 20:58:23 +00:00
* Wed May 09 2012 Peter Jones <pjones@redhat.com> - 2.0-0.25.beta4
- Include theme support (mizmo)
- Include locale support (kiilerix)
- Include html docs (kiilerix)
2012-04-26 15:09:57 +00:00
* Thu Apr 26 2012 Peter Jones <pjones@redhat.com> - 2.0-0.24
- Various fixes from Mads Kiilerich
* Thu Apr 19 2012 Peter Jones <pjones@redhat.com> - 2.0-0.23
- Update to 2.00~beta4
- Make fonts work so we can do graphics reasonably
2012-03-29 17:55:01 +00:00
* Thu Mar 29 2012 David Aquilina <dwa@redhat.com> - 2.0-0.22
- Fix ieee1275 platform define for ppc
2012-03-29 17:50:57 +00:00
* Thu Mar 29 2012 Peter Jones <pjones@redhat.com> - 2.0-0.21
- Remove ppc excludearch lines (dwa)
- Update ppc terminfo patch (hamzy)
* Wed Mar 28 2012 Peter Jones <pjones@redhat.com> - 2.0-0.20
- Fix ppc64 vs ppc exclude according to what dwa tells me they need
- Fix version number to better match policy.
2012-03-27 20:34:56 +00:00
* Tue Mar 27 2012 Dan Horák <dan[at]danny.cz> - 1.99-19.2
- Add support for serial terminal consoles on PPC by Mark Hamzy
2012-03-27 19:03:12 +00:00
* Sun Mar 25 2012 Dan Horák <dan[at]danny.cz> - 1.99-19.1
- Use Fix-tests-of-zeroed-partition patch by Mark Hamzy
2012-03-15 14:31:05 +00:00
* Thu Mar 15 2012 Peter Jones <pjones@redhat.com> - 1.99-19
- Use --with-grubdir= on configure to make it behave like -17 did.
2012-03-14 20:33:25 +00:00
* Wed Mar 14 2012 Peter Jones <pjones@redhat.com> - 1.99-18
- Rebase from 1.99 to 2.00~beta2
2012-03-12 19:41:49 +00:00
2012-03-07 15:43:18 +00:00
* Wed Mar 07 2012 Peter Jones <pjones@redhat.com> - 1.99-17
- Update for newer autotools and gcc 4.7.0
Related: rhbz#782144
2012-03-07 14:11:56 +00:00
- Add /etc/sysconfig/grub link to /etc/default/grub
Resolves: rhbz#800152
2011-12-08 19:36:18 +00:00
- ExcludeArch s390*, which is not supported by this package.
Resolves: rhbz#758333
2012-03-07 14:11:56 +00:00
* Fri Feb 17 2012 Orion Poplawski <orion@cora.nwra.com> - 1:1.99-16
- Build with -Os (bug 782144)
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1:1.99-15
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
* Wed Dec 14 2011 Matthew Garrett <mjg@redhat.com> - 1.99-14
- fix up various grub2-efi issues
2011-12-08 17:59:29 +00:00
* Thu Dec 08 2011 Adam Williamson <awilliam@redhat.com> - 1.99-13
- fix hardwired call to grub-probe in 30_os-prober (rhbz#737203)
2011-11-07 16:44:55 +00:00
* Mon Nov 07 2011 Peter Jones <pjones@redhat.com> - 1.99-12
- Lots of .spec fixes from Mads Kiilerich:
Remove comment about update-grub - it isn't run in any scriptlets
patch info pages so they can be installed and removed correctly when renamed
fix references to grub/grub2 renames in info pages (#743964)
update README.Fedora (#734090)
fix comments for the hack for upgrading from grub2 < 1.99-4
fix sed syntax error preventing use of $RPM_OPT_FLAGS (#704820)
make /etc/grub2*.cfg %config (noreplace)
make grub.cfg %ghost - an empty file is of no use anyway
create /etc/default/grub more like anaconda would create it (#678453)
don't create rescue entries by default - grubby will not maintain them anyway
set GRUB_SAVEDEFAULT=true so saved defaults works (rbhz#732058)
grub2-efi should have its own bash completion
don't set gfxpayload in efi mode - backport upstream r3402
- Handle dmraid better. Resolves: rhbz#742226
2011-10-26 23:59:55 +00:00
* Wed Oct 26 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1:1.99-11
- Rebuilt for glibc bug#747377
2011-10-19 20:41:11 +00:00
* Wed Oct 19 2011 Adam Williamson <awilliam@redhat.com> - 1.99-10
- /etc/default/grub is explicitly intended for user customization, so
mark it as config(noreplace)
2011-10-11 20:53:55 +00:00
* Tue Oct 11 2011 Peter Jones <pjones@redhat.com> - 1.99-9
- grub has an epoch, so we need that expressed in the obsolete as well.
Today isn't my day.
2011-10-11 19:00:17 +00:00
* Tue Oct 11 2011 Peter Jones <pjones@redhat.com> - 1.99-8
- Fix my bad obsoletes syntax.
2011-10-06 20:58:34 +00:00
* Thu Oct 06 2011 Peter Jones <pjones@redhat.com> - 1.99-7
- Obsolete grub
Resolves: rhbz#743381
2011-09-14 20:08:42 +00:00
* Wed Sep 14 2011 Peter Jones <pjones@redhat.com> - 1.99-6
- Use mv not cp to try to avoid moving disk blocks around for -5 fix
Related: rhbz#735259
- handle initramfs on xen better (patch from Marko Ristola)
Resolves: rhbz#728775
2011-09-03 18:11:08 +00:00
* Sat Sep 03 2011 Kalev Lember <kalevlember@gmail.com> - 1.99-5
- Fix upgrades from grub2 < 1.99-4 (#735259)
2011-09-02 16:18:20 +00:00
* Fri Sep 02 2011 Peter Jones <pjones@redhat.com> - 1.99-4
- Don't do sysadminny things in %preun or %post ever. (#735259)
- Actually include the changelog in this build (sorry about -3)
2011-09-01 20:50:42 +00:00
* Thu Sep 01 2011 Peter Jones <pjones@redhat.com> - 1.99-2
- Require os-prober (#678456) (patch from Elad Alfassa)
- Require which (#734959) (patch from Elad Alfassa)
2011-09-01 15:33:20 +00:00
* Thu Sep 01 2011 Peter Jones <pjones@redhat.com> - 1.99-1
- Update to grub-1.99 final.
- Fix crt1.o require on x86-64 (fix from Mads Kiilerich)
- Various CFLAGS fixes (from Mads Kiilerich)
- -fexceptions and -m64
- Temporarily ignore translations (from Mads Kiilerich)
2011-07-21 21:20:22 +00:00
* Thu Jul 21 2011 Peter Jones <pjones@redhat.com> - 1.99-0.3
- Use /sbin not /usr/sbin .
2011-06-23 19:47:53 +00:00
* Thu Jun 23 2011 Peter Lemenkov <lemenkov@gmail.com> - 1:1.99-0.2
- Fixes for ppc and ppc64
2011-02-09 06:24:08 +00:00
* Wed Feb 09 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1:1.98-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
2010-07-17 19:30:49 +00:00
* Sat Jul 17 2010 Dennis Gilmore <dennis@ausil.us> - 1:1.98-3
- correctly generate a grub.cfg on kernel update
2010-05-29 01:48:15 +00:00
* Fri May 28 2010 Dennis Gilmore <dennis@ausil.us> - 1:1.98-2
- add patch so grub2-probe works with lvm to detect devices correctly
* Wed Apr 21 2010 Dennis Gilmore <dennis@ausil.us> - 1:1.98-1
- update to 1.98
2010-02-12 23:02:53 +00:00
* Fri Feb 12 2010 Dennis Gilmore <dennis@ausil.us> - 1:1.97.2-1
- update to 1.97.2
2010-01-20 17:32:08 +00:00
* Wed Jan 20 2010 Dennis Gilmore <dennis@ausil.us> - 1:1.97.1-5
- drop requires on mkinitrd
2009-12-01 21:33:09 +00:00
* Tue Dec 01 2009 Dennis Gilmore <dennis@ausil.us> - 1:1.97.1-4
- add patch so that grub2 finds fedora's initramfs
2009-11-10 22:54:45 +00:00
* Tue Nov 10 2009 Dennis Gilmore <dennis@ausil.us> - 1:1.97.1-3
- no mkrescue on sparc arches
- ofpathname on sparc arches
- Requires dracut, not sure if we should just drop mkinitrd for dracut
2009-11-10 20:41:16 +00:00
* Tue Nov 10 2009 Dennis Gilmore <dennis@ausil.us> - 1:1.97.1-2
- update filelists
2009-11-10 19:43:01 +00:00
* Tue Nov 10 2009 Dennis Gilmore <dennis@ausil.us> - 1:1.97.1-1
- update to 1.97.1 release
- introduce epoch for upgrades
2009-11-10 18:49:52 +00:00
* Tue Nov 10 2009 Dennis Gilmore <dennis@ausil.us> - 1.98-0.7.20090911svn
- fix BR
* Fri Sep 11 2009 Dennis Gilmore <dennis@ausil.us> - 1.98-0.6.20090911svn
2009-09-12 02:25:07 +00:00
- update to new svn snapshot
- add sparc support
2009-07-25 01:31:50 +00:00
* Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.98-0.6.20080827svn
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
2009-03-01 13:15:33 +00:00
* Sun Mar 01 2009 Lubomir Rintel <lkundrak@v3.sk> - 1.98-0.4.20080827svn
- Add missing BR
2009-02-25 01:17:01 +00:00
* Tue Feb 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.98-0.4.20080827svn
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
2008-08-27 09:06:33 +00:00
* Wed Aug 27 2008 Lubomir Rintel <lkundrak@v3.sk> - 1.98-0.3.20080827svn
- Updated SVN snapshot
- Added huge fat warnings
2008-08-27 08:07:28 +00:00
* Fri Aug 08 2008 Lubomir Rintel <lkundrak@v3.sk> - 1.98-0.2.20080807svn
- Correct scriptlet dependencies, trigger on kernel-PAE (thanks to Till Maas)
- Fix build on x86_64 (thanks to Marek Mahut)
* Thu Aug 07 2008 Lubomir Rintel <lkundrak@v3.sk> 1.98-0.1.20080807svn
- Another snapshot
- And much more!
* Mon May 12 2008 Lubomir Kundrak <lkundrak@redhat.com> 1.97-0.1.20080512cvs
- CVS snapshot
- buildid patch upstreamed
* Sat Apr 12 2008 Lubomir Kundrak <lkundrak@redhat.com> 1.96-2
- Pull in 32 bit glibc
- Fix builds on 64 bit
* Sun Mar 16 2008 Lubomir Kundrak <lkundrak@redhat.com> 1.96-1
- New upstream release
- More transformation fixes
- Generate -debuginfo from modules again. This time for real.
- grubby stub
- Make it possible to do configuration changes directly in grub.cfg
- grub.cfg symlink in /etc
* Thu Feb 14 2008 Lubomir Kundrak <lkundrak@redhat.com> 1.95.cvs20080214-3
- Update to latest trunk
- Manual pages
- Add pci.c to DISTLIST
* Mon Nov 26 2007 Lubomir Kundrak <lkundrak@redhat.com> 1.95.cvs20071119-2
- Fix program name transformation in utils
- Moved the modules to /lib
- Generate -debuginfo from modules again
* Sun Nov 18 2007 Lubomir Kundrak <lkundrak@redhat.com> 1.95.cvs20071119-1
- Synchronized with CVS, major specfile cleanup
* Mon Jan 30 2007 Lubomir Kundrak <lkundrak@skosi.org> 1.95-lkundrak1
- Removed redundant filelist entries
* Mon Jan 29 2007 Lubomir Kundrak <lkundrak@skosi.org> 1.95-lkundrak0
- Program name transformation
- Bump to 1.95
- grub-probefs -> grub-probe
- Add modules to -debuginfo
* Tue Sep 12 2006 Lubomir Kundrak <lkundrak@skosi.org> 1.94-lkundrak0
- built the package