Use plymouth-theme-script by default. #187

This commit is contained in:
Tomasz Sterna 2011-04-06 13:46:11 +02:00
parent 6a84564524
commit 8e692ca4dc
2 changed files with 10 additions and 0 deletions

View File

@ -0,0 +1,4 @@
# Distribution defaults. Changes to this file will get overwritten during
# upgrades.
[Daemon]
Theme=script

View File

@ -17,6 +17,7 @@ Conflicts: anaconda-images <= 10
Conflicts: redhat-artwork <= 5.0.5 Conflicts: redhat-artwork <= 5.0.5
# For _kde4_appsdir macro: # For _kde4_appsdir macro:
BuildRequires: kde-filesystem BuildRequires: kde-filesystem
Requires: plymouth-theme-script
%description %description
@ -53,17 +54,22 @@ mkdir -p $RPM_BUILD_ROOT%{_datadir}/plymouth/themes/charge/
for i in plymouth/charge/* ; do for i in plymouth/charge/* ; do
install -p -m 644 $i $RPM_BUILD_ROOT%{_datadir}/plymouth/themes/charge/ install -p -m 644 $i $RPM_BUILD_ROOT%{_datadir}/plymouth/themes/charge/
done done
install -p -m 644 plymouth/plymouthd.defaults $RPM_BUILD_ROOT%{_datadir}/plymouth
(cd anaconda; make DESTDIR=$RPM_BUILD_ROOT install) (cd anaconda; make DESTDIR=$RPM_BUILD_ROOT install)
%clean %clean
rm -rf $RPM_BUILD_ROOT rm -rf $RPM_BUILD_ROOT
%post
/usr/sbin/plymouth-set-default-theme script
%files %files
%defattr(-, root, root) %defattr(-, root, root)
%doc COPYING COPYING-kde-logo %doc COPYING COPYING-kde-logo
%{_datadir}/firstboot/themes/* %{_datadir}/firstboot/themes/*
%{_datadir}/anaconda/pixmaps/* %{_datadir}/anaconda/pixmaps/*
%{_datadir}/plymouth/plymouthd.defaults
%{_datadir}/plymouth/themes/charge/* %{_datadir}/plymouth/themes/charge/*
%{_datadir}/pixmaps/splash/* %{_datadir}/pixmaps/splash/*
/usr/lib/anaconda-runtime/*.jpg /usr/lib/anaconda-runtime/*.jpg