From fa0bb1c570252ccf3d975e32b89d5a8c06c42e15 Mon Sep 17 00:00:00 2001 From: Matthias Clasen Date: Fri, 10 May 2013 19:08:54 -0400 Subject: [PATCH] Add a starfield-theme subpackage starfield takes up >3M on disk without being used, and we're oversize for the live image. It also contains some copies of dejavu fonts... Signed-off-by: Peter Jones --- grub2.spec | 26 +++++++++++++++++++++++--- 1 file changed, 23 insertions(+), 3 deletions(-) diff --git a/grub2.spec b/grub2.spec index 2674d82..275b2fe 100644 --- a/grub2.spec +++ b/grub2.spec @@ -41,7 +41,7 @@ Name: grub2 Epoch: 1 Version: 2.00 -Release: 17%{?dist}.pj0 +Release: 18%{?dist} Summary: Bootloader with support for Linux, Multiboot and more Group: System Environment/Base @@ -437,7 +437,7 @@ BuildRequires: dejavu-sans-fonts BuildRequires: pesign >= 0.99-8 %endif -Requires: gettext os-prober which file system-logos +Requires: gettext os-prober which file Requires: %{name}-tools = %{epoch}:%{version}-%{release} Requires(pre): dracut Requires(post): dracut @@ -474,6 +474,17 @@ bootloader with modular architecture. It support rich varietyof kernel formats, file systems, computer architectures and hardware devices. This subpackage provides tools for support of all platforms. +%package starfield-theme +Summary: An example theme for GRUB. +Group: System Environment/Base +Requires: system-logos + +%description starfield-theme +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 an example theme for the grub screen. + %prep %setup -T -c -n grub-%{tarversion} %ifarch %{efiarchs} @@ -725,7 +736,9 @@ fi %files tools -f grub.lang %defattr(-,root,root,-) %dir %{_libdir}/grub/ -%{_datarootdir}/grub/ +dir %{_datarootdir}/grub/ +dir %{_datarootdir}/grub/themes +%{_datarootdir}/grub/* %{_sbindir}/%{name}-mkconfig %{_sbindir}/%{name}-install %{_sbindir}/%{name}-probe @@ -745,6 +758,7 @@ fi %{_bindir}/%{name}-mkimage %{_bindir}/%{name}-mkpasswd-pbkdf2 %{_bindir}/%{name}-mkrelpath +%{_bindir}/%{name}-mount %{_bindir}/%{name}-glue-efi %{_bindir}/%{name}-render-label %ifnarch %{sparc} @@ -770,7 +784,13 @@ fi %doc grub-%{tarversion}/grub-dev.html grub-%{tarversion}/docs/font_char_metrics.png %doc grub-%{tarversion}/themes/starfield/COPYING.CC-BY-SA-3.0 +%files starfield-theme +%{_datarootdir}/grub/themes/starfield + %changelog +* Fri May 10 2013 Matthias Clasen - 2.00-18 +- Move the starfield theme to a subpackage (#962004) + * Wed Apr 24 2013 Peter Jones - 2.00-17.pj0 - Rebase to upstream snapshot.