1 ###############################################################################
2 # IPFire.org - An Open Source Firewall Solution #
3 # Copyright (C) - IPFire Development Team <info@ipfire.org> #
4 ###############################################################################
11 url = https://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.xz
37 %{datadir}/pixmaps/system-logo-white.png
40 configure_options += \
41 --libexecdir=/usr/lib \
43 --with-logo=%{datadir}/pixmaps/system-logo-white.png \
44 --with-background-start-color-stop=0x880400 \
45 --with-background-end-color-stop=0x000000 \
46 --with-background-color=0x880400 \
47 --enable-systemd-integration \
48 --without-system-root-install \
49 --without-rhgb-compat-link \
52 # Fix install location for systemd files
53 make_install_targets += \
54 SYSTEMD_UNIT_DIR=%{unitdir}
57 # HACK: Replace symlink with a copy of the logo
58 rm -vf %{BUILDROOT}%{datadir}/plymouth/themes/spinfinity/header-image.png
59 cp -vf %{datadir}/pixmaps/system-logo-white.png \
60 %{BUILDROOT}%{datadir}/plymouth/themes/spinfinity/header-image.png
62 # Drop /var/run directory
63 rm -rvf %{BUILDROOT}%{localstatedir}/run
68 package %{name}-system-theme
69 summary = Plymouth default theme
72 This metapackage tracks the current distribution default theme.
86 %{name}-libs = %{thisver}
87 %{name}-scripts = %{thisver}
88 %{name}-system-theme = %{thisver}
96 /etc/plymouth/plymouthd.conf
100 # Just search for new unit files that were just installed.
101 /usr/bin/systemctl daemon-reload >/dev/null 2>&1 || :
104 # Reload systemd after update.
106 /usr/bin/systemctl daemon-reload >/dev/null 2>&1 || :
109 # Tell systemd that unitfiles have been removed.
111 /usr/bin/systemctl daemon-reload >/dev/null 2>&1 || :
113 rm -f /boot/initrd-plymouth.img
117 /usr/lib/plymouth/plymouth-generate-initrd >/dev/null 2>&1
125 package %{name}-devel
128 requires = plymouth-libs = %{thisver}
131 package %{name}-scripts
132 summary = Plymouth related scripts.
134 This package contains scripts that help to integrate
135 Plymouth with the system.
138 prerequires = /usr/bin/plymouth
141 plymouth = %{thisver}
150 %{sbindir}/plymouth-set-default-theme
151 %{sbindir}/plymouth-set-default-plugin
152 /usr/lib/plymouth/plymouth-update-initrd
153 /usr/lib/plymouth/plymouth-generate-initrd
154 /usr/lib/plymouth/plymouth-populate-initrd
158 package %{name}-plugin-label
159 summary = Plymouth label plugin.
161 This package contains the label plugin for Plymouth.
162 It provides the ability to render text on graphical boot
163 splashes using pango and cairo.
167 %{libdir}/plymouth/label.so
171 package %{name}-plugin-fade-throbber
172 summary = Plymouth fade-throbber plugin.
174 The package contains the fade-throbber plugin for Plymouth.
175 It features a centered image that fades in and out while
176 other images pulsate around during system boot up.
184 %{libdir}/plymouth/fade-throbber.so
188 package %{name}-plugin-throbgress
189 summary = Plymouth throbgress plugin.
191 This package contains the throbgress plugin for Plymouth.
192 It features a centered logo and animated spinner that spins
193 repeatedly while a progress bar advances at the bootom of the
202 %{libdir}/plymouth/throbgress.so
206 package %{name}-plugin-space-flares
207 summary = Plymouth space-flares plugin.
209 This package contains the space-flares plugin for Plymouth.
210 It features a corner image with animated flares.
218 %{libdir}/plymouth/space-flares.so
222 package %{name}-plugin-two-step
223 summary = Plymouth two-step plugin.
225 This package contains the two-step plugin for Plymouth.
226 It features a corner image with animated flares.
234 %{libdir}/plymouth/two-step.so
238 package %{name}-plugin-script
240 %{libdir}/plymouth/script.so
245 summary = The plymouth "%{theme_name}" theme.
247 This package contains the "%{theme_name}" boot
248 splash theme for plymouth.
252 %{name}-scripts = %{thisver}
256 %{datadir}/plymouth/themes/%{theme_name}
260 if [ "$(%{sbindir}/plymouth-set-default-theme)" = "%{theme_name}" ]; then
261 %{sbindir}/plymouth-set-default-theme --reset
262 /usr/lib/plymouth/plymouth-generate-initrd
267 package %{name}-theme-fade-in
271 requires += %{name}-plugin-fade-throbber=%{thisver}
274 package %{name}-theme-spinner
278 requires += %{name}-plugin-two-step=%{thisver}
281 package %{name}-theme-spinfinity
283 theme_name = spinfinity
285 requires += %{name}-plugin-throbgress=%{thisver}
288 package %{name}-theme-script
292 requires += %{name}-plugin-script=%{thisver}
295 package %{name}-theme-solar
299 requires += %{name}-plugin-space-flares=%{thisver}
302 package %{name}-debuginfo