File bootsplash-branding-openSUSE.spec of Package bootsplash-branding-openSUSE

#
# spec file for package bootsplash-branding-openSUSE (Version 3.1)
#
# 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:           bootsplash-branding-openSUSE
Url:            http://www.bootsplash.org/
Version:        3.1
Release:        47
Summary:        Default SUSE Bootsplash Theme
License:        BSD 3-Clause
Group:          System/Boot
AutoReqProv:    on
PreReq:         %fillup_prereq perl
Supplements:    branding-openSUSE
Provides:       bootsplash-branding
Obsoletes:      bootsplash-theme-SuSE
Provides:       bootsplash-theme-SuSE
# Scripts and programs
Source0:        openSUSE.tar.bz2
Source1:        SLES.tar.bz2
Source2:        SLED.tar.bz2
Source3:        upstream.tar.bz2
Source4:        LICENSE
# sysconfig files
Source20:       sysconfig.bootsplash-branding-openSUSE
Source21:       sysconfig.bootsplash-branding-SLES
Source22:       sysconfig.bootsplash-branding-SLED
Source23:       sysconfig.bootsplash-branding-upstream
#
BuildRoot:      %{_tmppath}/%{name}-%{version}-build
Requires:       bootsplash >= 3.3-11

%description
This package contains the default theme for SUSE's graphical boot. Find
more information at http://www.bootsplash.org/.



Authors:
--------
    Stefan Reinauer <stepan@suse.de>
    Kenneth W. Wimer <wimer@suse.de>

%package -n     bootsplash-branding-SLES
License:        BSD 3-Clause
Supplements:    branding-SLES
Provides:       bootsplash-branding
Obsoletes:      bootsplash-theme-SuSE-SLES
Provides:       bootsplash-theme-SuSE-SLES
Summary:        Default SuSE Linux Enterprise Server Bootsplash Theme
AutoReqProv:    on
PreReq:         %fillup_prereq perl
Group:          System/Boot
Requires:       bootsplash >= 3.3-11

%description -n bootsplash-branding-SLES
This package contains the SLES theme for SuSE's graphical bootup
mechanism. More information can be found at http://www.bootsplash.org/



Authors:
--------
    Stefan Reinauer <stepan@suse.de>
    Kenneth W. Wimer <wimer@suse.de>

%package -n     bootsplash-branding-SLED
License:        BSD 3-Clause
Supplements:    branding-SLED
Provides:       bootsplash-branding
Obsoletes:      bootsplash-theme-SuSE-NLD
Provides:       bootsplash-theme-SuSE-NLD
Summary:        Default NLD Bootsplash Theme
AutoReqProv:    on
PreReq:         %fillup_prereq perl
Group:          System/Boot
Requires:       bootsplash >= 3.3-11

%description -n bootsplash-branding-SLED
This package contains the default theme for NLD's graphical bootup.
More information can be found at http://www.bootsplash.org/.



Authors:
--------
    Stefan Reinauer <stepan@suse.de>
    Kenneth W. Wimer <wimer@suse.de>

%package -n     bootsplash-branding-upstream
License:        BSD 3-Clause
Supplements:    branding-upstream
Provides:       bootsplash-branding
Summary:        Unbranded Bootsplash Theme
AutoReqProv:    on
PreReq:         %fillup_prereq perl
Group:          System/Boot
Requires:       bootsplash >= 3.3-11

%description -n bootsplash-branding-upstream
This package contains a theme without trademarked logos.



Authors:
--------
    Stefan Reinauer <stepan@suse.de>
    Kenneth W. Wimer <wimer@suse.de>

%prep
%setup -c
%setup -T -D -a 0
%setup -T -D -a 1
%setup -T -D -a 2
%setup -T -D -a 3
cp -p %{SOURCE4} .

%build

%install
mkdir -p %{buildroot}/etc/bootsplash
cp -a themes %{buildroot}/etc/bootsplash
for i in %{buildroot}/etc/bootsplash/themes/* ; do
  cp -a LICENSE $i/.
done
mkdir -p %{buildroot}/var/adm/fillup-templates
cp %{SOURCE20} %{SOURCE21} %{SOURCE22} %{SOURCE23} %{buildroot}/var/adm/fillup-templates/

%post 
%{fillup_only -ns bootsplash branding-openSUSE }
perl -pi -e 's/^(THEME=).*/$1"openSUSE"/' /etc/sysconfig/bootsplash

%post -n bootsplash-branding-SLES
%{fillup_only -ns bootsplash branding-SLES }
perl -pi -e 's/^(THEME=).*/$1"SLES"/' /etc/sysconfig/bootsplash

