a281aac
Summary: Plymouth Graphical Boot Animation and Logger
a281aac
Name: plymouth
6a3e20e
Version: 0.6.0
ed90194
Release: 0.2008.09.10.1%{?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
8542591
Patch0: plymouth-0.5.0-textbar-hotness.patch
393f6c8
Patch1: serial-again.patch
8542591
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
6f0f413
%package utils
6f0f413
Summary: Plymouth related utilities
6f0f413
Group: Applications/System
6f0f413
Requires: %{name} = %{version}-%{release}
c645725
BuildRequires: gtk2-devel
6f0f413
6f0f413
%description utils
c645725
This package contains utilities that integrate with Plymouth
c645725
including a boot log viewing application.
6f0f413
6f0f413
%package gdm-hooks
6f0f413
Summary: Plymouth GDM integration
6f0f413
Group: Applications/System
6f0f413
Requires: gdm >= 1:2.22.0
889fe43
Requires: plymouth-utils
6f0f413
Requires: %{name} = %{version}-%{release}
6f0f413
6f0f413
%description gdm-hooks
6f0f413
This package contains support files for integrating Plymouth with GDM
6f0f413
Namely, it adds hooks to show boot messages at the login screen in the
6f0f413
event start-up services fail.
6f0f413
1f69439
%package plugin-label
1f69439
Summary: Plymouth label plugin
1f69439
Group: System Environment/Base
1f69439
Requires: %{name} = %{version}-%{release}
1f69439
Requires(post): %{name}
1f69439
BuildRequires: pango-devel
1f69439
BuildRequires: cairo-devel
1f69439
1f69439
%description plugin-label
1f69439
This package contains the label control plugin for
1f69439
Plymouth. It provides the ability to render text on
1f69439
graphical boot splashes using pango and cairo.
1f69439
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}
1f69439
Requires: plymouth-plugin-label
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
8542591
%patch0 -p1 -b .textbar
393f6c8
%patch1 -p1 -b .serial-again
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
8745ea4
%{_localstatedir}/spool/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
6f0f413
%files utils
1f69439
%defattr(-, root, root)
6f0f413
%{_bindir}/plymouth-log-viewer
6f0f413
6f0f413
%files gdm-hooks
1f69439
%defattr(-, root, root)
6f0f413
%{_datadir}/gdm/autostart/LoginWindow/plymouth-log-viewer.desktop
6f0f413
1f69439
%files plugin-label
1f69439
%defattr(-, root, root)
1f69439
%{_libdir}/plymouth/label.so
1f69439
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
ed90194
* Wed Sep 10 2008 Ray Strode <rstrode@redhat.com> 0.5.0-0.2008.09.10.1
ed90194
- Fix text rendering for certain machines
ed90194
393f6c8
* Mon Sep  8 2008 Ray Strode <rstrode@redhat.com> 0.5.0-0.2008.09.05.4
393f6c8
- More serial console fixes (bug 460565 again)
393f6c8
ac5e855
* Fri Sep  5 2008 Bill Nottingham <notting@redhat.com> 0.6.0-0.2008.09.05.3
ac5e855
- make the text plugin use the system release info rather than a hardcoded 'Fedora 10'
ac5e855
46974c0
* Fri Sep  5 2008 Ray Strode <rstrode@redhat.com> 0.5.0-0.2008.09.05.2
46974c0
- Try to support multiple serial consoles better
46974c0
  (bug 460565)
46974c0
f28d9b1
* Fri Sep  5 2008 Ray Strode <rstrode@redhat.com> 0.5.0-0.2008.09.05.1
f28d9b1
- Fix some confusion with password handling in details plugin
eabdc29
5f8ef1d
* Wed Aug 27 2008 Ray Strode <rstrode@redhat.com> 0.5.0-0.2008.08.27.1
5f8ef1d
- Fix another crasher for users with encrypted disks (this time in
5f8ef1d
  the text plugin, not the client)
5f8ef1d
5f8ef1d
* Wed Aug 27 2008 Ray Strode <rstrode@redhat.com> 0.5.0-0.2008.08.27
4eed82c
- Update to latest snapshot
4eed82c
- Add the ability to show text prompts in graphical plugin
4eed82c
- Fix crasher for users with encrypted disks
4eed82c
6a3e20e
* Fri Aug 23 2008 Ray Strode <rstrode@redhat.com> 0.5.0-0.2008.08.22
6a3e20e
- Update to latest snapshot
6a3e20e
02e9b5e
* Wed Aug 13 2008 Ray Strode <rstrode@redhat.com> 0.5.0-20.2008.08.13
02e9b5e
- Update previous patch to remove some assertions
02e9b5e
46cdc41
* Wed Aug 13 2008 Ray Strode <rstrode@redhat.com> 0.5.0-19.2008.08.13
46cdc41
- add a patch that may help serial console users
46cdc41
8745ea4
* Wed Aug 13 2008 Ray Strode <rstrode@redhat.com> 0.5.0-18.2008.08.13
8745ea4
- add spool directory to file list
8745ea4
889fe43
* Wed Aug 13 2008 Ray Strode <rstrode@redhat.com> 0.5.0-17.2008.08.13
889fe43
- Make plymouth-gdm-hooks require plymouth-utils
889fe43
c645725
* Wed Aug 13 2008 Ray Strode <rstrode@redhat.com> 0.5.0-16.2008.08.13
6f0f413
- Add a boot failure viewer to login screen (written by Matthias)
6f0f413
8542591
* Tue Aug 12 2008 Adam Jackson <ajax@redhat.com> 0.5.0-15.2008.08.08
8542591
- plymouth-0.5.0-textbar-hotness.patch: Change the text plugin to a slightly
8542591
  more traditional progress bar, to maintain the illusion of progress better
8542591
  than the eternally oscillating cylon. Note: still incomplete.
8542591
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