Name: olpc-bootanim Version: 2.12 Release: 5.dxo1%{?dist} Summary: OLPC XO boot animation License: GPLv2+ Group: System Environment/Base URL: http://dev.laptop.org/git?p=users/dsd/olpc-bootanim Source0: http://dev.laptop.org/~dsd/olpc-bootanim/%{name}-%{version}.tar.bz2 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) ExclusiveArch: %{ix86} BuildRequires: python, netpbm-progs Requires: initscripts Requires(post): /sbin/chkconfig Requires(preun): /sbin/chkconfig Obsoletes: plymouth < 0.7.99 Provides: plymouth = 0.7.99 %description OLPC's optimized boot animation for the XO laptop, also including regulatory shutdown warning. Not recommended for use on regular systems. %prep %setup -q %build %configure make %{?_smp_mflags} %install rm -rf $RPM_BUILD_ROOT 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 /sbin/chkconfig --del z-boot-anim-stop /sbin/chkconfig --del ul-warning fi %clean rm -rf $RPM_BUILD_ROOT %files %defattr(-,root,root,-) %doc README COPYING %{_sysconfdir}/rc.d/init.d/0-boot-anim-start %{_sysconfdir}/rc.d/init.d/z-boot-anim-stop %{_sysconfdir}/rc.d/init.d/ul-warning %{_sbindir}/boot-anim-start %{_sbindir}/boot-anim-stop %{_sbindir}/boot-anim-helper %{_sbindir}/boot-anim-running %{_sbindir}/ul-warning %{_bindir}/plymouth %{_prefix}/share/boot-anim/ /bin/plymouth %changelog