a281aac
Summary: Plymouth Graphical Boot Animation and Logger
a281aac
Name: plymouth
3121b90
Version: 0.5.0
ef8950b
Release: 14.2008.08.08%{?dist}
a281aac
License: GPLv2+
a281aac
Group: System Environment/Base
a281aac
Source0: http://freedesktop.org/software/plymouth/releases/%{name}-%{version}.tar.bz2
a281aac
URL: http://freedesktop.org/software/plymouth/releases
a281aac
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
a281aac
a281aac
Obsoletes: rhgb < 1:10.0.0
a281aac
Provides: rhgb = 1:10.0.0
a281aac
a281aac
Requires: system-logos >= 9.0.1
44db2dd
Requires: system-plymouth-plugin >= %{version}-%{release}
e76500a
Requires: mkinitrd
ec4aeec
a281aac
%description
a281aac
Plymouth provides an attractive graphical boot animation in
a281aac
place of the text messages that normally get shown.  Text
a281aac
messages are instead redirected to a log file for viewing
a281aac
after boot.
a281aac
2035887
%package libs
2035887
Summary: Plymouth libraries
2035887
Group: Development/Libraries
2035887
Requires: %{name} = %{version}-%{release}
2035887
2035887
%description libs
2035887
This package contains the libply and libplybootsplash libraries
2035887
used by Plymouth.
2035887
2035887
%package devel
2035887
Summary: Libraries and headers for writing Plymouth splash plugins
2035887
Group: Development/Libraries
2035887
Requires: %{name} = %{version}-%{release}
2035887
Requires: pkgconfig
2035887
2035887
%description devel
2035887
This package contains the libply and libplybootsplash libraries
2035887
and headers needed to develop 3rd party splash plugins for Plymouth.
2035887
a281aac
%package plugin-fade-in
a281aac
Summary: Plymouth "Fade-In" plugin
a281aac
Group: System Environment/Base
2c7b07c
Requires: %{name} = %{version}-%{release}
2c7b07c
Requires(post): %{name}
a281aac
BuildRequires: libpng-devel
a281aac
a281aac
%description plugin-fade-in
a281aac
This package contains the "Fade-In" boot splash plugin for
a281aac
Plymouth. It features a centered logo that fades in and out
a281aac
while stars twinkle around the logo during system boot up.
a281aac
a281aac
%package plugin-spinfinity
a281aac
Summary: Plymouth "Spinfinity" plugin
a281aac
Group: System Environment/Base
2c7b07c
Requires: %{name} = %{version}-%{release}
2c7b07c
Requires(post): %{name}
a281aac
BuildRequires: libpng-devel
44db2dd
Provides: system-plymouth-plugin = %{version}-%{release}
a281aac
a281aac
%description plugin-spinfinity
a281aac
This package contains the "Spinfinity" boot splash plugin for
a281aac
Plymouth. It features a centered logo and animated spinner that
a281aac
spins in the shape of an infinity sign.
a281aac
a281aac
%prep
a281aac
%setup -q
a281aac
a281aac
%build
a281aac
%configure --enable-tracing --disable-tests --without-boot-entry \
3aeeebc
           --without-default-plugin                              \
a281aac
           --with-logo=%{_datadir}/pixmaps/system-logo-white.png \
3aeeebc
           --with-background-start-color-stop=0x0073B3           \
21ba79f
           --with-background-end-color-stop=0x00457E             \
e192e40
           --with-background-color=0x3391cd
a281aac
a281aac
make
a281aac
a281aac
%install
a281aac
rm -rf $RPM_BUILD_ROOT
a281aac
a281aac
make install DESTDIR=$RPM_BUILD_ROOT
a281aac
a281aac
find $RPM_BUILD_ROOT -name '*.a' -exec rm -f {} \;
a281aac
find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} \;
a281aac
a281aac
%clean
a281aac
rm -rf $RPM_BUILD_ROOT
a281aac
e8953b5
%postun
e8953b5
if [ $1 -eq 0 ]; then
44db2dd
    rm -f %{_libdir}/plymouth/default.so
44db2dd
fi
44db2dd
44db2dd
%post
44db2dd
if [ $1 -eq 1 ]; then
44db2dd
    %{_sbindir}/plymouth-set-default-plugin text
3aeeebc
fi
3aeeebc
e8953b5
%post libs -p /sbin/ldconfig
e8953b5
%postun libs -p /sbin/ldconfig
e8953b5
3aeeebc
%post plugin-spinfinity
3aeeebc
if [ $1 -eq 1 ]; then
3aeeebc
    %{_sbindir}/plymouth-set-default-plugin spinfinity
3aeeebc
fi
3aeeebc
3aeeebc
%postun plugin-spinfinity
3aeeebc
if [ $1 -eq 0 ]; then
e8953b5
    if [ "$(%{_sbindir}/plymouth-set-default-plugin)" == "spinfinity" ]; then
44db2dd
        %{_sbindir}/plymouth-set-default-plugin text
e8953b5
    fi
