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