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
32 pkgconfig(libdrm_radeon)
33 pkgconfig(libdrm_nouveau)
38 enable_libdrm_intel = 0
40 if "%{DISTRO_MACHINE}" == "x86_64"
41 enable_libdrm_intel = 1
42 requires += pkgconfig(libdrm_intel)
45 if "%{DISTRO_MACHINE}" == "i686"
46 enable_libdrm_intel = 1
47 requires += pkgconfig(libdrm_intel)
50 CFLAGS += -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include
52 configure_options += \
53 --libexecdir=/usr/lib \
56 --with-logo=%{datadir}/pixmaps/system-logo-white.png \
57 --with-background-start-color-stop=0x880400 \
58 --with-background-end-color-stop=0x000000 \
59 --with-background-color=0x880400 \
60 --disable-gdm-transition \
61 --enable-systemd-integration \
62 --without-system-root-install \
63 --without-rhgb-compat-link \
66 if "%{enable_libdrm_intel}" == "0"
67 configure_options += --disable-libdrm_intel
75 mkdir -pv %{BUILDROOT}%{datadir}/plymouth
76 mkdir -pv %{BUILDROOT}%{localstatedir}/lib/plymouth
77 cp -vf %{DIR_SOURCE}/boot-duration \
78 %{BUILDROOT}%{datadir}/plymouth/default-boot-duration
79 cp -vf %{DIR_SOURCE}/boot-duration \
80 %{BUILDROOT}%{localstatedir}/lib/plymouth
82 # Override plymouth-update-initrd to work dracut or mkinitrd
83 cp -vf %{DIR_SOURCE}/plymouth-update-initrd \
84 %{BUILDROOT}/usr/lib/plymouth/plymouth-update-initrd
85 chmod 755 %{BUILDROOT}/usr/lib/plymouth/plymouth-update-initrd
98 %{name}-libs = %{thisver}
99 %{name}-scripts = %{thisver}
100 %{name}-system-theme = %{thisver}
105 systemd-units < 185-3
109 /etc/plymouth/plymouthd.conf
113 if [ ! -f "%{localstatedir}/lib/plymouth/boot-duration" ]; then
114 cp -f %{datadir}/plymouth/default-boot-duration \
115 %{localstatedir}/lib/plymouth/boot-duration
118 # Just search for new unit files that were just installed.
119 /usr/bin/systemctl daemon-reload >/dev/null 2>&1 || :
122 # Reload systemd after update.
124 /usr/bin/systemctl daemon-reload >/dev/null 2>&1 || :
127 # Tell systemd that unitfiles have been removed.
129 /usr/bin/systemctl daemon-reload >/dev/null 2>&1 || :
133 /usr/lib/plymouth/plymouth-generate-initrd >/dev/null 2>&1
137 rm -f /boot/initrd-plymouth.img
145 package %{name}-devel
148 requires = plymouth-libs = %{thisver}
151 package %{name}-scripts
152 summary = Plymouth related scripts.
154 This package contains scripts that help to integrate
155 Plymouth with the system.
158 prerequires = /usr/bin/plymouth
161 plymouth = %{thisver}
171 %{sbindir}/plymouth-set-default-theme
172 %{sbindir}/plymouth-set-default-plugin
173 /usr/lib/plymouth/plymouth-update-initrd
174 /usr/lib/plymouth/plymouth-generate-initrd
175 /usr/lib/plymouth/plymouth-populate-initrd
179 package %{name}-plugin-label
180 summary = Plymouth label plugin.
182 This package contains the label plugin for Plymouth.
183 It provides the ability to render text on graphical boot
184 splashes using pango and cairo.
188 %{libdir}/plymouth/label.so
192 package %{name}-plugin-fade-throbber
193 summary = Plymouth fade-throbber plugin.
195 The package contains the fade-throbber plugin for Plymouth.
196 It features a centered image that fades in and out while
197 other images pulsate around during system boot up.
205 %{libdir}/plymouth/fade-throbber.so
209 package %{name}-plugin-throbgress
210 summary = Plymouth throbgress plugin.
212 This package contains the throbgress plugin for Plymouth.
213 It features a centered logo and animated spinner that spins
214 repeatedly while a progress bar advances at the bootom of the
223 %{libdir}/plymouth/throbgress.so
227 package %{name}-plugin-space-flares
228 summary = Plymouth space-flares plugin.
230 This package contains the space-flares plugin for Plymouth.
231 It features a corner image with animated flares.
239 %{libdir}/plymouth/space-flares.so
243 package %{name}-plugin-two-step
244 summary = Plymouth two-step plugin.
246 This package contains the two-step plugin for Plymouth.
247 It features a corner image with animated flares.
255 %{libdir}/plymouth/two-step.so
259 package %{name}-plugin-script
261 %{libdir}/plymouth/script.so
266 summary = The plymouth "%{theme_name}" theme.
268 This package contains the "%{theme_name}" boot
269 splash theme for plymouth.
273 %{name}-scripts = %{thisver}
277 %{datadir}/plymouth/themes/%{theme_name}
281 if [ "$(%{sbindir}/plymouth-set-default-theme)" = %{theme_name}" ]; then
282 %{sbindir}/plymouth-set-default-theme --reset
283 /usr/lib/plymouth/plymouth-generate-initrd
288 package %{name}-theme-fade-in
292 requires += %{name}-plugin-fade-throbber=%{thisver}
295 package %{name}-theme-spinner
299 requires += %{name}-plugin-two-step=%{thisver}
302 package %{name}-theme-spinfinity
304 theme_name = spinfinity
306 requires += %{name}-plugin-throbgress=%{thisver}
309 package %{name}-theme-script
313 requires += %{name}-plugin-script=%{thisver}
316 package %{name}-theme-solar
320 requires += %{name}-plugin-space-flares=%{thisver}
323 package %{name}-system-theme
324 summary = Plymouth default theme.
326 This metapackage tracks the current distribution default theme.
335 # Don't package any files.