This commit is contained in:
committed by
Git OBS Bridge
parent
72708587ad
commit
bf768d5b53
29
gfxboot.spec
29
gfxboot.spec
@@ -1,5 +1,5 @@
|
||||
#
|
||||
# spec file for package gfxboot (Version 4.0.3)
|
||||
# spec file for package gfxboot (Version 4.0.4)
|
||||
#
|
||||
# Copyright (c) 2008 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
||||
# This file and all modifications and additions to the pristine
|
||||
@@ -15,13 +15,13 @@ Name: gfxboot
|
||||
BuildRequires: freetype2-devel libxslt nasm perl-HTML-Parser sgml-skel w3m xmlto
|
||||
License: GPL v2 or later
|
||||
Group: System/Boot
|
||||
Recommends: gfxboot-branding >= 4
|
||||
Recommends: gfxboot-theme >= 4
|
||||
AutoReqProv: on
|
||||
Summary: Graphical Boot Logo for GRUB, LILO and SYSLINUX
|
||||
Version: 4.0.3
|
||||
Version: 4.0.4
|
||||
Release: 1
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
Source: gfxboot-4.0.3.tar.bz2
|
||||
Source: gfxboot-4.0.4.tar.bz2
|
||||
Source1: openSUSE.tar.bz2
|
||||
Source2: upstream.tar.bz2
|
||||
|
||||
@@ -45,11 +45,11 @@ logo. The logo can be used with grub, lilo or syslinux.
|
||||
%package branding-upstream
|
||||
License: GPL v2 or later
|
||||
Supplements: branding-upstream
|
||||
Provides: gfxboot-branding
|
||||
Provides: gfxboot-theme
|
||||
Summary: gfxboot upstream theme
|
||||
AutoReqProv: on
|
||||
Group: System/Boot
|
||||
Requires: gfxboot >= 4
|
||||
PreReq: gfxboot >= 4
|
||||
|
||||
%description branding-upstream
|
||||
upstream theme for gfxboot (bootloader graphics).
|
||||
@@ -59,11 +59,11 @@ upstream theme for gfxboot (bootloader graphics).
|
||||
%package branding-openSUSE
|
||||
License: GPL v2 or later
|
||||
Supplements: branding-openSUSE
|
||||
Provides: gfxboot-branding
|
||||
Provides: gfxboot-theme
|
||||
Summary: gfxboot openSUSE theme
|
||||
AutoReqProv: on
|
||||
Group: System/Boot
|
||||
Requires: gfxboot >= 4
|
||||
PreReq: gfxboot >= 4
|
||||
|
||||
%description branding-openSUSE
|
||||
openSUSE theme for gfxboot (bootloader graphics).
|
||||
@@ -86,6 +86,14 @@ make DESTDIR=%{buildroot} install
|
||||
gzip -9c doc/gfxboot.8 >gfxboot.8.gz
|
||||
install -d -m 755 %{buildroot}%{_mandir}/man8
|
||||
install -m 644 gfxboot.8.gz %{buildroot}%{_mandir}/man8
|
||||
mkdir %{buildroot}/boot
|
||||
touch %{buildroot}/boot/message
|
||||
|
||||
%post branding-upstream
|
||||
gfxboot --update-theme upstream
|
||||
|
||||
%post branding-openSUSE
|
||||
gfxboot --update-theme openSUSE
|
||||
|
||||
%clean
|
||||
rm -rf %{buildroot}
|
||||
@@ -108,14 +116,19 @@ rm -rf %{buildroot}
|
||||
%dir /etc/bootsplash
|
||||
%dir /etc/bootsplash/themes
|
||||
/etc/bootsplash/themes/upstream
|
||||
%ghost /boot/message
|
||||
|
||||
%files branding-openSUSE
|
||||
%defattr(-,root,root)
|
||||
%dir /etc/bootsplash
|
||||
%dir /etc/bootsplash/themes
|
||||
/etc/bootsplash/themes/openSUSE
|
||||
%ghost /boot/message
|
||||
|
||||
%changelog
|
||||
* Fri Apr 11 2008 snwint@suse.de
|
||||
- fix gfxboot script
|
||||
- create /boot/message in postin
|
||||
* Thu Apr 10 2008 snwint@suse.de
|
||||
- gfxboot can handle themes & translations
|
||||
- fixed typo in gfxboot.cfg
|
||||
|
Reference in New Issue
Block a user