[plymouth] Update file list

Ray Strode rstrode at fedoraproject.org
Tue Aug 9 18:58:56 UTC 2011


commit 027a45334ad04e54de61b9eff2425dfe1971896e
Author: Ray Strode <rstrode at redhat.com>
Date:   Wed Mar 23 12:16:21 2011 -0400

    Update file list

 plymouth.spec |   25 +++++++++++++++++++++++++
 1 files changed, 25 insertions(+), 0 deletions(-)
---
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


More information about the scm-commits mailing list