4c935c1601
OBS-URL: https://build.opensuse.org/package/show/system:install:head/gfxboot?expand=0&rev=66
198 lines
4.7 KiB
RPMSpec
198 lines
4.7 KiB
RPMSpec
#
|
|
# spec file for package gfxboot
|
|
#
|
|
# Copyright (c) 2011 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: GPLv2+
|
|
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.3.8
|
|
Release: 1
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|
Source: gfxboot-4.3.8.tar.bz2
|
|
Source1: openSUSE.tar.bz2
|
|
Source2: SLED.tar.bz2
|
|
Source3: SLES.tar.bz2
|
|
Source4: upstream.tar.bz2
|
|
Source5: examples.tar.bz2
|
|
|
|
%description
|
|
Tools to configure your bootloader graphics.
|
|
|
|
|
|
|
|
%package devel
|
|
License: GPLv2+
|
|
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: GPLv2+
|
|
Supplements: packageand(gfxboot: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: GPLv2+
|
|
Supplements: packageand(gfxboot:branding-openSUSE)
|
|
Provides: gfxboot-theme
|
|
Obsoletes: bootloader-theme-SUSELinux-Prof
|
|
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: GPLv2+
|
|
Supplements: packageand(gfxboot:branding-SLES)
|
|
Provides: gfxboot-theme
|
|
Obsoletes: bootloader-theme-SLES
|
|
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: GPLv2+
|
|
Supplements: packageand(gfxboot:branding-SLED)
|
|
Provides: gfxboot-theme
|
|
Obsoletes: bootloader-theme-NLD
|
|
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
|
|
%setup -T -D -a 5
|
|
|
|
%build
|
|
# fix build
|
|
export SUSE_ASNEEDED=0
|
|
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
|
|
/usr/sbin/gfxtest
|
|
%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
|