2007-01-15 23:14:02 +00:00
|
|
|
#
|
2011-01-14 01:58:46 +00:00
|
|
|
# spec file for package gfxboot
|
2007-01-15 23:14:02 +00:00
|
|
|
#
|
2014-01-24 14:38:30 +00:00
|
|
|
# Copyright (c) 2014 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/
|
|
|
|
#
|
|
|
|
|
2011-09-21 14:02:21 +00:00
|
|
|
|
2007-01-15 23:14:02 +00:00
|
|
|
Name: gfxboot
|
2014-10-02 15:11:47 +00:00
|
|
|
Version: 4.5.6
|
2012-03-28 12:27:05 +00:00
|
|
|
Release: 0
|
2011-09-21 13:47:24 +00:00
|
|
|
Summary: Graphical Boot Logo for GRUB, LILO and SYSLINUX
|
2012-03-28 12:27:05 +00:00
|
|
|
License: GPL-2.0+
|
2011-09-21 13:47:24 +00:00
|
|
|
Group: System/Boot
|
2012-03-28 12:27:05 +00:00
|
|
|
Url: http://en.opensuse.org/SDB:Gfxboot
|
2014-10-02 15:11:47 +00:00
|
|
|
Source: gfxboot-4.5.6.tar.xz
|
2014-08-25 13:57:48 +00:00
|
|
|
Source1: KDE.tar.xz
|
|
|
|
Source2: openSUSE.tar.xz
|
|
|
|
Source3: SLED.tar.xz
|
|
|
|
Source4: SLES.tar.xz
|
|
|
|
Source5: upstream.tar.xz
|
|
|
|
Source6: examples.tar.xz
|
2011-09-21 13:47:24 +00:00
|
|
|
BuildRequires: fdupes
|
|
|
|
BuildRequires: freetype2-devel
|
|
|
|
BuildRequires: fribidi
|
|
|
|
BuildRequires: libxslt
|
|
|
|
BuildRequires: nasm
|
|
|
|
BuildRequires: perl-HTML-Parser
|
|
|
|
BuildRequires: sgml-skel
|
|
|
|
BuildRequires: w3m
|
|
|
|
BuildRequires: xmlto
|
|
|
|
Requires: coreutils
|
|
|
|
Requires: cpio
|
|
|
|
Requires: dosfstools
|
|
|
|
Requires: master-boot-code
|
|
|
|
Requires: mktemp
|
|
|
|
Requires: mtools
|
|
|
|
Requires: perl-HTML-Parser
|
|
|
|
Recommends: %{name}-theme >= 4
|
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|
|
|
ExclusiveArch: %ix86 x86_64
|
|
|
|
%perl_requires
|
2007-01-15 23:14:02 +00:00
|
|
|
|
|
|
|
%description
|
2011-09-21 13:47:24 +00:00
|
|
|
Tools to configure the graphics for your GRUB, LILO or SYSLINUX bootloader.
|
2008-04-08 21:13:15 +00:00
|
|
|
|
|
|
|
%package devel
|
|
|
|
Summary: Tools for creating a graphical boot logo
|
|
|
|
Group: Development/Libraries/C and C++
|
2011-09-21 13:47:24 +00:00
|
|
|
Requires: %{name} = %{version}
|
2008-04-08 21:13:15 +00:00
|
|
|
|
|
|
|
%description devel
|
|
|
|
Here you find the necessary programs to create your own graphical boot
|
2011-09-21 13:47:24 +00:00
|
|
|
logo. The logo can be used with GRUB, LILO or SYSLINUX.
|
2008-04-08 21:13:15 +00:00
|
|
|
|
|
|
|
%package branding-upstream
|
2011-09-21 13:47:24 +00:00
|
|
|
Summary: Graphical bootloader upstream theme
|
2008-04-08 21:13:15 +00:00
|
|
|
Group: System/Boot
|
2011-09-21 13:47:24 +00:00
|
|
|
PreReq: %{name} >= 4
|
|
|
|
Supplements: packageand(%{name}:branding-upstream)
|
|
|
|
Provides: %{name}-branding = %{version}
|
2013-12-19 06:21:36 +00:00
|
|
|
Provides: %{name}-theme = %{version}
|
2011-09-21 13:47:24 +00:00
|
|
|
Conflicts: otherproviders(%{name}-branding)
|
2008-04-08 21:13:15 +00:00
|
|
|
|
|
|
|
%description branding-upstream
|
|
|
|
upstream theme for gfxboot (bootloader graphics).
|
|
|
|
|
2008-08-25 23:56:26 +00:00
|
|
|
%package branding-SLES
|
2011-09-21 13:47:24 +00:00
|
|
|
Summary: Graphical bootloader SLES theme
|
2008-08-25 23:56:26 +00:00
|
|
|
Group: System/Boot
|
2011-09-21 13:47:24 +00:00
|
|
|
PreReq: %{name} >= 4
|
|
|
|
Supplements: packageand(%{name}:branding-SLES)
|
|
|
|
Provides: %{name}-branding = %{version}
|
2013-12-19 06:21:36 +00:00
|
|
|
Provides: %{name}-theme = %{version}
|
2011-09-21 13:47:24 +00:00
|
|
|
Obsoletes: bootloader-theme-SLES < %{version}
|
|
|
|
Provides: bootloader-theme-SLES = %{version}
|
|
|
|
Conflicts: otherproviders(%{name}-branding)
|
2008-08-25 23:56:26 +00:00
|
|
|
|
|
|
|
%description branding-SLES
|
|
|
|
SLES theme for gfxboot (bootloader graphics).
|
|
|
|
|
|
|
|
%package branding-SLED
|
2011-09-21 13:47:24 +00:00
|
|
|
Summary: Graphical bootloader SLED theme
|
2008-08-25 23:56:26 +00:00
|
|
|
Group: System/Boot
|
2011-09-21 13:47:24 +00:00
|
|
|
PreReq: %{name} >= 4
|
|
|
|
Supplements: packageand(%{name}:branding-SLED)
|
|
|
|
Provides: %{name}-branding = %{version}
|
2013-12-19 06:21:36 +00:00
|
|
|
Provides: %{name}-theme = %{version}
|
2011-09-21 13:47:24 +00:00
|
|
|
Obsoletes: bootloader-theme-NLD < %{version}
|
|
|
|
Provides: bootloader-theme-NLD = %{version}
|
|
|
|
Conflicts: otherproviders(%{name}-branding)
|
2008-08-25 23:56:26 +00:00
|
|
|
|
|
|
|
%description branding-SLED
|
|
|
|
SLED theme for gfxboot (bootloader graphics).
|
|
|
|
|
2011-07-07 15:14:12 +00:00
|
|
|
%package branding-KDE
|
2011-09-21 13:47:24 +00:00
|
|
|
Summary: Graphical bootloader KDE theme
|
2011-07-07 15:14:12 +00:00
|
|
|
Group: System/Boot
|
2011-09-21 13:47:24 +00:00
|
|
|
PreReq: %{name} >= 4
|
|
|
|
Supplements: packageand(%{name}:branding-KDE)
|
|
|
|
Provides: %{name}-branding = %{version}
|
2013-12-19 06:21:36 +00:00
|
|
|
Provides: %{name}-theme = %{version}
|
2011-09-21 13:47:24 +00:00
|
|
|
Conflicts: otherproviders(%{name}-branding)
|
2011-07-07 15:14:12 +00:00
|
|
|
|
|
|
|
%description branding-KDE
|
|
|
|
KDE theme for gfxboot (bootloader graphics).
|
|
|
|
|
2007-01-15 23:14:02 +00:00
|
|
|
%prep
|
2011-10-13 06:25:56 +00:00
|
|
|
%setup
|
2007-01-15 23:14:02 +00:00
|
|
|
%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
|
2009-10-20 22:22:29 +00:00
|
|
|
%setup -T -D -a 5
|
2011-07-07 15:14:12 +00:00
|
|
|
%setup -T -D -a 6
|
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
|
2011-09-21 13:47:24 +00:00
|
|
|
make X11LIBS=%{_prefix}/X11R6/%{_lib}
|
2007-01-15 23:14:02 +00:00
|
|
|
make doc
|
2008-04-08 21:13:15 +00:00
|
|
|
make themes
|
2007-01-15 23:14:02 +00:00
|
|
|
|
|
|
|
%install
|
2011-09-21 13:47:24 +00:00
|
|
|
%make_install
|
2011-09-21 14:02:21 +00:00
|
|
|
rm -rf %{buildroot}/etc/bootsplash/themes/openSUSE/
|
2011-09-21 13:47:24 +00:00
|
|
|
gzip -9c doc/%{name}.8 >%{name}.8.gz
|
2008-04-08 21:13:15 +00:00
|
|
|
install -d -m 755 %{buildroot}%{_mandir}/man8
|
2011-09-21 13:47:24 +00:00
|
|
|
install -m 644 %{name}.8.gz %{buildroot}%{_mandir}/man8
|
2008-04-11 21:21:01 +00:00
|
|
|
mkdir %{buildroot}/boot
|
|
|
|
touch %{buildroot}/boot/message
|
|
|
|
|
|
|
|
%post branding-upstream
|
2011-09-21 13:47:24 +00:00
|
|
|
%{name} --update-theme upstream
|
2008-04-11 21:21:01 +00:00
|
|
|
|
2008-08-25 23:56:26 +00:00
|
|
|
%post branding-SLES
|
2011-09-21 13:47:24 +00:00
|
|
|
%{name} --update-theme SLES
|
2008-08-25 23:56:26 +00:00
|
|
|
|
|
|
|
%post branding-SLED
|
2011-09-21 13:47:24 +00:00
|
|
|
%{name} --update-theme SLED
|
2008-08-25 23:56:26 +00:00
|
|
|
|
2011-07-07 15:14:12 +00:00
|
|
|
%post branding-KDE
|
2011-09-21 13:47:24 +00:00
|
|
|
%{name} --update-theme KDE
|
2011-07-07 15:14:12 +00:00
|
|
|
|
2007-01-15 23:14:02 +00:00
|
|
|
%files
|
|
|
|
%defattr(-,root,root)
|
2011-09-21 13:47:24 +00:00
|
|
|
%{_sbindir}/%{name}
|
|
|
|
%{_mandir}/man8/%{name}.8.gz
|
|
|
|
%dir %{_sysconfdir}/bootsplash
|
|
|
|
%dir %{_sysconfdir}/bootsplash/themes
|
2014-03-05 13:41:58 +00:00
|
|
|
%doc COPYING
|
2008-04-08 21:13:15 +00:00
|
|
|
|
|
|
|
%files devel
|
|
|
|
%defattr(-,root,root)
|
2011-09-21 13:47:24 +00:00
|
|
|
%{_sbindir}/%{name}-compile
|
|
|
|
%{_sbindir}/%{name}-font
|
|
|
|
%{_sbindir}/gfxtest
|
|
|
|
%doc doc/%{name}.html
|
|
|
|
%doc doc/%{name}.txt
|
|
|
|
%{_datadir}/%{name}
|
2007-12-14 15:28:48 +00:00
|
|
|
|
2008-04-08 21:13:15 +00:00
|
|
|
%files branding-upstream
|
|
|
|
%defattr(-,root,root)
|
2011-09-21 13:47:24 +00:00
|
|
|
%{_sysconfdir}/bootsplash/themes/upstream
|
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)
|
2011-09-21 13:47:24 +00:00
|
|
|
%{_sysconfdir}/bootsplash/themes/SLES
|
2008-08-25 23:56:26 +00:00
|
|
|
%ghost /boot/message
|
|
|
|
|
|
|
|
%files branding-SLED
|
|
|
|
%defattr(-,root,root)
|
2011-09-21 13:47:24 +00:00
|
|
|
%{_sysconfdir}/bootsplash/themes/SLED
|
2008-08-25 23:56:26 +00:00
|
|
|
%ghost /boot/message
|
|
|
|
|
2011-07-07 15:14:12 +00:00
|
|
|
%files branding-KDE
|
|
|
|
%defattr(-,root,root)
|
2011-09-21 13:47:24 +00:00
|
|
|
%{_sysconfdir}/bootsplash/themes/KDE
|
2011-07-07 15:14:12 +00:00
|
|
|
%ghost /boot/message
|
|
|
|
|
2007-03-12 23:45:23 +00:00
|
|
|
%changelog
|