bootsplash-theme-Sun.spec
author dermotm
Mon, 06 Sep 2004 10:13:24 +0000
changeset 3858 a0a00bd9bb27
parent 3679 a83eeeda363e
child 4007 3cf8b6afa295
permissions -rw-r--r--
Incremented release numbers for build 18
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
1118
f2c89b01ef4d 2003-09-03 Erwann Chenede - <[email protected]>
erwannc
parents:
diff changeset
     1
#
f2c89b01ef4d 2003-09-03 Erwann Chenede - <[email protected]>
erwannc
parents:
diff changeset
     2
# Copyright (c) 2003 Sun Microsystems Inc.
f2c89b01ef4d 2003-09-03 Erwann Chenede - <[email protected]>
erwannc
parents:
diff changeset
     3
# This file and all modifications and additions to the pristine
f2c89b01ef4d 2003-09-03 Erwann Chenede - <[email protected]>
erwannc
parents:
diff changeset
     4
# package are under the same license as the package itself.
f2c89b01ef4d 2003-09-03 Erwann Chenede - <[email protected]>
erwannc
parents:
diff changeset
     5
#
f2c89b01ef4d 2003-09-03 Erwann Chenede - <[email protected]>
erwannc
parents:
diff changeset
     6
Name: bootsplash-theme-Sun
1399
255445d3b8aa New Sun.pcx and Sun-splash.pcx files - Carl
cig
parents: 1352
diff changeset
     7
Version: 0.6.16.4
3858
a0a00bd9bb27 Incremented release numbers for build 18
dermotm
parents: 3679
diff changeset
     8
Release: 30
1631
b625afb74b79 2004-02-12 Erwann Chenede - <[email protected]>
erwannc
parents: 1609
diff changeset
     9
Distribution: Cinnabar
1118
f2c89b01ef4d 2003-09-03 Erwann Chenede - <[email protected]>
erwannc
parents:
diff changeset
    10
Group: User Interface/Desktops
f2c89b01ef4d 2003-09-03 Erwann Chenede - <[email protected]>
erwannc
parents:
diff changeset
    11
Vendor: Sun Microsystems, Inc.
f2c89b01ef4d 2003-09-03 Erwann Chenede - <[email protected]>
erwannc
parents:
diff changeset
    12
Copyright: commercial
f2c89b01ef4d 2003-09-03 Erwann Chenede - <[email protected]>
erwannc
parents:
diff changeset
    13
Provides: bootsplash-theme
f2c89b01ef4d 2003-09-03 Erwann Chenede - <[email protected]>
erwannc
parents:
diff changeset
    14
Provides: %{name}
f2c89b01ef4d 2003-09-03 Erwann Chenede - <[email protected]>
erwannc
parents:
diff changeset
    15
Provides: %{name}-%{version}-%{release}
f2c89b01ef4d 2003-09-03 Erwann Chenede - <[email protected]>
erwannc
parents:
diff changeset
    16
URL: http://www.sun.com
f2c89b01ef4d 2003-09-03 Erwann Chenede - <[email protected]>
erwannc
parents:
diff changeset
    17
Source: %{name}-%{version}.tgz
f2c89b01ef4d 2003-09-03 Erwann Chenede - <[email protected]>
erwannc
parents:
diff changeset
    18
BuildRoot: %{_tmppath}/%{name}-%{version}-build
f2c89b01ef4d 2003-09-03 Erwann Chenede - <[email protected]>
erwannc
parents:
diff changeset
    19
Group: User Interface/Desktops
f2c89b01ef4d 2003-09-03 Erwann Chenede - <[email protected]>
erwannc
parents:
diff changeset
    20
Summary: Sample boot splash theme for the Sun Mercury Desktop
f2c89b01ef4d 2003-09-03 Erwann Chenede - <[email protected]>
erwannc
parents:
diff changeset
    21
Autoreqprov:  on
f2c89b01ef4d 2003-09-03 Erwann Chenede - <[email protected]>
erwannc
parents:
diff changeset
    22