%post -n bootsplash-branding-SLED
%{fillup_only -ns bootsplash branding-SLED }
perl -pi -e 's/^(THEME=).*/$1"SLED"/' /etc/sysconfig/bootsplash

%post -n bootsplash-branding-upstream
%{fillup_only -ns bootsplash branding-upstream }
perl -pi -e 's/^(THEME=).*/$1"upstream"/' /etc/sysconfig/bootsplash

%files
%defattr(-,root,root)
%dir /etc/bootsplash
%dir /etc/bootsplash/themes
/etc/bootsplash/themes/openSUSE
%config /var/adm/fillup-templates/sysconfig.bootsplash-branding-openSUSE

%files -n bootsplash-branding-SLES
%defattr(-,root,root)
%dir /etc/bootsplash
%dir /etc/bootsplash/themes
/etc/bootsplash/themes/SLES
%config /var/adm/fillup-templates/sysconfig.bootsplash-branding-SLES

%files -n bootsplash-branding-SLED
%defattr(-,root,root)
%dir /etc/bootsplash
%dir /etc/bootsplash/themes
/etc/bootsplash/themes/SLED
%config /var/adm/fillup-templates/sysconfig.bootsplash-branding-SLED

%files -n bootsplash-branding-upstream
%defattr(-,root,root)
%dir /etc/bootsplash
%dir /etc/bootsplash/themes
/etc/bootsplash/themes/upstream
%config /var/adm/fillup-templates/sysconfig.bootsplash-branding-upstream

