#
# spec file for package gfxboot (Version 4.1.8)
#
# Copyright (c) 2008 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
# norootforbuild
Name: gfxboot
BuildRequires: freetype2-devel fribidi libxslt nasm perl-HTML-Parser sgml-skel w3m xmlto
ExclusiveArch: %ix86 x86_64
License: GPL v2 or later
Group: System/Boot
Recommends: gfxboot-theme >= 4
Requires: coreutils cpio mktemp perl master-boot-code dosfstools mtools perl-HTML-Parser
AutoReqProv: on
Summary: Graphical Boot Logo for GRUB, LILO and SYSLINUX
Version: 4.1.8
Release: 2
BuildRoot: %{_tmppath}/%{name}-%{version}-build
Source: gfxboot-4.1.8.tar.bz2
Source1: openSUSE.tar.bz2
Source2: SLED.tar.bz2
Source3: SLES.tar.bz2
Source4: upstream.tar.bz2
%description
Tools to configure your bootloader graphics.
%package devel
License: GPL v2 or later
Summary: Tools for creating a graphical boot logo
Group: Development/Libraries/C and C++
Requires: %name = %version perl-HTML-Parser
%description devel
Here you find the necessary programs to create your own graphical boot
logo. The logo can be used with grub, lilo or syslinux.
%package branding-upstream
License: GPL v2 or later
Supplements: branding-upstream
Provides: gfxboot-theme
Summary: gfxboot upstream theme
AutoReqProv: on
Group: System/Boot
PreReq: gfxboot >= 4
%description branding-upstream
upstream theme for gfxboot (bootloader graphics).
%package branding-openSUSE
License: GPL v2 or later
Supplements: branding-openSUSE
Provides: gfxboot-theme
Summary: gfxboot openSUSE theme
AutoReqProv: on
Group: System/Boot
PreReq: gfxboot >= 4
%description branding-openSUSE
openSUSE theme for gfxboot (bootloader graphics).
%package branding-SLES
License: GPL v2 or later
Supplements: branding-SLES
Provides: gfxboot-theme
Summary: gfxboot SLES theme
AutoReqProv: on
Group: System/Boot
PreReq: gfxboot >= 4
%description branding-SLES
SLES theme for gfxboot (bootloader graphics).
%package branding-SLED
License: GPL v2 or later
Supplements: branding-SLED
Provides: gfxboot-theme
Summary: gfxboot SLED theme
AutoReqProv: on
Group: System/Boot
PreReq: gfxboot >= 4
%description branding-SLED
SLED theme for gfxboot (bootloader graphics).
%prep
%setup
%setup -T -D -a 1
%setup -T -D -a 2
%setup -T -D -a 3
%setup -T -D -a 4
%build
make DESTDIR=%{buildroot} installsrc
make X11LIBS=/usr/X11R6/%_lib
make doc
make themes
%install
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
%post branding-SLES
gfxboot --update-theme SLES
%post branding-SLED
gfxboot --update-theme SLED
%clean
rm -rf %{buildroot}
%files
%defattr(-,root,root)
/usr/sbin/gfxboot
%doc %{_mandir}/man8/gfxboot.8.gz
%files devel
%defattr(-,root,root)
/usr/sbin/gfxboot-compile
/usr/sbin/gfxboot-font
%doc doc/gfxboot.html
%doc doc/gfxboot.txt
/usr/share/gfxboot
%files branding-upstream
%defattr(-,root,root)
%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
%files branding-SLES
%defattr(-,root,root)
%dir /etc/bootsplash
%dir /etc/bootsplash/themes
/etc/bootsplash/themes/SLES
%ghost /boot/message
%files branding-SLED
%defattr(-,root,root)
%dir /etc/bootsplash
%dir /etc/bootsplash/themes
/etc/bootsplash/themes/SLED
%ghost /boot/message
%changelog
* Fri Oct 17 2008 olh@suse.de
- add ExclusiveArch x86 x86_64
* Thu Oct 16 2008 snwint@suse.de
- new openSUSE theme
* Mon Oct 06 2008 snwint@suse.de
- updated SLES/SLED themes
* Mon Sep 29 2008 snwint@suse.de
- updated SLE themes
* Fri Sep 26 2008 snwint@suse.de
- translations updated
* Thu Sep 25 2008 snwint@suse.de
- added keyboard selection dialog (bnc #422175)
* Thu Sep 25 2008 snwint@suse.de
- better monitor detection (bnc #407786)
- fix default video size selection (bnc #407786)
* Thu Sep 11 2008 snwint@suse.de
- support serial lines (fate #301595)
* Mon Aug 25 2008 snwint@suse.de
- needs fribidi
- really add SLE themes
* Wed Aug 20 2008 snwint@suse.de
- activated SLE themes
* Tue Aug 19 2008 snwint@suse.de
- gfxboot requires perl-HTML-Parser
* Mon Aug 18 2008 snwint@suse.de
- cooperate with mboot module
- enhanced gfxboot script
- fixed bug in gfxboot-font ('--add' option cleared char list)
- support new text formatting tags (
&
)
- new help texts
- fix help to better tolerate broken help setup
- bootloader always beeps
* Mon May 26 2008 snwint@suse.de
- make driver update menu configurable
- added 'download url' item to driver update menu
- updated translations
* Mon May 26 2008 snwint@suse.de
- worked on 11.0 theme
* Mon May 19 2008 snwint@suse.de
- turn sound off before loading kernel (bnc #392016)
- partly moved to new theme
- use 32 bit graphics mode for bootloader
* Thu May 15 2008 snwint@suse.de
- rewrote config file parser
- move most layout parameters to config file
* Fri May 09 2008 snwint@suse.de
- show F9 hint
* Fri May 09 2008 snwint@suse.de
- updated translations
* Wed May 07 2008 snwint@suse.de
- 'F9' adds 'braille=1' to command line
* Mon Apr 28 2008 snwint@suse.de
- WAV file playback works again
- added beep when bootloader is ready (fate #303482)
- added 'visually impaired' mode key (F9) (fate #303482)
- added speech output
- added Thai
* Thu Apr 17 2008 snwint@suse.de
- adjusted package requires (bnc #380757)
* Mon Apr 14 2008 snwint@suse.de
- gfxboot doesn't always need a bootloader
* 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
* Tue Apr 08 2008 snwint@suse.de
- added 'gfxboot' (boot screen config tool)
- added man page
- new themes
- package layout changed
* Mon Feb 04 2008 snwint@suse.de
- added optional 'mediacheck'
* Mon Feb 04 2008 snwint@suse.de
- source tree layout changed ('make prep' no longer required)
* Fri Dec 14 2007 snwint@suse.de
- adjust BuildRequires
* Mon Oct 08 2007 snwint@suse.de
- Avi Kivity: SS does not survive switch to PM in KVM (#307194)
* Tue Sep 25 2007 snwint@suse.de
- benventuno -> benvenuto (#327546)
* Fri Sep 14 2007 snwint@suse.de
- fixed building non-openSUSE themes
* Wed Sep 12 2007 snwint@suse.de
- always ask for VBE2 info (to e.g. get 1366x768 listed - #298025)
- new welcome screen animation
* Mon Sep 10 2007 snwint@suse.de
- updated translations
* Wed Aug 22 2007 snwint@suse.de
- fix livecd mode
* Mon Aug 20 2007 snwint@suse.de
- new translations
* Mon Aug 13 2007 snwint@suse.de
- use autohinting for lohit_pa, gulim, FZHeiTi (#299568)
* Fri Aug 10 2007 snwint@suse.de
- allow to set default values for repository
* Thu Aug 09 2007 snwint@suse.de
- change default lang en -> en_US
- updated po files
* Thu Jul 26 2007 snwint@suse.de
- adjusted menu texts
* Tue Jul 24 2007 snwint@suse.de
- no graphics on problematic via boards (#231104)
* Mon Jul 23 2007 snwint@suse.de
- rewrote line edit function
- intro aborted if any key pressed (#219570)
- added Walloon
- added Sinhala
- moved 'install - XXX' variants into submenu, added 'repair' entry (#293827)
- go green
* Thu Mar 15 2007 snwint@suse.de
- basic rtl language support
* Mon Mar 12 2007 snwint@suse.de
- added new languages
- two-line panel
* Fri Feb 09 2007 snwint@suse.de
- different 'Hindi' spelling
* Wed Feb 07 2007 snwint@suse.de
- added Gujarati & Marathi translations
* Wed Feb 07 2007 snwint@suse.de
- added some code to debug monitor detection
- language cleanup
- added new languages
* Mon Jan 22 2007 snwint@suse.de
- fix language/keymap setting (#223518)
* Fri Nov 24 2006 snwint@suse.de
- fixed penguin theme bug (#216991)
- lang menu sometimes shows only locale name
* Mon Nov 20 2006 snwint@suse.de
- translations updated
- minor penguin setup correction
* Fri Nov 17 2006 snwint@suse.de
- adjust 640x480 menu sizes (#221139)
- tuning layout
- make penguins more likely during winter
* Wed Nov 15 2006 snwint@suse.de
- updated documentation
- get initrd size right for progress bar
* Tue Nov 14 2006 snwint@suse.de
- fixed Requires
* Tue Nov 14 2006 snwint@suse.de
- fix doc file permission
* Mon Nov 13 2006 snwint@suse.de
- help text parser rewritten
- new translations
- added final 10.2 theme
* Tue Nov 07 2006 snwint@suse.de
- new translations
* Fri Oct 27 2006 snwint@suse.de
- penguin theme is back
- adjust html help text parser
* Thu Oct 26 2006 snwint@suse.de
- new translations
* Mon Oct 23 2006 snwint@suse.de
- translations updated
- added 'noinstallopt' option to gfxboot.cfg
* Mon Sep 25 2006 snwint@suse.de
- Arabic is back
* Mon Sep 25 2006 snwint@suse.de
- added 'firmware' menu entry
* Wed Sep 20 2006 snwint@suse.de
- support Punjabi (Gurmukhi script)
* Wed Sep 20 2006 snwint@suse.de
- fixed font rendering bug
- added some indic fonts
* Tue Sep 19 2006 snwint@suse.de
- use 4 bit for antialiasing (not 3)
* Tue Sep 19 2006 snwint@suse.de
- fix Estonian support
* Tue Sep 19 2006 ro@suse.de
- correct filelist
* Mon Sep 18 2006 snwint@suse.de
- support antialiased fonts
- added Estonian
- put hard disk install option back in
* Thu Aug 24 2006 snwint@suse.de
- 32 bit rewrite finished
- changed interface to bootloader
* Mon Aug 21 2006 snwint@suse.de
- move to 32 bit, cont.
* Mon Aug 07 2006 snwint@suse.de
- move to 32 bit, cont.
- added 10.2 openSUSE logos
* Tue Aug 01 2006 snwint@suse.de
- started internal rewrite to run all code in 32 bit pm
* Mon Jul 24 2006 snwint@suse.de
- fixed Zen theme
* Wed Jul 19 2006 snwint@suse.de
- added Catalan & Vietnamese
- better debug window
- fixed minor file reading bug
- better internal locale handling
- separated en locale into en_GB & en_US
* Mon Jul 17 2006 snwint@suse.de
- more than one boot option line, finished (#160066)
- added 'about' button
- make it openSUSE
- added xen test config
* Mon Jul 10 2006 snwint@suse.de
- use disk image, not floppy for grub testing
- updated Zen pictures
- made full panel default
- ShiftTab now works
- remove duplicate video modes (#145749)
- menu bar fits menu text width
- made 'Text Mode' translatable (#179582)
- workaround for interlaced mode issue on some ATI cards (#177982)
- use disk image, not floppy for lilo testing
- major code cleanup
- removed ancient compatibility code
- allow more than one boot option line (for xen)
- using beta pictures
* Fri Jun 09 2006 snwint@suse.de
- translations updated
- minor Zen theme change
* Tue May 23 2006 snwint@suse.de
- translations updated
- added Zen texts & theme
* Mon May 22 2006 snwint@suse.de
- add check to handle insufficient real mode handling in Xen on VMX
machines (#175473)
- allow per menu entry memory checks via mem.min[