3aeeebc
fi
3aeeebc
3aeeebc
%post plugin-fade-in
506917c
#if [ $1 -eq 1 ]; then
506917c
#    %{_sbindir}/plymouth-set-default-plugin fade-in
506917c
#fi
3aeeebc
3aeeebc
%postun plugin-fade-in
3aeeebc
if [ $1 -eq 0 ]; then
e8953b5
    if [ "$(%{_sbindir}/plymouth-set-default-plugin)" == "fade-in" ]; then
e8953b5
        %{_sbindir}/plymouth-set-default-plugin --reset
e8953b5
    fi
3aeeebc
fi
a281aac
a281aac
%files
a281aac
%defattr(-, root, root)
a281aac
%doc AUTHORS NEWS README
a281aac
%dir %{_datadir}/plymouth
6decb24
%dir %{_libexecdir}/plymouth
6decb24
%dir %{_libdir}/plymouth
a281aac
%{_libexecdir}/plymouth/plymouthd
a281aac
%{_libexecdir}/plymouth/plymouth-update-initrd
2035887
%{_libexecdir}/plymouth/plymouth-populate-initrd
3aeeebc
%{_sbindir}/plymouth-set-default-plugin
a281aac
%{_bindir}/plymouth
a281aac
%{_bindir}/rhgb-client
a281aac
%{_libdir}/plymouth/details.so
a281aac
%{_libdir}/plymouth/text.so
a281aac
%{_localstatedir}/run/plymouth
a281aac
2035887
%files devel
2035887
%defattr(-, root, root)
2035887
%{_libdir}/libply.so
2035887
%{_libdir}/libplybootsplash.so
2035887
%{_libdir}/pkgconfig/plymouth-1.pc
2035887
%{_includedir}/plymouth-1
2035887
2035887
%files libs
2035887
%defattr(-, root, root)
2035887
%{_libdir}/libply.so.*
2035887
%{_libdir}/libplybootsplash.so.*
2035887
a281aac
%files plugin-fade-in
a281aac
%defattr(-, root, root)
a281aac
%dir %{_datadir}/plymouth/fade-in
a281aac
%{_datadir}/plymouth/fade-in/bullet.png
a281aac
%{_datadir}/plymouth/fade-in/entry.png
a281aac
%{_datadir}/plymouth/fade-in/lock.png
a281aac
%{_datadir}/plymouth/fade-in/star.png
a281aac
%{_libdir}/plymouth/fade-in.so
a281aac
a281aac
%files plugin-spinfinity
a281aac
%defattr(-, root, root)
a281aac
%dir %{_datadir}/plymouth/spinfinity
a281aac
%{_datadir}/plymouth/spinfinity/box.png
a281aac
%{_datadir}/plymouth/spinfinity/bullet.png
a281aac
%{_datadir}/plymouth/spinfinity/entry.png
a281aac
%{_datadir}/plymouth/spinfinity/lock.png
a281aac
%{_datadir}/plymouth/spinfinity/throbber-[0-3][0-9].png
a281aac
%{_libdir}/plymouth/spinfinity.so
a281aac
a281aac
%changelog
ef8950b
* Fri Aug  8 2008 Ray Strode <rstrode@redhat.com> - 0.5.0-14.2008.08.08
ef8950b
- Don't require a modifiable text color map (may fix serial consoles)
ef8950b
bf2f2a3
* Thu Aug  7 2008 Ray Strode <rstrode@redhat.com> - 0.5.0-13.2008.08.07
bf2f2a3
- Update to new snapshot which when combined with a new mkinitrd should
bf2f2a3
  make unlocking encrypted root partitions work again
bf2f2a3
2d04351
* Wed Aug  6 2008 Ray Strode <rstrode@redhat.com> - 0.5.0-12.2008.08.06
2d04351
- Update to new snapshot which fixes some assertion failures in the
2d04351
  client code
2d04351
2c7b07c
* Wed Aug  6 2008 Ray Strode <rstrode@redhat.com> - 0.5.0-11.2008.08.01
2c7b07c
- Add Requires(post): plymouth to plugins so they get plymouth-set-default-plugin (bug 458071)
2c7b07c
6decb24
* Tue Aug  5 2008 Ray Strode <rstrode@redhat.com> - 0.5.0-10.2008.08.01
6decb24
- Add plymouth dirs to file list (bug 457871)
6decb24
10c4f2a
* Fri Aug  1 2008 Ray Strode <rstrode@redhat.com> - 0.5.0-9.2008.08.01
10c4f2a
- new plymout-populate-initrd features don't work with the set -e at the
10c4f2a
  top of it.
10c4f2a
4f32e91
* Thu Jul 31 2008 Ray Strode <rstrode@redhat.com> - 0.5.0-8.2008.08.01
4f32e91
- Update to another snapshot to actually get new
4f32e91
  plymouth-populate-initrd features
