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
39 configure_options += \
40 --libexecdir=/usr/lib \
45 --with-logo=%{datadir}/pixmaps/system-logo-white.png \
46 --with-background-start-color-stop=0x880400 \
47 --with-background-end-color-stop=0x000000 \
48 --with-background-color=0x880400 \
49 --disable-gdm-transition \
50 --enable-systemd-integration \
51 --without-system-root-install \
52 --without-rhgb-compat-link \
59 # Fix install location for systemd files.
60 make_install_targets += \
61 SYSTEMD_UNIT_DIR=%{unitdir}
64 mkdir -pv %{BUILDROOT}%{datadir}/plymouth
65 mkdir -pv %{BUILDROOT}%{localstatedir}/lib/plymouth
66 cp -vf %{DIR_SOURCE}/boot-duration \
67 %{BUILDROOT}%{datadir}/plymouth/default-boot-duration
68 cp -vf %{DIR_SOURCE}/boot-duration \
69 %{BUILDROOT}%{localstatedir}/lib/plymouth
71 # The "glow" theme isn't quite ready for primetime, so drop it.
72 rm -rvf %{BUILDROOT}%{datadir}/plymouth/themes/glow
73 rm -rvf %{BUILDROOT}%{datadir}/plymouth/glow/
74 rm -rvf %{BUILDROOT}%{libdir}/plymouth/glow.so
87 %{name}-libs = %{thisver}
88 %{name}-scripts = %{thisver}
89 %{name}-system-theme = %{thisver}
98 /etc/plymouth/plymouthd.conf
102 if [ ! -f "%{localstatedir}/lib/plymouth/boot-duration" ]; then
103 cp -f %{datadir}/plymouth/default-boot-duration \
104 %{localstatedir}/lib/plymouth/boot-duration
107 # Just search for new unit files that were just installed.
108 /usr/bin/systemctl daemon-reload >/dev/null 2>&1 || :
111 # Reload systemd after update.
113 /usr/bin/systemctl daemon-reload >/dev/null 2>&1 || :
116 # Tell systemd that unitfiles have been removed.
118 /usr/bin/systemctl daemon-reload >/dev/null 2>&1 || :
120 rm -f /boot/initrd-plymouth.img
124 /usr/lib/plymouth/plymouth-generate-initrd >/dev/null 2>&1
132 package %{name}-devel
135 requires = plymouth-libs = %{thisver}
138 package %{name}-scripts
139 summary = Plymouth related scripts.
141 This package contains scripts that help to integrate
142 Plymouth with the system.
145 prerequires = /usr/bin/plymouth
148 plymouth = %{thisver}
158 %{sbindir}/plymouth-set-default-theme
159 %{sbindir}/plymouth-set-default-plugin
160 /usr/lib/plymouth/plymouth-update-initrd
161 /usr/lib/plymouth/plymouth-generate-initrd
162 /usr/lib/plymouth/plymouth-populate-initrd
166 package %{name}-plugin-label
167 summary = Plymouth label plugin.
169 This package contains the label plugin for Plymouth.
170 It provides the ability to render text on graphical boot
171 splashes using pango and cairo.
175 %{libdir}/plymouth/label.so
179 package %{name}-plugin-fade-throbber
180 summary = Plymouth fade-throbber plugin.
182 The package contains the fade-throbber plugin for Plymouth.
183 It features a centered image that fades in and out while
184 other images pulsate around during system boot up.
192 %{libdir}/plymouth/fade-throbber.so
196 package %{name}-plugin-throbgress
197 summary = Plymouth throbgress plugin.
199 This package contains the throbgress plugin for Plymouth.
200 It features a centered logo and animated spinner that spins
201 repeatedly while a progress bar advances at the bootom of the
210 %{libdir}/plymouth/throbgress.so
214 package %{name}-plugin-space-flares
215 summary = Plymouth space-flares plugin.
217 This package contains the space-flares plugin for Plymouth.
218 It features a corner image with animated flares.
226 %{libdir}/plymouth/space-flares.so
230 package %{name}-plugin-two-step
231 summary = Plymouth two-step plugin.
233 This package contains the two-step plugin for Plymouth.
234 It features a corner image with animated flares.
242 %{libdir}/plymouth/two-step.so
246 package %{name}-plugin-script
248 %{libdir}/plymouth/script.so
253 summary = The plymouth "%{theme_name}" theme.
255 This package contains the "%{theme_name}" boot
256 splash theme for plymouth.
260 %{name}-scripts = %{thisver}
264 %{datadir}/plymouth/themes/%{theme_name}
268 if [ "$(%{sbindir}/plymouth-set-default-theme)" = "%{theme_name}" ]; then
269 %{sbindir}/plymouth-set-default-theme --reset
270 /usr/lib/plymouth/plymouth-generate-initrd
275 package %{name}-theme-fade-in
279 requires += %{name}-plugin-fade-throbber=%{thisver}
282 package %{name}-theme-spinner
286 requires += %{name}-plugin-two-step=%{thisver}
289 package %{name}-theme-spinfinity
291 theme_name = spinfinity
293 requires += %{name}-plugin-throbgress=%{thisver}
296 package %{name}-theme-script
300 requires += %{name}-plugin-script=%{thisver}
303 package %{name}-theme-solar
307 requires += %{name}-plugin-space-flares=%{thisver}
310 package %{name}-system-theme
311 summary = Plymouth default theme.
313 This metapackage tracks the current distribution default theme.
322 # Don't package any files.