rpms/plymouth/devel plymouth.spec,1.17,1.18

Ray Strode (rstrode) fedora-extras-commits at redhat.com
Tue Jul 1 21:39:23 UTC 2008


Author: rstrode

Update of /cvs/pkgs/rpms/plymouth/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv21151

Modified Files:
	plymouth.spec 
Log Message:
- Pull in spinfinity by default.  This whole "figure out
  which plugin to use" set of scripts and scriptlets
  needs work.  We need to separate distro default from
  user choice.



Index: plymouth.spec
===================================================================
RCS file: /cvs/pkgs/rpms/plymouth/devel/plymouth.spec,v
retrieving revision 1.17
retrieving revision 1.18
diff -u -r1.17 -r1.18
--- plymouth.spec	1 Jul 2008 19:27:11 -0000	1.17
+++ plymouth.spec	1 Jul 2008 21:38:40 -0000	1.18
@@ -1,7 +1,7 @@
 Summary: Plymouth Graphical Boot Animation and Logger
 Name: plymouth
 Version: 0.5.0
-Release: 1%{?dist}
+Release: 2%{?dist}
 License: GPLv2+
 Group: System Environment/Base
 Source0: http://freedesktop.org/software/plymouth/releases/%{name}-%{version}.tar.bz2
@@ -13,6 +13,7 @@
 
 Requires: system-logos >= 9.0.1
 Requires: elfutils
+Requires: system-plymouth-plugin >= %{version}-%{release}
 
 %description
 Plymouth provides an attractive graphical boot animation in
@@ -55,6 +56,7 @@
 Group: System Environment/Base
 Requires: %name = %{version}-%{release}
 BuildRequires: libpng-devel
+Provides: system-plymouth-plugin = %{version}-%{release}
 
 %description plugin-spinfinity
 This package contains the "Spinfinity" boot splash plugin for
@@ -87,7 +89,12 @@
 
 %postun
 if [ $1 -eq 0 ]; then
-	rm %{_libdir}/plymouth/default.so
+    rm -f %{_libdir}/plymouth/default.so
+fi
+
+%post
+if [ $1 -eq 1 ]; then
+    %{_sbindir}/plymouth-set-default-plugin text
 fi
 
 %post libs -p /sbin/ldconfig
@@ -101,7 +108,7 @@
 %postun plugin-spinfinity
 if [ $1 -eq 0 ]; then
     if [ "$(%{_sbindir}/plymouth-set-default-plugin)" == "spinfinity" ]; then
-        %{_sbindir}/plymouth-set-default-plugin --reset
+        %{_sbindir}/plymouth-set-default-plugin text
     fi
 fi
 
@@ -163,7 +170,13 @@
 %{_libdir}/plymouth/spinfinity.so
 
 %changelog
-* Thu Jun 26 2008 Ray Strode <rstrode at redhat.com> - 0.5.0-1
+* Tue Jul  1 2008 Ray Strode <rstrode at redhat.com> - 0.5.0-2
+- Pull in spinfinity by default.  This whole "figure out
+  which plugin to use" set of scripts and scriptlets
+  needs work.  We need to separate distro default from
+  user choice.
+
+* Thu Jul  1 2008 Ray Strode <rstrode at redhat.com> - 0.5.0-1
 - Add new client "ask-for-password" command which feeds
   the user input to a program instead of standard output,
   and loops when the program returns non-zero exit status.




More information about the fedora-extras-commits mailing list