2007-01-15 23:14:02 +00:00
|
|
|
#
|
2009-10-12 14:29:02 +00:00
|
|
|
# spec file for package gfxboot (Version 4.1.33)
|
2007-01-15 23:14:02 +00:00
|
|
|
#
|
2009-07-23 16:05:57 +00:00
|
|
|
# Copyright (c) 2009 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
2007-01-15 23:14:02 +00:00
|
|
|
#
|
2008-08-18 16:34:22 +00:00
|
|
|
# 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.
|
|
|
|
|
2007-01-15 23:14:02 +00:00
|
|
|
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
|
|
|
#
|
|
|
|
|
|
|
|
# norootforbuild
|
|
|
|
|
2008-04-08 21:13:15 +00:00
|
|
|
|
2007-01-15 23:14:02 +00:00
|
|
|
Name: gfxboot
|
2008-08-25 23:56:26 +00:00
|
|
|
BuildRequires: freetype2-devel fribidi libxslt nasm perl-HTML-Parser sgml-skel w3m xmlto
|
2008-10-22 15:55:42 +00:00
|
|
|
ExclusiveArch: %ix86 x86_64
|
2007-07-23 18:02:55 +00:00
|
|
|
License: GPL v2 or later
|
2007-01-15 23:14:02 +00:00
|
|
|
Group: System/Boot
|
2008-04-11 21:21:01 +00:00
|
|
|
Recommends: gfxboot-theme >= 4
|
2008-08-19 14:20:32 +00:00
|
|
|
Requires: coreutils cpio mktemp perl master-boot-code dosfstools mtools perl-HTML-Parser
|
2007-09-14 14:10:20 +00:00
|
|
|
AutoReqProv: on
|
2008-04-08 21:13:15 +00:00
|
|
|
Summary: Graphical Boot Logo for GRUB, LILO and SYSLINUX
|
2009-10-12 14:29:02 +00:00
|
|
|
Version: 4.1.33
|
2009-09-14 23:33:59 +00:00
|
|
|
Release: 1
|
2007-01-15 23:14:02 +00:00
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
2009-10-12 14:29:02 +00:00
|
|
|
Source: gfxboot-4.1.33.tar.bz2
|
2008-04-08 21:13:15 +00:00
|
|
|
Source1: openSUSE.tar.bz2
|
2008-08-21 21:15:45 +00:00
|
|
|
Source2: SLED.tar.bz2
|
|
|
|
Source3: SLES.tar.bz2
|
|
|
|
Source4: upstream.tar.bz2
|
2007-01-15 23:14:02 +00:00
|
|
|
|
|
|
|
%description
|
2008-04-08 21:13:15 +00:00
|
|
|
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
|
2008-04-10 21:25:56 +00:00
|
|
|
Supplements: branding-upstream
|
2008-04-11 21:21:01 +00:00
|
|
|
Provides: gfxboot-theme
|
2008-04-08 21:13:15 +00:00
|
|
|
Summary: gfxboot upstream theme
|
|
|
|
AutoReqProv: on
|
|
|
|
Group: System/Boot
|
2008-04-11 21:21:01 +00:00
|
|
|
PreReq: gfxboot >= 4
|
2008-04-08 21:13:15 +00:00
|
|
|
|
|
|
|
%description branding-upstream
|
|
|
|
upstream theme for gfxboot (bootloader graphics).
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%package branding-openSUSE
|
|
|
|
License: GPL v2 or later
|
2008-04-10 21:25:56 +00:00
|
|
|
Supplements: branding-openSUSE
|
2008-04-11 21:21:01 +00:00
|
|
|
Provides: gfxboot-theme
|
2008-11-04 16:36:50 +00:00
|
|
|
Obsoletes: bootloader-theme-SUSELinux-Prof
|
2008-04-08 21:13:15 +00:00
|
|
|
Summary: gfxboot openSUSE theme
|
|
|
|
AutoReqProv: on
|
|
|
|
Group: System/Boot
|
2008-04-11 21:21:01 +00:00
|
|
|
PreReq: gfxboot >= 4
|
2008-04-08 21:13:15 +00:00
|
|
|
|
|
|
|
%description branding-openSUSE
|
|
|
|
openSUSE theme for gfxboot (bootloader graphics).
|
2007-01-15 23:14:02 +00:00
|
|
|
|
|
|
|
|
|
|
|
|
2008-08-25 23:56:26 +00:00
|
|
|
%package branding-SLES
|
|
|
|
License: GPL v2 or later
|
|
|
|
Supplements: branding-SLES
|
|
|
|
Provides: gfxboot-theme
|
2008-11-04 16:36:50 +00:00
|
|
|
Obsoletes: bootloader-theme-SLES
|
2008-08-25 23:56:26 +00:00
|
|
|
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
|
2008-11-04 16:36:50 +00:00
|
|
|
Obsoletes: bootloader-theme-NLD
|
2008-08-25 23:56:26 +00:00
|
|
|
Summary: gfxboot SLED theme
|
|
|
|
AutoReqProv: on
|
|
|
|
Group: System/Boot
|
|
|
|
PreReq: gfxboot >= 4
|
|
|
|
|
|
|
|
%description branding-SLED
|
|
|
|
SLED theme for gfxboot (bootloader graphics).
|
|
|
|
|
|
|
|
|
|
|
|
|
2007-01-15 23:14:02 +00:00
|
|
|
%prep
|
|
|
|
%setup
|
|
|
|
%setup -T -D -a 1
|
|
|
|
%setup -T -D -a 2
|
2008-08-21 21:15:45 +00:00
|
|
|
%setup -T -D -a 3
|
|
|
|
%setup -T -D -a 4
|
2007-01-15 23:14:02 +00:00
|
|
|
|
|
|
|
%build
|
2009-07-23 16:05:57 +00:00
|
|
|
# fix build
|
|
|
|
export SUSE_ASNEEDED=0
|
2008-04-08 21:13:15 +00:00
|
|
|
make DESTDIR=%{buildroot} installsrc
|
2007-01-15 23:14:02 +00:00
|
|
|
make X11LIBS=/usr/X11R6/%_lib
|
|
|
|
make doc
|
2008-04-08 21:13:15 +00:00
|
|
|
make themes
|
2007-01-15 23:14:02 +00:00
|
|
|
|
|
|
|
%install
|
|
|
|
make DESTDIR=%{buildroot} install
|
2008-04-08 21:13:15 +00:00
|
|
|
gzip -9c doc/gfxboot.8 >gfxboot.8.gz
|
|
|
|
install -d -m 755 %{buildroot}%{_mandir}/man8
|
|
|
|
install -m 644 gfxboot.8.gz %{buildroot}%{_mandir}/man8
|
2008-04-11 21:21:01 +00:00
|
|
|
mkdir %{buildroot}/boot
|
|
|
|
touch %{buildroot}/boot/message
|
|
|
|
|
|
|
|
%post branding-upstream
|
|
|
|
gfxboot --update-theme upstream
|
|
|
|
|
|
|
|
%post branding-openSUSE
|
|
|
|
gfxboot --update-theme openSUSE
|
2007-01-15 23:14:02 +00:00
|
|
|
|
2008-08-25 23:56:26 +00:00
|
|
|
%post branding-SLES
|
|
|
|
gfxboot --update-theme SLES
|
|
|
|
|
|
|
|
%post branding-SLED
|
|
|
|
gfxboot --update-theme SLED
|
|
|
|
|
2007-01-15 23:14:02 +00:00
|
|
|
%clean
|
|
|
|
rm -rf %{buildroot}
|
|
|
|
|
|
|
|
%files
|
|
|
|
%defattr(-,root,root)
|
2008-04-08 21:13:15 +00:00
|
|
|
/usr/sbin/gfxboot
|
|
|
|
%doc %{_mandir}/man8/gfxboot.8.gz
|
|
|
|
|
|
|
|
%files devel
|
|
|
|
%defattr(-,root,root)
|
|
|
|
/usr/sbin/gfxboot-compile
|
|
|
|
/usr/sbin/gfxboot-font
|
2007-01-15 23:14:02 +00:00
|
|
|
%doc doc/gfxboot.html
|
|
|
|
%doc doc/gfxboot.txt
|
|
|
|
/usr/share/gfxboot
|
2007-12-14 15:28:48 +00:00
|
|
|
|
2008-04-08 21:13:15 +00:00
|
|
|
%files branding-upstream
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%dir /etc/bootsplash
|
|
|
|
%dir /etc/bootsplash/themes
|
|
|
|
/etc/bootsplash/themes/upstream
|
2008-04-11 21:21:01 +00:00
|
|
|
%ghost /boot/message
|
2008-04-08 21:13:15 +00:00
|
|
|
|
|
|
|
%files branding-openSUSE
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%dir /etc/bootsplash
|
|
|
|
%dir /etc/bootsplash/themes
|
|
|
|
/etc/bootsplash/themes/openSUSE
|
2008-04-11 21:21:01 +00:00
|
|
|
%ghost /boot/message
|
2008-04-08 21:13:15 +00:00
|
|
|
|
2008-08-25 23:56:26 +00:00
|
|
|
%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
|
|
|
|
|
2007-03-12 23:45:23 +00:00
|
|
|
%changelog
|