[grub2: 9/12] Add a starfield-theme subpackage

Peter Jones pjones at fedoraproject.org
Wed May 15 14:57:41 UTC 2013


commit a07c6c33c5847e6f62d04763fda9794423604584
Author: Matthias Clasen <mclasen at redhat.com>
Date:   Fri May 10 19:08:54 2013 -0400

    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 <pjones at redhat.com>

 grub2.spec |   26 +++++++++++++++++++++++---
 1 files changed, 23 insertions(+), 3 deletions(-)
---
diff --git a/grub2.spec b/grub2.spec
index 2674d82..874cc89 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 <mclasen at redhat.com> - 2.00-18
+- Move the starfield theme to a subpackage
+
 * Wed Apr 24 2013 Peter Jones <pjones at redhat.com> - 2.00-17.pj0
 - Rebase to upstream snapshot.
 


More information about the scm-commits mailing list