From 3da1e6088e0034c213541be91465c69b4602097c3c72ffa6ddf3ffa2fe2f3609 Mon Sep 17 00:00:00 2001 From: OBS User buildservice-autocommit Date: Fri, 8 Jul 2011 07:40:49 +0000 Subject: [PATCH] Updating link to change in openSUSE:Factory/gfxboot revision 101.0 OBS-URL: https://build.opensuse.org/package/show/system:install:head/gfxboot?expand=0&rev=e152eea29f8c450cae380a1f294f5b1d --- _service:format_spec_file:gfxboot.spec | 222 +++++++++++++++++++++++++ gfxboot.spec | 14 +- 2 files changed, 229 insertions(+), 7 deletions(-) create mode 100644 _service:format_spec_file:gfxboot.spec diff --git a/_service:format_spec_file:gfxboot.spec b/_service:format_spec_file:gfxboot.spec new file mode 100644 index 0000000..e18dc71 --- /dev/null +++ b/_service:format_spec_file:gfxboot.spec @@ -0,0 +1,222 @@ +# +# 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.4.3 +Release: 1 +BuildRoot: %{_tmppath}/%{name}-%{version}-build +Source: gfxboot-4.4.3.tar.bz2 +Source1: KDE.tar.bz2 +Source2: openSUSE.tar.bz2 +Source3: SLED.tar.bz2 +Source4: SLES.tar.bz2 +Source5: upstream.tar.bz2 +Source6: 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). + + +%package branding-KDE +License: GPLv2+ +Supplements: packageand(gfxboot:branding-KDE) +Provides: gfxboot-theme +Summary: gfxboot KDE theme +AutoReqProv: on +Group: System/Boot +PreReq: gfxboot >= 4 + +%description branding-KDE +KDE 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 +%setup -T -D -a 6 + +%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 + +%post branding-KDE +gfxboot --update-theme KDE + +%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 + +%files branding-KDE +%defattr(-,root,root) +%dir /etc/bootsplash +%dir /etc/bootsplash/themes +/etc/bootsplash/themes/KDE +%ghost /boot/message + +%changelog diff --git a/gfxboot.spec b/gfxboot.spec index 9721dcd..e18dc71 100644 --- a/gfxboot.spec +++ b/gfxboot.spec @@ -30,13 +30,13 @@ Summary: Graphical Boot Logo for GRUB, LILO and SYSLINUX Version: 4.4.3 Release: 1 BuildRoot: %{_tmppath}/%{name}-%{version}-build -Source: gfxboot-4.4.3.tar.bz2 -Source1: KDE.tar.bz2 -Source2: openSUSE.tar.bz2 -Source3: SLED.tar.bz2 -Source4: SLES.tar.bz2 -Source5: upstream.tar.bz2 -Source6: examples.tar.bz2 +Source: gfxboot-4.4.3.tar.bz2 +Source1: KDE.tar.bz2 +Source2: openSUSE.tar.bz2 +Source3: SLED.tar.bz2 +Source4: SLES.tar.bz2 +Source5: upstream.tar.bz2 +Source6: examples.tar.bz2 %description Tools to configure your bootloader graphics.