1 ###############################################################################
2 # IPFire.org - An Open Source Firewall Solution #
3 # Copyright (C) - IPFire Development Team <info@ipfire.org> #
4 ###############################################################################
11 url = http://www.freedesktop.org/wiki/Software/Plymouth
13 summary = Graphical Boot Animation and Logger.
16 Plymouth provides an attractive graphical boot animation in
17 place of the text messages that normally get shown. Text
18 messages are instead redirected to a log file for viewing
22 source_dl = http://www.freedesktop.org/software/plymouth/releases/
23 sources = %{thisapp}.tar.bz2
38 configure_options += \
39 --libexecdir=/usr/lib \
44 --with-logo=%{datadir}/pixmaps/system-logo-white.png \
45 --with-background-start-color-stop=0x880400 \
46 --with-background-end-color-stop=0x000000 \
47 --with-background-color=0x880400 \
48 --disable-gdm-transition \
49 --enable-systemd-integration \
50 --without-system-root-install \
51 --without-rhgb-compat-link \
58 # Fix install location for systemd files.
59 make_install_targets += \
60 SYSTEMD_UNIT_DIR=%{unitdir}
63 mkdir -pv %{BUILDROOT}%{datadir}/plymouth
64 mkdir -pv %{BUILDROOT}%{localstatedir}/lib/plymouth
65 cp -vf %{DIR_SOURCE}/boot-duration \
66 %{BUILDROOT}%{datadir}/plymouth/default-boot-duration
67 cp -vf %{DIR_SOURCE}/boot-duration \
68 %{BUILDROOT}%{localstatedir}/lib/plymouth
70 # The "glow" theme isn't quite ready for primetime, so drop it.
71 rm -rvf %{BUILDROOT}%{datadir}/plymouth/themes/glow
72 rm -rvf %{BUILDROOT}%{datadir}/plymouth/glow/
73 rm -rvf %{BUILDROOT}%{libdir}/plymouth/glow.so
86 %{name}-libs = %{thisver}
87 %{name}-scripts = %{thisver}
88 %{name}-system-theme = %{thisver}
97 /etc/plymouth/plymouthd.conf
101 if [ ! -f "%{localstatedir}/lib/plymouth/boot-duration" ]; then
102 cp -f %{datadir}/plymouth/default-boot-duration \
103 %{localstatedir}/lib/plymouth/boot-duration
106 # Just search for new unit files that were just installed.
107 /usr/bin/systemctl daemon-reload >/dev/null 2>&1 || :
110 # Reload systemd after update.
112 /usr/bin/systemctl daemon-reload >/dev/null 2>&1 || :
115 # Tell systemd that unitfiles have been removed.
117 /usr/bin/systemctl daemon-reload >/dev/null 2>&1 || :
119 rm -f /boot/initrd-plymouth.img
123 /usr/lib/plymouth/plymouth-generate-initrd >/dev/null 2>&1
131 package %{name}-devel
134 requires = plymouth-libs = %{thisver}
137 package %{name}-scripts
138 summary = Plymouth related scripts.
140 This package contains scripts that help to integrate
141 Plymouth with the system.
144 prerequires = /usr/bin/plymouth
147 plymouth = %{thisver}
157 %{sbindir}/plymouth-set-default-theme
158 %{sbindir}/plymouth-set-default-plugin
159 /usr/lib/plymouth/plymouth-update-initrd
160 /usr/lib/plymouth/plymouth-generate-initrd
161 /usr/lib/plymouth/plymouth-populate-initrd
165 package %{name}-plugin-label
166 summary = Plymouth label plugin.
168 This package contains the label plugin for Plymouth.
169 It provides the ability to render text on graphical boot
170 splashes using pango and cairo.
174 %{libdir}/plymouth/label.so
178 package %{name}-plugin-fade-throbber
179 summary = Plymouth fade-throbber plugin.
181 The package contains the fade-throbber plugin for Plymouth.
182 It features a centered image that fades in and out while
183 other images pulsate around during system boot up.
191 %{libdir}/plymouth/fade-throbber.so
195 package %{name}-plugin-throbgress
196 summary = Plymouth throbgress plugin.
198 This package contains the throbgress plugin for Plymouth.
199 It features a centered logo and animated spinner that spins
200 repeatedly while a progress bar advances at the bootom of the
209 %{libdir}/plymouth/throbgress.so
213 package %{name}-plugin-space-flares
214 summary = Plymouth space-flares plugin.
216 This package contains the space-flares plugin for Plymouth.
217 It features a corner image with animated flares.
225 %{libdir}/plymouth/space-flares.so
229 package %{name}-plugin-two-step
230 summary = Plymouth two-step plugin.
232 This package contains the two-step plugin for Plymouth.
233 It features a corner image with animated flares.
241 %{libdir}/plymouth/two-step.so
245 package %{name}-plugin-script
247 %{libdir}/plymouth/script.so
252 summary = The plymouth "%{theme_name}" theme.
254 This package contains the "%{theme_name}" boot
255 splash theme for plymouth.
259 %{name}-scripts = %{thisver}
263 %{datadir}/plymouth/themes/%{theme_name}
267 if [ "$(%{sbindir}/plymouth-set-default-theme)" = "%{theme_name}" ]; then
268 %{sbindir}/plymouth-set-default-theme --reset
269 /usr/lib/plymouth/plymouth-generate-initrd
274 package %{name}-theme-fade-in
278 requires += %{name}-plugin-fade-throbber=%{thisver}
281 package %{name}-theme-spinner
285 requires += %{name}-plugin-two-step=%{thisver}
288 package %{name}-theme-spinfinity
290 theme_name = spinfinity
292 requires += %{name}-plugin-throbgress=%{thisver}
295 package %{name}-theme-script
299 requires += %{name}-plugin-script=%{thisver}
302 package %{name}-theme-solar
306 requires += %{name}-plugin-space-flares=%{thisver}
309 package %{name}-system-theme
310 summary = Plymouth default theme.
312 This metapackage tracks the current distribution default theme.
321 # Don't package any files.