f2c89b01ef4d 2003-09-03 Erwann Chenede - <[email protected]>
erwannc
parents:
diff changeset
    23
Requires:      aaa_base 
f2c89b01ef4d 2003-09-03 Erwann Chenede - <[email protected]>
erwannc
parents:
diff changeset
    24
3628
cf6118e136d2 Merged from cinnabar-suse91 branch back into HEAD
mattk
parents: 3519
diff changeset
    25
%define splash_theme /etc/bootsplash/themes
1118
f2c89b01ef4d 2003-09-03 Erwann Chenede - <[email protected]>
erwannc
parents:
diff changeset
    26
%define templates /var/adm/fillup-templates
f2c89b01ef4d 2003-09-03 Erwann Chenede - <[email protected]>
erwannc
parents:
diff changeset
    27
%define sysconfig sysconfig.%{name}
f2c89b01ef4d 2003-09-03 Erwann Chenede - <[email protected]>
erwannc
parents:
diff changeset
    28
%define default_theme Sun
f2c89b01ef4d 2003-09-03 Erwann Chenede - <[email protected]>
erwannc
parents:
diff changeset
    29
%define message /boot/message
f2c89b01ef4d 2003-09-03 Erwann Chenede - <[email protected]>
erwannc
parents:
diff changeset
    30
f2c89b01ef4d 2003-09-03 Erwann Chenede - <[email protected]>
erwannc
parents:
diff changeset
    31
%description
f2c89b01ef4d 2003-09-03 Erwann Chenede - <[email protected]>
erwannc
parents:
diff changeset
    32
Sun branded sample boot splash theme for the Sun Mercury Desktop
f2c89b01ef4d 2003-09-03 Erwann Chenede - <[email protected]>
erwannc
parents:
diff changeset
    33
f2c89b01ef4d 2003-09-03 Erwann Chenede - <[email protected]>
erwannc
parents:
diff changeset
    34
Property of Sun Microsystems Inc., 2003
f2c89b01ef4d 2003-09-03 Erwann Chenede - <[email protected]>
erwannc
parents:
diff changeset
    35
f2c89b01ef4d 2003-09-03 Erwann Chenede - <[email protected]>
erwannc
parents:
diff changeset
    36
%package devel
f2c89b01ef4d 2003-09-03 Erwann Chenede - <[email protected]>
erwannc
parents:
diff changeset
    37
Summary: Components for creating the %{name} bootsplash theme.
f2c89b01ef4d 2003-09-03 Erwann Chenede - <[email protected]>
erwannc
parents:
diff changeset
    38
Group: Development/Libraries/C and C++
f2c89b01ef4d 2003-09-03 Erwann Chenede - <[email protected]>
erwannc
parents:
diff changeset
    39
%description devel
f2c89b01ef4d 2003-09-03 Erwann Chenede - <[email protected]>
erwannc
parents:
diff changeset
    40
Contains the necessary components to build the %{name} bootsplash theme.
f2c89b01ef4d 2003-09-03 Erwann Chenede - <[email protected]>
erwannc
parents:
diff changeset
    41
f2c89b01ef4d 2003-09-03 Erwann Chenede - <[email protected]>
erwannc
parents:
diff changeset
    42
Property of Sun Microsystems Inc., 2003
f2c89b01ef4d 2003-09-03 Erwann Chenede - <[email protected]>
erwannc
parents:
diff changeset
    43
f2c89b01ef4d 2003-09-03 Erwann Chenede - <[email protected]>
erwannc
parents:
diff changeset
    44
%prep
f2c89b01ef4d 2003-09-03 Erwann Chenede - <[email protected]>
erwannc
parents:
diff changeset
    45
%setup -c
f2c89b01ef4d 2003-09-03 Erwann Chenede - <[email protected]>
erwannc
parents:
diff changeset
    46