%changelog
* Fri Nov 14 2008 mls@suse.de
- add LICENSE file [bnc#436977]
* Mon Nov 10 2008 snwint@suse.de
- new openSUSE theme (bnc #434866)
* Fri Oct 17 2008 stbinner@suse.de
- create bootsplash-branding-upstream (bnc#425391)
* Wed Oct 15 2008 kukuk@suse.de
- updated SLE themes [bnc#431160]
* Mon Sep 29 2008 snwint@suse.de
- new SLE themes
* Tue Jun 03 2008 snwint@suse.de
- less distracting background in openSUSE theme (bnc #392673)
* Tue May 13 2008 snwint@suse.de
- fixed openSUSE config files
* Fri May 09 2008 snwint@suse.de
- provide old package name
- new openSUSE theme
* Thu Apr 10 2008 snwint@suse.de
- supplement branding-XXX
* Wed Apr 09 2008 snwint@suse.de
- reworked to match new branding scheme
- no longer contains gfxboot files
* Mon Feb 04 2008 snwint@suse.de
- adjust to new gfxboot package
* Mon Sep 17 2007 dmueller@suse.de
- fix splash triggers (#304735)
* Fri Aug 31 2007 snwint@suse.de
- added 1366x768 (#298025)
* Wed Jul 18 2007 coolo@suse.de
- Update SUSE theme for 10.3
* Wed Mar 21 2007 snwint@suse.de
- needs fribidi to build
* Fri Nov 24 2006 mls@suse.de
- use different opensuse logo [#215675]
* Fri Sep 01 2006 dobey@suse.de
- Update SUSE theme for 10.2
* Mon Mar 27 2006 dobey@suse.de
- Update SUSE, SLES, and SLED themes for more resolutions
- Require newest bootsplash version to avoid crashing at bootup on
  single-frame MNG animations
* Tue Mar 14 2006 dobey@suse.de
- Update SuSE theme configuration
  Fixes https://bugzilla.novell.com/show_bug.cgi?id=150340
* Mon Mar 13 2006 snwint@suse.de
- adjusted to new gfxboot
- removed obsolete themes
* Mon Mar 13 2006 dobey@suse.de
- Update SLED and SLES themes to use final branding
* Tue Mar 07 2006 dobey@suse.de
- Update NLD and SLES themes to use blue color
* Tue Feb 21 2006 dobey@suse.de
- Update NLD, SLES and SuSE themes
- Fixes #147649 and #150340
* Tue Feb 14 2006 kukuk@suse.de
- Fix the SLES bootsplash paths
* Fri Jan 27 2006 mls@suse.de
- converted neededforbuild to BuildRequires
* Wed Jan 25 2006 dobey@suse.de
- Update sles bootsplash artwork with server branding
- Update suse bootsplash artwork
* Wed Jan 18 2006 dobey@suse.de
- Update nld grub theme for new branding
- Update sles bootsplash artwork for new branding
* Mon Jan 16 2006 dobey@suse.de
- Update nld bootsplash for new branding
* Mon Dec 19 2005 dobey@suse.de
- Update nld bootsplash to new artwork
* Tue Nov 22 2005 jpr@suse.de
- update nld bootsplash for 10 alpha
* Mon Sep 05 2005 mls@suse.de
- updated animations [#115149]
* Mon Aug 29 2005 mls@suse.de
- update to new graphics
* Mon Aug 22 2005 mls@suse.de
- use real prelim of non-silent graphics
* Mon Aug 15 2005 ro@suse.de
- use prelim version for 10.0 graphics, non-silent mode
* Wed Aug 03 2005 mls@suse.de
- first shot at 10.0 graphics, silent mode only for now
* Wed Mar 16 2005 mls@suse.de
- transparent circ animation
* Mon Mar 14 2005 mls@suse.de
- move text a tiny bit to the left
* Mon Mar 07 2005 mls@suse.de
- first shot at suse 9.3
* Mon Jan 31 2005 snwint@suse.de
- gfxboot: translations and help texts have been renamed to *.tr and *.hlp
* Fri Oct 01 2004 mls@suse.de
- change circle logo to suse branding
* Wed Sep 29 2004 mls@suse.de
- updated text animations
- use white novell in verbose pics
- support YaST and system is down messages
- updated triggers to new names
* Thu Sep 23 2004 mls@suse.de
- added progress bar
- added "initializing hardware" text, renamed network to devices
* Sun Sep 19 2004 mls@suse.de
- created new silent pictures
- added animations
- adapted config files
* Fri Sep 10 2004 wimer@suse.de
-really updating the stuff-
* Fri Sep 10 2004 wimer@suse.de
-Updating verbose mode pics and erverting text to white-
* Wed Sep 08 2004 wimer@suse.de
-Changing text colors for the console (bug 44813)-
* Tue Sep 07 2004 snwint@suse.de
- fixed file name typo in Theme-SuSE
* Mon Sep 06 2004 wimer@suse.de
-Added 9.2 pics
* Wed Jul 14 2004 clahey@suse.de
- Updated NLD theme.
* Mon Jun 07 2004 clahey@suse.de
- Added NLD theme.
* Mon May 24 2004 wimer@suse.de
- fixed bug in rendering scripts resulting in DPCM instead of DPI
* Tue May 18 2004 wimer@suse.de
- fixing (once again) the 1280x1024 version
* Tue May 18 2004 wimer@suse.de
- adding new logos to the silent bootsplash pictures
* Wed Apr 21 2004 wimer@suse.de
- fixing problems with 1280x1024 version
* Fri Apr 16 2004 wimer@suse.de
- added sles bootsplash pics and configs
* Sun Apr 04 2004 wimer@suse.de
- fixed color value bug in theme SuSE (#38264, #38303)
* Sat Apr 03 2004 stepan@suse.de
- use NOROOTFORBUILD to avoid future conflicts with the ownership
  of files in the picture archives.
* Sat Apr 03 2004 wimer@suse.de
- changed the progress bar to work better with the rounded corners
* Fri Apr 02 2004 stepan@suse.de
- update SuSE theme configuration files
- update SuSE-Home theme configuration files
- update SuSE-SLES theme (pictures and configuration)
* Thu Apr 01 2004 stepan@suse.de
- update config file for 1024x768 (more to follow)
- fix typo in sysconfig.bootsplash-theme-SuSE-Home
* Mon Mar 29 2004 stepan@suse.de
- update pictures for SuSE and SuSE-Home Theme.
* Sun Mar 28 2004 stepan@suse.de
- drop UnitedLinux Theme
- add UnitedLinux Theme to Provides and Obsoletes of SLES Theme
* Tue Mar 02 2004 stepan@suse.de
- fix typoes
* Tue Mar 02 2004 stepan@suse.de
- add Theme for SuSE Linux Home
* Mon Mar 01 2004 snwint@suse.de
- adapted to new gfxboot package
* Fri Feb 27 2004 kukuk@suse.de
- Fix compiling on SLES9
* Fri Sep 05 2003 stepan@suse.de
- fix 9.0 theme.
* Wed Sep 03 2003 wimer@suse.de
- update to 9.0 theme.
* Mon Aug 18 2003 snwint@suse.de
- adapted to new gfxboot package
* Fri Jun 13 2003 ro@suse.de
- added directories to filelists
* Tue Jun 03 2003 stepan@suse.de
- copy bootloader message file in %%post section to get rid of
  the otherwise unneeded SuSEconfig.bootsplash script
* Wed Apr 02 2003 stepan@suse.de
- change image paths to /etc/bootsplash
* Thu Mar 20 2003 stepan@suse.de
- initial version. split off package bootsplash