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@redhat.com>
This commit is contained in:
		
							parent
							
								
									96e8bbdd96
								
							
						
					
					
						commit
						fa0bb1c570
					
				
							
								
								
									
										26
									
								
								grub2.spec
									
									
									
									
									
								
							
							
						
						
									
										26
									
								
								grub2.spec
									
									
									
									
									
								
							| @ -41,7 +41,7 @@ | |||||||
| Name:           grub2 | Name:           grub2 | ||||||
| Epoch:          1 | Epoch:          1 | ||||||
| Version:        2.00 | Version:        2.00 | ||||||
| Release:        17%{?dist}.pj0 | Release:        18%{?dist} | ||||||
| Summary:        Bootloader with support for Linux, Multiboot and more | Summary:        Bootloader with support for Linux, Multiboot and more | ||||||
| 
 | 
 | ||||||
| Group:          System Environment/Base | Group:          System Environment/Base | ||||||
| @ -437,7 +437,7 @@ BuildRequires:	dejavu-sans-fonts | |||||||
| BuildRequires:	pesign >= 0.99-8 | BuildRequires:	pesign >= 0.99-8 | ||||||
| %endif | %endif | ||||||
| 
 | 
 | ||||||
| Requires:	gettext os-prober which file system-logos | Requires:	gettext os-prober which file | ||||||
| Requires:	%{name}-tools = %{epoch}:%{version}-%{release} | Requires:	%{name}-tools = %{epoch}:%{version}-%{release} | ||||||
| Requires(pre):  dracut | Requires(pre):  dracut | ||||||
| Requires(post): 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 | file systems, computer architectures and hardware devices.  This subpackage | ||||||
| provides tools for support of all platforms. | 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 | %prep | ||||||
| %setup -T -c -n grub-%{tarversion} | %setup -T -c -n grub-%{tarversion} | ||||||
| %ifarch %{efiarchs} | %ifarch %{efiarchs} | ||||||
| @ -725,7 +736,9 @@ fi | |||||||
| %files tools -f grub.lang | %files tools -f grub.lang | ||||||
| %defattr(-,root,root,-) | %defattr(-,root,root,-) | ||||||
| %dir %{_libdir}/grub/ | %dir %{_libdir}/grub/ | ||||||
| %{_datarootdir}/grub/ | dir %{_datarootdir}/grub/ | ||||||
|  | dir %{_datarootdir}/grub/themes | ||||||
|  | %{_datarootdir}/grub/* | ||||||
| %{_sbindir}/%{name}-mkconfig | %{_sbindir}/%{name}-mkconfig | ||||||
| %{_sbindir}/%{name}-install | %{_sbindir}/%{name}-install | ||||||
| %{_sbindir}/%{name}-probe | %{_sbindir}/%{name}-probe | ||||||
| @ -745,6 +758,7 @@ fi | |||||||
| %{_bindir}/%{name}-mkimage | %{_bindir}/%{name}-mkimage | ||||||
| %{_bindir}/%{name}-mkpasswd-pbkdf2 | %{_bindir}/%{name}-mkpasswd-pbkdf2 | ||||||
| %{_bindir}/%{name}-mkrelpath | %{_bindir}/%{name}-mkrelpath | ||||||
|  | %{_bindir}/%{name}-mount | ||||||
| %{_bindir}/%{name}-glue-efi | %{_bindir}/%{name}-glue-efi | ||||||
| %{_bindir}/%{name}-render-label | %{_bindir}/%{name}-render-label | ||||||
| %ifnarch %{sparc} | %ifnarch %{sparc} | ||||||
| @ -770,7 +784,13 @@ fi | |||||||
| %doc grub-%{tarversion}/grub-dev.html grub-%{tarversion}/docs/font_char_metrics.png | %doc grub-%{tarversion}/grub-dev.html grub-%{tarversion}/docs/font_char_metrics.png | ||||||
| %doc grub-%{tarversion}/themes/starfield/COPYING.CC-BY-SA-3.0 | %doc grub-%{tarversion}/themes/starfield/COPYING.CC-BY-SA-3.0 | ||||||
| 
 | 
 | ||||||
|  | %files starfield-theme | ||||||
|  | %{_datarootdir}/grub/themes/starfield | ||||||
|  | 
 | ||||||
| %changelog | %changelog | ||||||
|  | * Fri May 10 2013 Matthias Clasen <mclasen@redhat.com> - 2.00-18 | ||||||
|  | - Move the starfield theme to a subpackage (#962004) | ||||||
|  | 
 | ||||||
| * Wed Apr 24 2013 Peter Jones <pjones@redhat.com> - 2.00-17.pj0 | * Wed Apr 24 2013 Peter Jones <pjones@redhat.com> - 2.00-17.pj0 | ||||||
| - Rebase to upstream snapshot. | - Rebase to upstream snapshot. | ||||||
| 
 | 
 | ||||||
|  | |||||||
		Loading…
	
		Reference in New Issue
	
	Block a user