f2c89b01ef4d 2003-09-03 Erwann Chenede - <[email protected]>
erwannc
parents:
diff changeset
    47
%install
f2c89b01ef4d 2003-09-03 Erwann Chenede - <[email protected]>
erwannc
parents:
diff changeset
    48
f2c89b01ef4d 2003-09-03 Erwann Chenede - <[email protected]>
erwannc
parents:
diff changeset
    49
\rm -rf $RPM_BUILD_ROOT
f2c89b01ef4d 2003-09-03 Erwann Chenede - <[email protected]>
erwannc
parents:
diff changeset
    50
\mkdir -p $RPM_BUILD_ROOT%{splash_theme}/%{default_theme} \
f2c89b01ef4d 2003-09-03 Erwann Chenede - <[email protected]>
erwannc
parents:
diff changeset
    51
          $RPM_BUILD_ROOT%{templates} \
f2c89b01ef4d 2003-09-03 Erwann Chenede - <[email protected]>
erwannc
parents:
diff changeset
    52
f2c89b01ef4d 2003-09-03 Erwann Chenede - <[email protected]>
erwannc
parents:
diff changeset
    53
# Let's start
f2c89b01ef4d 2003-09-03 Erwann Chenede - <[email protected]>
erwannc
parents:
diff changeset
    54
SRCDIR=`\pwd`/src
f2c89b01ef4d 2003-09-03 Erwann Chenede - <[email protected]>
erwannc
parents:
diff changeset
    55
f2c89b01ef4d 2003-09-03 Erwann Chenede - <[email protected]>
erwannc
parents:
diff changeset
    56
# bootsplash files
f2c89b01ef4d 2003-09-03 Erwann Chenede - <[email protected]>
erwannc
parents:
diff changeset
    57
cd ${SRCDIR}
f2c89b01ef4d 2003-09-03 Erwann Chenede - <[email protected]>
erwannc
parents:
diff changeset
    58
\cp -f sysconfig $RPM_BUILD_ROOT%{templates}/%{sysconfig}
f2c89b01ef4d 2003-09-03 Erwann Chenede - <[email protected]>
erwannc
parents:
diff changeset
    59
f2c89b01ef4d 2003-09-03 Erwann Chenede - <[email protected]>
erwannc
parents:
diff changeset
    60
cd ${SRCDIR}/%{default_theme}
f2c89b01ef4d 2003-09-03 Erwann Chenede - <[email protected]>
erwannc
parents:
diff changeset
    61
