[grub2/f17] Include theme support.

Peter Jones pjones at fedoraproject.org
Wed May 9 20:58:44 UTC 2012


commit 83183d52e931b6e9adef7c5ba766ccb556d50f80
Author: Peter Jones <pjones at redhat.com>
Date:   Wed May 9 16:55:11 2012 -0400

    Include theme support.

 .gitignore |    1 +
 grub2.spec |   10 ++++++++--
 sources    |    1 +
 3 files changed, 10 insertions(+), 2 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index 5055a3b..ba0cc22 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,2 +1,3 @@
 grub-*.tar.?z
 /unifont-5.1.20080820.pcf.gz
+/theme.tar.bz2
diff --git a/grub2.spec b/grub2.spec
index 18462c0..eeefa50 100644
--- a/grub2.spec
+++ b/grub2.spec
@@ -22,7 +22,7 @@
 Name:           grub2
 Epoch:          1
 Version:        2.0
-Release:        0.24.beta4%{?dist}
+Release:        0.25.beta4%{?dist}
 Summary:        Bootloader with support for Linux, Multiboot and more
 
 Group:          System Environment/Base
@@ -33,6 +33,7 @@ Source0:        ftp://alpha.gnu.org/gnu/grub/grub-%{tarversion}.tar.xz
 Source2:        grub.default
 Source3:        README.Fedora
 Source4:	http://unifoundry.com/unifont-5.1.20080820.pcf.gz
+Source5:	theme.tar.bz2
 Patch0:		grub-1.99-handle-fwrite-return.patch
 Patch1:		grub-1.99-grub_test_assert_printf.patch
 Patch2:		grub-1.99-just-say-linux.patch
@@ -56,7 +57,7 @@ BuildRequires:  autoconf automake autogen device-mapper-devel
 BuildRequires:	freetype-devel gettext-devel git
 BuildRequires:	texinfo
 
-Requires:	gettext os-prober which file
+Requires:	gettext os-prober which file system-logos
 Requires(pre):  dracut
 Requires(post): dracut
 
@@ -251,6 +252,9 @@ ln -sf %{_sysconfdir}/default/grub \
 cd ..
 %find_lang grub
 
+cd $RPM_BUILD_ROOT
+tar xjf %{SOURCE5}
+
 %clean    
 rm -rf $RPM_BUILD_ROOT
 
@@ -335,6 +339,7 @@ fi
 %doc grub-%{tarversion}/grub-dev.html grub-%{tarversion}/docs/font_char_metrics.png
 %exclude %{_mandir}
 %{_infodir}/grub2*
+/boot/grub2/themes/system
 
 %ifarch %{efi}
 %files efi -f grub.lang
@@ -381,6 +386,7 @@ fi
 %doc grub-%{tarversion}/grub-dev.html grub-%{tarversion}/docs/font_char_metrics.png
 %exclude %{_mandir}
 %{_infodir}/grub2*
+/boot/grub2/themes/system
 %endif
 
 %changelog
diff --git a/sources b/sources
index 74a9a45..2192e2a 100644
--- a/sources
+++ b/sources
@@ -1,2 +1,3 @@
 8c28087c5fcb3188f1244b390efffdbe  unifont-5.1.20080820.pcf.gz
 6902a2b408038b8d3263a86536ac4652  grub-2.00~beta4.tar.xz
+df14bd3ee8942d1cc6942859eb6bcb14  theme.tar.bz2


More information about the scm-commits mailing list