4f32e91
7967b4f
* Thu Jul 31 2008 Ray Strode <rstrode@redhat.com> - 0.5.0-8.2008.07.31
7967b4f
- Update to snapshot to get new plymouth-populate-initrd features
7967b4f
- Make removing rhgb use details plugin instead of exiting
7967b4f
7967b4f
* Thu Jul 31 2008 Peter Jones <pjones@redhat.com> - 0.5.0-7
e76500a
- Make it a mkinitrd requires instead of a nash requires (that will
e76500a
  still pull in nash, but we need mkinitrd for newer plymouth-populate-initrd)
e76500a
e95b353
* Wed Jul 30 2008 Ray Strode <rstrode@redhat.com> - 0.5.0-6
e95b353
- Add nash requires
e95b353
bad12ca
* Wed Jul  9 2008 Ray Strode <rstrode@redhat.com> - 0.5.0-5
bad12ca
- Use a new heuristic for finding libdir, since the old
bad12ca
  one falls over on ia64
bad12ca
823b541
* Wed Jul  9 2008 Ray Strode <rstrode@redhat.com> - 0.5.0-4
823b541
- add ctrl-r to rotate text color palette back to stock values
823b541
2736262
* Tue Jul  8 2008 Ray Strode <rstrode@redhat.com> - 0.5.0-3
2736262
- Fix populate script on ppc (bug 454353)
2736262
44db2dd
* Tue Jul  1 2008 Ray Strode <rstrode@redhat.com> - 0.5.0-2
44db2dd
- Pull in spinfinity by default.  This whole "figure out
44db2dd
  which plugin to use" set of scripts and scriptlets
44db2dd
  needs work.  We need to separate distro default from
44db2dd
  user choice.
44db2dd
44db2dd
* Thu Jul  1 2008 Ray Strode <rstrode@redhat.com> - 0.5.0-1
3121b90
- Add new client "ask-for-password" command which feeds
3121b90
  the user input to a program instead of standard output,
3121b90
  and loops when the program returns non-zero exit status.
3121b90
e192e40
* Thu Jun 26 2008 Ray Strode <rstrode@redhat.com> - 0.4.5-1
e192e40
- Update to version 0.4.5
e192e40
- Make text plugin blue and less 80s
e192e40
1c7bf4c
* Wed Jun 25 2008 Ray Strode <rstrode@redhat.com> - 0.4.0-4
1c7bf4c
- Make "Password: " show up correctly in text plugin
1c7bf4c
ec4aeec
* Wed Jun 25 2008 Ray Strode <rstrode@redhat.com> - 0.4.0-3
ec4aeec
- Require elfutils (bug 452797)
ec4aeec
ed473f2
* Sun Jun 22 2008 Ray Strode <rstrode@redhat.com> - 0.4.0-2
ed473f2
- Make plymouth-set-default-plugin --reset choose the latest
ed473f2
  installed plugin, not the earliest
ed473f2
506917c
* Sun Jun 22 2008 Ray Strode <rstrode@redhat.com> - 0.4.0-1
506917c
- Update to version 0.4.0
506917c
- Only run if rhgb is on kernel command line
506917c
- Make text plugin more animated
506917c
21ba79f
* Mon Jun 16 2008 Ray Strode <rstrode@redhat.com> - 0.3.2-2
21ba79f
- dont go back to text mode on exit
21ba79f
2d14218
* Mon Jun 16 2008 Ray Strode <rstrode@redhat.com> - 0.3.2-1
2d14218
- Update to version 0.3.2
2d14218
- show gradient in spinfinity plugin
2d14218
- Drop fade out in spinfinity plugin
2d14218
- fix throbber placement
2d14218
- rename graphical.so to default.so
2d14218
2313b43
* Thu Jun 12 2008 Ray Strode <rstrode@redhat.com> - 0.3.1-3
2313b43
- scriplet should be preun, not postun
2313b43
ed70f96
* Thu Jun 12 2008 Ray Strode <rstrode@redhat.com> - 0.3.1-2
ed70f96
- Fix postun scriptlet
ed70f96
488a7e1
* Thu Jun 12 2008 Ray Strode <rstrode@redhat.com> - 0.3.1-1
488a7e1
- Update to version 0.3.1
488a7e1
- Don't ship generated initrd scripts in tarball
488a7e1
3aeeebc
* Thu Jun 12 2008 Ray Strode <rstrode@redhat.com> - 0.3.0-1
3aeeebc
- Update to version 0.3.0
3aeeebc
- Better plugin handling
3aeeebc
- Better integration with mkinitrd (pending mkinitrd changes)
3aeeebc
- random bug fixes
3aeeebc
2035887
* Mon Jun  9 2008 Ray Strode <rstrode@redhat.com> - 0.2.0-1
2035887
- Update to version 0.2.0
2035887
- Integrate more tightly with nash (pending nash changes)
2035887
- ship libs for out of tree splash plugins
2035887
- gradient support
2035887
- random bug fixes
2035887
a281aac
* Fri May 30 2008 Ray Strode <rstrode@redhat.com> - 0.1.0-1
a281aac
- Initial import, version 0.1.0