[PATCH 2/2] Split off olpc-bootanim-tools package

martin.langhoff at gmail.com martin.langhoff at gmail.com
Thu Mar 17 13:25:44 EDT 2011


From: Martin Langhoff <martin at laptop.org>

So bootanim tools can be installed for olpc-os-builder
---
 olpc-bootanim.spec |   15 +++++++++++----
 1 files changed, 11 insertions(+), 4 deletions(-)

diff --git a/olpc-bootanim.spec b/olpc-bootanim.spec
index f880491..429b98f 100644
--- a/olpc-bootanim.spec
+++ b/olpc-bootanim.spec
@@ -21,6 +21,14 @@ Provides:			plymouth = 0.7.99
 OLPC's optimized boot animation for the XO laptop, also including regulatory
 shutdown warning. Not recommended for use on regular systems.
 
+%package tools
+Summary: Tools to customize OLPC XO boot animation
+Group: System Environment/Base
+# does not require %{name}
+
+%description tools
+Tools used to prepare OLPC XO boot animation
+images.
 
 %prep
 %setup -q
@@ -37,13 +45,11 @@ make install DESTDIR=$RPM_BUILD_ROOT
 mkdir -p $RPM_BUILD_ROOT/bin
 ln -s ../usr/bin/plymouth $RPM_BUILD_ROOT/bin/plymouth
 
-
 %post
 /sbin/chkconfig --add 0-boot-anim-start
 /sbin/chkconfig --add z-boot-anim-stop
 /sbin/chkconfig --add ul-warning
 
-
 %preun
 if [ $1 -eq 0 ]; then
   /sbin/chkconfig --del 0-boot-anim-start
@@ -51,11 +57,9 @@ if [ $1 -eq 0 ]; then
   /sbin/chkconfig --del ul-warning
 fi
 
-
 %clean
 rm -rf $RPM_BUILD_ROOT
 
-
 %files
 %defattr(-,root,root,-)
 %doc README COPYING
@@ -72,5 +76,8 @@ rm -rf $RPM_BUILD_ROOT
 %{_prefix}/share/boot-anim/
 /bin/plymouth
 
+%files tools
+/usr/bin/ppmto565.py
+/usr/bin/calcdelta
 
 %changelog
-- 
1.6.2.5




More information about the Devel mailing list