2 # - revisit subpackages
3 # - fix: Requires: /bin/bash
4 # - integrate with geninitrd
5 # - pldize recent update
7 Summary: Graphical Boot Animation and Logger
8 Summary(pl.UTF-8): Graficzna animacja i logowanie startu systemu
14 #Source0: http://www.freedesktop.org/software/plymouth/releases/%{name}-%{version}.%{snap}.tar.bz2
15 #Source0: %{name}-%{version}.%{snap}.tar.bz2
16 Source0: http://pkgs.fedoraproject.org/repo/pkgs/plymouth/%{name}-%{version}.tar.bz2/b083d040a3a92a78fac96049e31ea952/plymouth-%{version}.tar.bz2
17 # Source0-md5: b083d040a3a92a78fac96049e31ea952
18 Source1: %{name}-logo.png
19 # Source1-md5: 6b38a868585adfd3a96a4ad16973c1f8
20 Source2: %{name}.tmpfiles
21 Source3: charge.%{name}
22 Source4: boot-duration
23 Source5: %{name}-set-default-plugin
24 Source6: %{name}-update-initrd
25 URL: http://www.freedesktop.org/wiki/Software/Plymouth
26 #BuildRequires: autoconf >= 2.50
27 #BuildRequires: automake
28 BuildRequires: cairo-devel
29 BuildRequires: gtk+2-devel >= 2:2.12.0
30 BuildRequires: libdrm-devel
31 BuildRequires: libpng-devel >= 1.2.16
32 #BuildRequires: libtool >= 2:2.0
33 BuildRequires: pango-devel >= 1:1.21.0
34 BuildRequires: pkgconfig
35 Requires: %{name}-graphics-libs = %{version}-%{release}
36 Requires(post): %{name}-scripts = %{version}-%{release}
37 Obsoletes: plymouth-gdm-hooks
38 Obsoletes: plymouth-utils
39 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
41 %define plymouthdaemon_execdir /sbin
42 %define plymouthclient_execdir /bin
43 %define plymouth_libdir /%{_lib}
46 Plymouth provides an attractive graphical boot animation in place of
47 the text messages that normally get shown. Text messages are instead
48 redirected to a log file for viewing after boot.
50 %description -l pl.UTF-8
51 Plymouth zapewnia atrakcyjną animację w trakcie startu systemu zamiast
52 zwykle wyświetlanych komunikatów tekstowych. Komunikaty tekstowe
53 zamiast tego są przekierowywane do logu, który można obejrzeć po
57 Summary: Plymouth libraries
58 Summary(pl.UTF-8): Biblioteki Plymouth
62 This package contains the libply and libplybootsplash libraries used
65 %description libs -l pl.UTF-8
66 Ten pakiet zawiera biblioteki libply i libplybootsplash używane przez
70 Summary: Header files for writing Plymouth splash plugins
71 Summary(pl.UTF-8): Pliki nagłówkowe do tworzenia wtyczek graficznych Plymouth
72 Group: Development/Libraries
73 Requires: %{name}-graphics-libs = %{version}-%{release}
76 This package contains the header files for libply and libplybootsplash
77 libraries needed to develop 3rd party splash plugins for Plymouth.
79 %description devel -l pl.UTF-8
80 Ten pakiet zawiera pliki nagłówkowe bibliotek libply i
81 libplybootsplash, potrzebne do tworzenia wtyczek graficznych Plymouth.
84 Summary: Plymouth default theme
86 Requires: %{name}(system-theme) = %{version}-%{release}
87 Provides: %{name}-system-plugin = %{version}-%{release}
88 Obsoletes: plymouth-system-plugin < %{version}-%{release}
89 Obsoletes: rhgb < 1:10.0.0
91 %description system-theme
92 This metapackage tracks the current distribution default theme.
95 Summary: Plymouth core libraries
96 Group: Development/Libraries
97 Conflicts: %{name}-libs < 0.8.4-0.20120319.1
99 %description core-libs
100 This package contains the libply and libply-splash-core libraries used
103 %package graphics-libs
104 Summary: Plymouth graphics libraries
105 Group: Development/Libraries
106 Requires: %{name}-core-libs = %{version}-%{release}
107 Provides: %{name}-graphics-libs = %{version}-%{release}
108 Obsoletes: plymouth-libs < %{version}-%{release}
109 Conflicts: %{name}-libs < 0.8.4-0.20120319.1
111 %description graphics-libs
112 This package contains the libply-splash-graphics library used by
113 graphical Plymouth splashes.
116 Summary: Plymouth related scripts
117 Summary(pl.UTF-8): Skrypty pomocnicze do Plymouth
118 Group: Applications/System
119 Requires: %{name} = %{version}-%{release}
127 This package contains scripts that help integrate Plymouth with the
130 %description scripts -l pl.UTF-8
131 Ten pakiet zawiera skrypty pomagające zintegrować Plymouth z systemem.
133 %package plugin-label
134 Summary: Plymouth label plugin
136 Requires: %{name}-graphics-libs = %{version}-%{release}
138 %description plugin-label
139 This package contains the label control plugin for Plymouth. It
140 provides the ability to render text on graphical boot splashes using
143 %package plugin-fade-throbber
144 Summary: Plymouth "Fade-Throbber" plugin
146 Requires: %{name}-graphics-libs = %{version}-%{release}
148 %description plugin-fade-throbber
149 This package contains the "Fade-In" boot splash plugin for Plymouth.
150 It features a centered image that fades in and out while other images
151 pulsate around during system boot up.
153 %package theme-fade-in
154 Summary: Plymouth "Fade-In" theme
156 Requires: %{name}-plugin-fade-throbber = %{version}-%{release}
157 Requires(post): %{name}-scripts = %{version}-%{release}
158 Obsoletes: plymouth-plugin-fade-in
160 %description theme-fade-in
161 This package contains the "Fade-In" boot splash theme for Plymouth. It
162 features a centered logo that fades in and out while stars twinkle
163 around the logo during system boot up.
165 %package plugin-throbgress
166 Summary: Plymouth "Throbgress" plugin
168 Requires: %{name}-graphics-libs = %{version}-%{release}
169 Requires: %{name}-plugin-label = %{version}-%{release}
171 %description plugin-throbgress
172 This package contains the "throbgress" boot splash plugin for
173 Plymouth. It features a centered logo and animated spinner that spins
174 repeatedly while a progress bar advances at the bottom of the screen.
176 %package theme-spinfinity
177 Summary: Plymouth "Spinfinity" theme
179 Requires: %{name}-plugin-throbgress = %{version}-%{release}
180 Requires(post): %{name}-scripts = %{version}-%{release}
181 Obsoletes: plymouth-plugin-spinfinity
183 %description theme-spinfinity
184 This package contains the "Spinfinity" boot splash theme for Plymouth.
185 It features a centered logo and animated spinner that spins in the
186 shape of an infinity sign.
188 %package plugin-space-flares
189 Summary: Plymouth "space-flares" plugin
191 Requires: %{name}-graphics-libs = %{version}-%{release}
192 Requires: %{name}-plugin-label = %{version}-%{release}
194 %description plugin-space-flares
195 This package contains the "space-flares" boot splash plugin for
196 Plymouth. It features a corner image with animated flares.
199 Summary: Plymouth "Solar" theme
201 Requires: %{name}-plugin-space-flares = %{version}-%{release}
202 Requires(post): %{name}-scripts = %{version}-%{release}
203 Obsoletes: plymouth-plugin-solar
205 %description theme-solar
206 This package contains the "Solar" boot splash theme for Plymouth. It
207 features a blue flamed sun with animated solar flares.
209 %package plugin-two-step
210 Summary: Plymouth "two-step" plugin
212 Requires: %{name}-graphics-libs = %{version}-%{release}
213 Requires: %{name}-plugin-label = %{version}-%{release}
215 %description plugin-two-step
216 This package contains the "two-step" boot splash plugin for Plymouth.
217 It features a two phased boot process that starts with a progressing
218 animation synced to boot time and finishes with a short, fast one-shot
221 %package theme-charge
222 Summary: Plymouth "Charge" plugin
224 Requires: %{name}-plugin-two-step = %{version}-%{release}
225 Requires(post): %{name}-scripts = %{version}-%{release}
226 Provides: %{name}(system-theme) = %{version}-%{release}
228 %description theme-charge
229 This package contains the "charge" boot splash theme for Plymouth. It
230 features the shadowy hull of a Fedora logo charge up and and finally
231 burst into full form.
233 %package plugin-script
234 Summary: Plymouth "script" plugin
236 Requires: %{name}-graphics-libs = %{version}-%{release}
238 %description plugin-script
239 This package contains the "script" boot splash plugin for Plymouth. It
240 features an extensible, scriptable boot splash language that
241 simplifies the process of designing custom boot splash themes.
243 %package theme-script
244 Summary: Plymouth "Script" plugin
246 Requires: %{name}-plugin-script = %{version}-%{release}
247 Requires(post): %{_sbindir}/plymouth-set-default-theme
249 %description theme-script
250 This package contains the "script" boot splash theme for Plymouth. It
251 it is a simple example theme the uses the "script" plugin.
253 %package theme-spinner
254 Summary: Plymouth "Spinner" theme
256 Requires: %{name}-plugin-two-step = %{version}-%{release}
257 Requires(post): %{name}-scripts = %{version}-%{release}
259 %description theme-spinner
260 This package contains the "spinner" boot splash theme for Plymouth. It
261 features a small spinner on a dark background.
266 # Change the default theme
267 sed -i -e 's/fade-in/charge/g' src/plymouthd.defaults
271 --disable-silent-rules \
274 --enable-gdm-transition \
275 --enable-systemd-integration \
277 --with-background-start-color-stop=0x003194 \
278 --with-background-end-color-stop=0x000063 \
279 --with-background-color=0x0063c6 \
280 --with-logo=%{_pixmapsdir}/plymouth-logo.png \
281 --with-system-root-install
286 rm -rf $RPM_BUILD_ROOT
287 install -d $RPM_BUILD_ROOT{%{_pixmapsdir},%{systemdtmpfilesdir}}
289 DESTDIR=$RPM_BUILD_ROOT
291 install -d $RPM_BUILD_ROOT%{_localstatedir}/lib/plymouth
292 cp -p %{SOURCE4} $RPM_BUILD_ROOT%{_datadir}/plymouth/default-boot-duration
293 > $RPM_BUILD_ROOT%{_localstatedir}/lib/plymouth/boot-duration
295 # FC: Add charge, our new default
296 install -d $RPM_BUILD_ROOT%{_datadir}/plymouth/themes/charge
297 cp %{SOURCE3} $RPM_BUILD_ROOT%{_datadir}/plymouth/themes/charge
298 cp $RPM_BUILD_ROOT%{_datadir}/plymouth/themes/glow/{box,bullet,entry,lock}.png $RPM_BUILD_ROOT%{_datadir}/plymouth/themes/charge
300 # FC: Glow isn't quite ready for primetime
301 rm -rf $RPM_BUILD_ROOT%{_datadir}/plymouth/glow
302 rm -f $RPM_BUILD_ROOT%{_libdir}/plymouth/glow.so
303 # FC: Drop glow, it's not very Fedora-y
304 rm -rf $RPM_BUILD_ROOT%{_datadir}/plymouth/themes/glow
306 # FC: Override plymouth-update-initrd to work dracut or mkinitrd
307 cp -p %{SOURCE6} $RPM_BUILD_ROOT%{_libdir}/plymouth/plymouth-update-initrd
309 # FC: Add compat script for upgrades
310 install -p %{SOURCE5} $RPM_BUILD_ROOT%{_sbindir}
312 %{__rm} $RPM_BUILD_ROOT{%{plymouth_libdir},%{_libdir}}/*.la \
313 $RPM_BUILD_ROOT%{_libdir}/plymouth/*.la \
314 $RPM_BUILD_ROOT%{_libdir}/plymouth/renderers/*.la
316 # Temporary symlink until rc.sysinit is fixed
317 ln -sf /bin/plymouth $RPM_BUILD_ROOT%{_bindir}/plymouth
319 install -d $RPM_BUILD_ROOT%{_localstatedir}/lib/plymouth
321 cp -p %{SOURCE1} $RPM_BUILD_ROOT%{_pixmapsdir}/plymouth-logo.png
322 cp -p %{SOURCE2} $RPM_BUILD_ROOT%{systemdtmpfilesdir}/%{name}.conf
325 rm -rf $RPM_BUILD_ROOT
328 if [ $1 -eq 0 ]; then
329 rm -f %{_libdir}/plymouth/default.so
332 %post core-libs -p /sbin/ldconfig
333 %postun core-libs -p /sbin/ldconfig
334 %post graphics-libs -p /sbin/ldconfig
335 %postun graphics-libs -p /sbin/ldconfig
338 %defattr(644,root,root,755)
339 %doc AUTHORS README TODO
340 %attr(755,root,root) %{_bindir}/rhgb-client
341 %dir %{_sysconfdir}/plymouth
342 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/plymouth/plymouthd.conf
343 %{_mandir}/man8/plymouth.8*
344 %dir %{_datadir}/plymouth
345 %dir %{_datadir}/plymouth/themes
346 %dir %{_datadir}/plymouth/themes/details
347 %dir %{_datadir}/plymouth/themes/text
348 %{_datadir}/plymouth/plymouthd.defaults
349 %{_datadir}/plymouth/default-boot-duration
350 %dir %{_libdir}/plymouth
351 %dir %{_libdir}/plymouth/renderers
352 %dir %{_localstatedir}/lib/plymouth
353 %attr(755,root,root) %{plymouthdaemon_execdir}/plymouthd
354 %attr(755,root,root) %{plymouthclient_execdir}/plymouth
355 %attr(755,root,root) %{_bindir}/plymouth
356 %attr(755,root,root) %{_libdir}/plymouth/details.so
357 %attr(755,root,root) %{_libdir}/plymouth/text.so
358 %attr(755,root,root) %{_libdir}/plymouth/renderers/drm.so
359 %attr(755,root,root) %{_libdir}/plymouth/renderers/frame-buffer.so
360 %{_datadir}/plymouth/themes/details/details.plymouth
361 %{_datadir}/plymouth/themes/text/text.plymouth
362 %{systemdtmpfilesdir}/%{name}.conf
363 %{_localstatedir}/run/plymouth
364 %{_localstatedir}/spool/plymouth
365 %{_pixmapsdir}/plymouth-logo.png
366 %ghost %{_localstatedir}/lib/plymouth/boot-duration
369 %defattr(644,root,root,755)
370 %attr(755,root,root) %{plymouth_libdir}/libply.so.*.*.*
371 %attr(755,root,root) %ghost %{plymouth_libdir}/libply.so.2
372 %attr(755,root,root) %{plymouth_libdir}/libply-splash-core.so.*.*.*
373 %attr(755,root,root) %ghost %{plymouth_libdir}/libply-splash-core.so.2
374 %attr(755,root,root) %{_libdir}/libply-boot-client.so.*.*.*
375 %attr(755,root,root) %ghost %{_libdir}/libply-boot-client.so.2
376 %dir %{_libdir}/plymouth
379 %defattr(644,root,root,755)
380 %attr(755,root,root) %{_libdir}/libply-splash-graphics.so.*.*.*
381 %attr(755,root,root) %ghost %{_libdir}/libply-splash-graphics.so.2
383 %attr(755,root,root) %{_libdir}/plymouth/renderers/x11.so
386 %defattr(644,root,root,755)
387 %attr(755,root,root) %{plymouth_libdir}/libply.so
388 %attr(755,root,root) %{plymouth_libdir}/libply-splash-core.so
389 %attr(755,root,root) %{_libdir}/libply-boot-client.so
390 %attr(755,root,root) %{_libdir}/libply-splash-graphics.so
391 %{_includedir}/plymouth-1
392 %{_pkgconfigdir}/ply-boot-client.pc
393 %{_pkgconfigdir}/ply-splash-core.pc
394 %{_pkgconfigdir}/ply-splash-graphics.pc
397 %defattr(644,root,root,755)
398 %attr(755,root,root) %{_sbindir}/plymouth-set-default-plugin
399 %attr(755,root,root) %{_sbindir}/plymouth-set-default-theme
400 %attr(755,root,root) %{_libdir}/plymouth/plymouth-generate-initrd
401 %attr(755,root,root) %{_libdir}/plymouth/plymouth-populate-initrd
402 %attr(755,root,root) %{_libdir}/plymouth/plymouth-update-initrd
405 %defattr(644,root,root,755)
406 %attr(755,root,root) %{_libdir}/plymouth/label.so
408 %files plugin-fade-throbber
409 %defattr(644,root,root,755)
410 %attr(755,root,root) %{_libdir}/plymouth/fade-throbber.so
413 %defattr(644,root,root,755)
414 %dir %{_datadir}/plymouth/themes/fade-in
415 %{_datadir}/plymouth/themes/fade-in/bullet.png
416 %{_datadir}/plymouth/themes/fade-in/entry.png
417 %{_datadir}/plymouth/themes/fade-in/lock.png
418 %{_datadir}/plymouth/themes/fade-in/star.png
419 %{_datadir}/plymouth/themes/fade-in/fade-in.plymouth
422 %defattr(644,root,root,755)
423 %dir %{_datadir}/plymouth/themes/spinner
424 %{_datadir}/plymouth/themes/spinner/*.png
425 %{_datadir}/plymouth/themes/spinner/spinner.plymouth
427 %files plugin-throbgress
428 %defattr(644,root,root,755)
429 %attr(755,root,root) %{_libdir}/plymouth/throbgress.so
431 %files theme-spinfinity
432 %defattr(644,root,root,755)
433 %dir %{_datadir}/plymouth/themes/spinfinity
434 %{_datadir}/plymouth/themes/spinfinity/box.png
435 %{_datadir}/plymouth/themes/spinfinity/bullet.png
436 %{_datadir}/plymouth/themes/spinfinity/entry.png
437 %{_datadir}/plymouth/themes/spinfinity/lock.png
438 %{_datadir}/plymouth/themes/spinfinity/throbber-[0-3][0-9].png
439 %{_datadir}/plymouth/themes/spinfinity/spinfinity.plymouth
441 %files plugin-space-flares
442 %defattr(644,root,root,755)
443 %attr(755,root,root) %{_libdir}/plymouth/space-flares.so
446 %defattr(644,root,root,755)
447 %dir %{_datadir}/plymouth/themes/solar
448 %{_datadir}/plymouth/themes/solar/*.png
449 %{_datadir}/plymouth/themes/solar/solar.plymouth
451 %files plugin-two-step
452 %defattr(644,root,root,755)
453 %attr(755,root,root) %{_libdir}/plymouth/two-step.so
456 %defattr(644,root,root,755)
457 %dir %{_datadir}/plymouth/themes/charge
458 %{_datadir}/plymouth/themes/charge/*.png
459 %{_datadir}/plymouth/themes/charge/charge.plymouth
462 %defattr(644,root,root,755)
463 %attr(755,root,root) %{_libdir}/plymouth/script.so
466 %defattr(644,root,root,755)
467 %dir %{_datadir}/plymouth/themes/script
468 %{_datadir}/plymouth/themes/script/*.png
469 %{_datadir}/plymouth/themes/script/script.script
470 %{_datadir}/plymouth/themes/script/script.plymouth
473 %defattr(644,root,root,755)