for d in bootloader config src images/*.jpg
f2c89b01ef4d 2003-09-03 Erwann Chenede - <[email protected]>
erwannc
parents:
diff changeset
    62
do 
f2c89b01ef4d 2003-09-03 Erwann Chenede - <[email protected]>
erwannc
parents:
diff changeset
    63
  \tar cf - $d | (cd $RPM_BUILD_ROOT%{splash_theme}/%{default_theme} ; tar xpf -)
f2c89b01ef4d 2003-09-03 Erwann Chenede - <[email protected]>
erwannc
parents:
diff changeset
    64
done
f2c89b01ef4d 2003-09-03 Erwann Chenede - <[email protected]>
erwannc
parents:
diff changeset
    65
f2c89b01ef4d 2003-09-03 Erwann Chenede - <[email protected]>
erwannc
parents:
diff changeset
    66
%post
f2c89b01ef4d 2003-09-03 Erwann Chenede - <[email protected]>
erwannc
parents:
diff changeset
    67
# Link the current theme
f2c89b01ef4d 2003-09-03 Erwann Chenede - <[email protected]>
erwannc
parents:
diff changeset
    68
if [ -d %{splash_theme} ]; then
f2c89b01ef4d 2003-09-03 Erwann Chenede - <[email protected]>
erwannc
parents:
diff changeset
    69
   cd %{splash_theme}
f2c89b01ef4d 2003-09-03 Erwann Chenede - <[email protected]>
erwannc
parents:
diff changeset
    70
   if   [ -h current ]; then
f2c89b01ef4d 2003-09-03 Erwann Chenede - <[email protected]>
erwannc
parents:
diff changeset
    71
     \rm -f current
f2c89b01ef4d 2003-09-03 Erwann Chenede - <[email protected]>
erwannc
parents:
diff changeset
    72
   elif [ -d current ]; then
f2c89b01ef4d 2003-09-03 Erwann Chenede - <[email protected]>
erwannc
parents:
diff changeset
    73
     \mv -f current current.orig
f2c89b01ef4d 2003-09-03 Erwann Chenede - <[email protected]>
erwannc
parents:
diff changeset
    74
   fi
f2c89b01ef4d 2003-09-03 Erwann Chenede - <[email protected]>
erwannc
parents:
diff changeset
    75
   \ln -s ./%{default_theme} %{splash_theme}/current
f2c89b01ef4d 2003-09-03 Erwann Chenede - <[email protected]>
erwannc
parents:
diff changeset
    76
f2c89b01ef4d 2003-09-03 Erwann Chenede - <[email protected]>
erwannc
parents:
diff changeset
    77
   # Backup original message file ONLY if not done earlier
f2c89b01ef4d 2003-09-03 Erwann Chenede - <[email protected]>
erwannc
parents:
diff changeset
    78
   if [ ! -f  %{message}.pre-%{name} ]; then
f2c89b01ef4d 2003-09-03 Erwann Chenede - <[email protected]>
erwannc
parents:
diff changeset
    79
	\install --backup=simple -p --suffix=.pre-%{name} -m 644  ./%{default_theme}/bootloader/message %{message}
f2c89b01ef4d 2003-09-03 Erwann Chenede - <[email protected]>
erwannc
parents:
diff changeset
    80
   fi
f2c89b01ef4d 2003-09-03 Erwann Chenede - <[email protected]>
erwannc
parents:
diff changeset
    81
f2c89b01ef4d 2003-09-03 Erwann Chenede - <[email protected]>
erwannc
parents:
diff changeset
    82
   # Create ramdisk image
1352
075c4154ee28 Expanded image to handle 7 entries
cig
parents: 1297
diff changeset
    83
   # \mkinitrd   - Per SuSe's request
1118
f2c89b01ef4d 2003-09-03 Erwann Chenede - <[email protected]>
erwannc
parents:
diff changeset
    84
fi
f2c89b01ef4d 2003-09-03 Erwann Chenede - <[email protected]>
erwannc
parents:
diff changeset
    85
f2c89b01ef4d 2003-09-03 Erwann Chenede - <[email protected]>
erwannc
parents:
diff changeset
    86
%clean
f2c89b01ef4d 2003-09-03 Erwann Chenede - <[email protected]>
erwannc
parents:
diff changeset
    87
\rm -rf $RPM_BUILD_ROOT
f2c89b01ef4d 2003-09-03 Erwann Chenede - <[email protected]>
erwannc
parents:
diff changeset
    88
f2c89b01ef4d 2003-09-03 Erwann Chenede - <[email protected]>
erwannc
parents:
diff changeset
    89
%files
f2c89b01ef4d 2003-09-03 Erwann Chenede - <[email protected]>
erwannc
parents:
diff changeset
    90
%defattr(-,root,root)
1297
2a543d35b20e 2003-10-20 Erwann Chenede - <[email protected]>
erwannc
parents: 1195
diff changeset
    91
%doc README
1118
f2c89b01ef4d 2003-09-03 Erwann Chenede - <[email protected]>
erwannc
parents:
diff changeset
    92
f2c89b01ef4d 2003-09-03 Erwann Chenede - <[email protected]>
erwannc
parents:
diff changeset
    93
%{splash_theme}/%{default_theme}/bootloader
f2c89b01ef4d 2003-09-03 Erwann Chenede - <[email protected]>
erwannc
parents:
diff changeset
    94
%{splash_theme}/%{default_theme}/config
f2c89b01ef4d 2003-09-03 Erwann Chenede - <[email protected]>
erwannc
parents:
diff changeset
    95
%{splash_theme}/%{default_theme}/images
f2c89b01ef4d 2003-09-03 Erwann Chenede - <[email protected]>
erwannc
parents:
diff changeset
    96
%{templates}/%{sysconfig}
f2c89b01ef4d 2003-09-03 Erwann Chenede - <[email protected]>
erwannc
parents:
diff changeset
    97
f2c89b01ef4d 2003-09-03 Erwann Chenede - <[email protected]>
erwannc
parents:
diff changeset
    98
%files devel
f2c89b01ef4d 2003-09-03 Erwann Chenede - <[email protected]>
erwannc
parents:
diff changeset
    99
%defattr(-,root,root)
f2c89b01ef4d 2003-09-03 Erwann Chenede - <[email protected]>
erwannc
parents:
diff changeset
   100
%{splash_theme}/%{default_theme}/src
f2c89b01ef4d 2003-09-03 Erwann Chenede - <[email protected]>
erwannc
parents:
diff changeset
   101
f2c89b01ef4d 2003-09-03 Erwann Chenede - <[email protected]>
erwannc
parents:
diff changeset
   102
%changelog
3628
cf6118e136d2 Merged from cinnabar-suse91 branch back into HEAD
mattk
parents: 3519
diff changeset
   103
*Wed Jul 07 2004 - [email protected] %Version
cf6118e136d2 Merged from cinnabar-suse91 branch back into HEAD
mattk
parents: 3519
diff changeset
   104
	Ported to SuSE9.1, changed splash_theme macro to /etc/bootsplash/themes
1352
075c4154ee28 Expanded image to handle 7 entries
cig
parents: 1297
diff changeset
   105
*Mon Oct 28 2003 - <[email protected]> %Version
075c4154ee28 Expanded image to handle 7 entries
cig
parents: 1297
diff changeset
   106
	Expanded graphics to adjust more menu.items
075c4154ee28 Expanded image to handle 7 entries
cig
parents: 1297
diff changeset
   107
	New graphics for bootsplash
075c4154ee28 Expanded image to handle 7 entries
cig
parents: 1297
diff changeset
   108
	New graphics for grub and system splash (Less color usage)
1297
2a543d35b20e 2003-10-20 Erwann Chenede - <[email protected]>
erwannc
parents: 1195
diff changeset
   109
*Sun Oct 20 2003 - <[email protected]> %Version
2a543d35b20e 2003-10-20 Erwann Chenede - <[email protected]>
erwannc
parents: 1195
diff changeset
   110
	New graphics from Chester
1118
f2c89b01ef4d 2003-09-03 Erwann Chenede - <[email protected]>
erwannc
parents:
diff changeset
   111
*Tue Sep 3 2003 - <[email protected]> %Version
f2c89b01ef4d 2003-09-03 Erwann Chenede - <[email protected]>
erwannc
parents:
diff changeset
   112
	New graphics (Java Desktop System)
f2c89b01ef4d 2003-09-03 Erwann Chenede - <[email protected]>
erwannc
parents:
diff changeset
   113
	Support scripts in the devel package
f2c89b01ef4d 2003-09-03 Erwann Chenede - <[email protected]>
erwannc
parents:
diff changeset
   114
*Tue Aug 26 2003 - <[email protected]> %Version
f2c89b01ef4d 2003-09-03 Erwann Chenede - <[email protected]>
erwannc
parents:
diff changeset
   115
	Added Provides
f2c89b01ef4d 2003-09-03 Erwann Chenede - <[email protected]>
erwannc
parents:
diff changeset
   116
	Renamed package
f2c89b01ef4d 2003-09-03 Erwann Chenede - <[email protected]>
erwannc
parents:
diff changeset
   117
	New graphics (compressed)
f2c89b01ef4d 2003-09-03 Erwann Chenede - <[email protected]>
erwannc
parents:
diff changeset
   118
*Tue Jul 1 2003 Carl Gadener <[email protected]>
f2c89b01ef4d 2003-09-03 Erwann Chenede - <[email protected]>
erwannc
parents:
diff changeset
   119
	Version 0.6-6
f2c89b01ef4d 2003-09-03 Erwann Chenede - <[email protected]>
erwannc
parents:
diff changeset
   120
	Separated theme deploy from devel
f2c89b01ef4d 2003-09-03 Erwann Chenede - <[email protected]>
erwannc
parents:
diff changeset
   121
*Mon Jun 30 2003 Carl Gadener <[email protected]>
f2c89b01ef4d 2003-09-03 Erwann Chenede - <[email protected]>
erwannc
parents:
diff changeset
   122
	Version 0.6-5
f2c89b01ef4d 2003-09-03 Erwann Chenede - <[email protected]>
erwannc
parents:
diff changeset
   123
	Modified Images
f2c89b01ef4d 2003-09-03 Erwann Chenede - <[email protected]>
erwannc
parents:
diff changeset
   124
	Removed Leadership theme
f2c89b01ef4d 2003-09-03 Erwann Chenede - <[email protected]>
erwannc
parents:
diff changeset
   125
*Fri Jun 27 2003 Carl Gadener <[email protected]>
f2c89b01ef4d 2003-09-03 Erwann Chenede - <[email protected]>
erwannc
parents:
diff changeset
   126
	Version 0.6-4
f2c89b01ef4d 2003-09-03 Erwann Chenede - <[email protected]>
erwannc
parents:
diff changeset
   127
	New Images
f2c89b01ef4d 2003-09-03 Erwann Chenede - <[email protected]>
erwannc
parents:
diff changeset
   128
*Wed Jun 18 2003 Carl Gadener <[email protected]>
f2c89b01ef4d 2003-09-03 Erwann Chenede - <[email protected]>
erwannc
parents:
diff changeset
   129
	Version 0.6-3
f2c89b01ef4d 2003-09-03 Erwann Chenede - <[email protected]>
erwannc
parents:
diff changeset
   130
	Changed References from Openstack to Sun
f2c89b01ef4d 2003-09-03 Erwann Chenede - <[email protected]>
erwannc
parents:
diff changeset
   131
*Fri Jun 13 2003 Carl Gadener <[email protected]>
f2c89b01ef4d 2003-09-03 Erwann Chenede - <[email protected]>
erwannc
parents:
diff changeset
   132
	Version 0.6-2
f2c89b01ef4d 2003-09-03 Erwann Chenede - <[email protected]>
erwannc
parents:
diff changeset
   133
	Simplified Makefile
f2c89b01ef4d 2003-09-03 Erwann Chenede - <[email protected]>
erwannc
parents:
diff changeset
   134
*Wed Jun 11 2003 Carl Gadener <[email protected]>
f2c89b01ef4d 2003-09-03 Erwann Chenede - <[email protected]>
erwannc
parents:
diff changeset
   135
	Version 0.6-1
f2c89b01ef4d 2003-09-03 Erwann Chenede - <[email protected]>
erwannc
parents:
diff changeset
   136
	New Grub splash screen
f2c89b01ef4d 2003-09-03 Erwann Chenede - <[email protected]>
erwannc
parents:
diff changeset
   137
	Added post install script
f2c89b01ef4d 2003-09-03 Erwann Chenede - <[email protected]>
erwannc
parents:
diff changeset
   138
*Thu Jun 4 2003 Carl Gadener <[email protected]>
f2c89b01ef4d 2003-09-03 Erwann Chenede - <[email protected]>
erwannc
parents:
diff changeset
   139
	Version 0.5-1
f2c89b01ef4d 2003-09-03 Erwann Chenede - <[email protected]>
erwannc
parents:
diff changeset
   140
	Creation of RPM package