From 027a45334ad04e54de61b9eff2425dfe1971896e Mon Sep 17 00:00:00 2001 From: Ray Strode Date: Wed, 23 Mar 2011 12:16:21 -0400 Subject: [PATCH] Update file list --- plymouth.spec | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) diff --git a/plymouth.spec b/plymouth.spec index b9973fc..fe013a5 100644 --- a/plymouth.spec +++ b/plymouth.spec @@ -223,6 +223,16 @@ This package contains the "script" boot splash theme for Plymouth. It it is a simple example theme the uses the "script" plugin. +%package theme-spinner +Summary: Plymouth "Spinner" theme +Group: System Environment/Base +Requires: %{name}-plugin-two-step = %{version}-%{release} +Requires(post): plymouth-scripts + +%description theme-spinner +This package contains the "spinner" boot splash theme for +Plymouth. It features a small spinner on a dark background. + %prep %setup -q @@ -313,6 +323,15 @@ if [ $1 -eq 0 ]; then fi fi +%postun theme-spinner +export LIB=%{_lib} +if [ $1 -eq 0 ]; then + if [ "$(%{_sbindir}/plymouth-set-default-theme)" == "spinner" ]; then + %{_sbindir}/plymouth-set-default-theme --reset + %{_libexecdir}/plymouth/plymouth-generate-initrd + fi +fi + %postun theme-solar export LIB=%{_lib} if [ $1 -eq 0 ]; then @@ -419,6 +438,12 @@ fi %{_datadir}/plymouth/themes/fade-in/star.png %{_datadir}/plymouth/themes/fade-in/fade-in.plymouth +%files theme-spinner +%defattr(-, root, root) +%dir %{_datadir}/plymouth/themes/spinner +%{_datadir}/plymouth/themes/spinner/*.png +%{_datadir}/plymouth/themes/spinner/spinner.plymouth + %files plugin-throbgress %defattr(-, root, root) %{_libdir}/plymouth/throbgress.so