66985b
%define plymouthdaemon_execdir /sbin
66985b
%define plymouthclient_execdir /bin
66985b
%define plymouth_libdir /%{_lib}
66985b
a281aa
Summary: Plymouth Graphical Boot Animation and Logger
a281aa
Name: plymouth
6a3e20
Version: 0.6.0
b45342
Release: 0.2008.10.15.2%{?dist}
a281aa
License: GPLv2+
a281aa
Group: System Environment/Base
a281aa
Source0: http://freedesktop.org/software/plymouth/releases/%{name}-%{version}.tar.bz2
a281aa
URL: http://freedesktop.org/software/plymouth/releases
a281aa
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
a281aa
a281aa
Obsoletes: rhgb < 1:10.0.0
a281aa
Provides: rhgb = 1:10.0.0
a281aa
a281aa
Requires: system-logos >= 9.0.1
44db2d
Requires: system-plymouth-plugin >= %{version}-%{release}
e7ac68
Requires(post): nash
ec4aee
a281aa
%description
a281aa
Plymouth provides an attractive graphical boot animation in
a281aa
place of the text messages that normally get shown.  Text
a281aa
messages are instead redirected to a log file for viewing
a281aa
after boot.
a281aa
203588
%package libs
203588
Summary: Plymouth libraries
203588
Group: Development/Libraries
203588
Requires: %{name} = %{version}-%{release}
203588
203588
%description libs
203588
This package contains the libply and libplybootsplash libraries
203588
used by Plymouth.
203588
203588
%package devel
203588
Summary: Libraries and headers for writing Plymouth splash plugins
203588
Group: Development/Libraries
203588
Requires: %{name} = %{version}-%{release}
203588
Requires: pkgconfig
203588
203588
%description devel
203588
This package contains the libply and libplybootsplash libraries
203588
and headers needed to develop 3rd party splash plugins for Plymouth.
203588
6f0f41
%package utils
6f0f41
Summary: Plymouth related utilities
6f0f41
Group: Applications/System
6f0f41
Requires: %{name} = %{version}-%{release}
c64572
BuildRequires: gtk2-devel
6f0f41
6f0f41
%description utils
c64572
This package contains utilities that integrate with Plymouth
c64572
including a boot log viewing application.
6f0f41
6f0f41
%package gdm-hooks
6f0f41
Summary: Plymouth GDM integration
6f0f41
Group: Applications/System
6f0f41
Requires: gdm >= 1:2.22.0
889fe4
Requires: plymouth-utils
6f0f41
Requires: %{name} = %{version}-%{release}
6f0f41
6f0f41
%description gdm-hooks
6f0f41
This package contains support files for integrating Plymouth with GDM
6f0f41
Namely, it adds hooks to show boot messages at the login screen in the
6f0f41
event start-up services fail.
6f0f41
1f6943
%package plugin-label
1f6943
Summary: Plymouth label plugin
1f6943
Group: System Environment/Base
1f6943
Requires: %{name} = %{version}-%{release}
1f6943
BuildRequires: pango-devel
1f6943
BuildRequires: cairo-devel
1f6943
1f6943
%description plugin-label
1f6943
This package contains the label control plugin for
1f6943
Plymouth. It provides the ability to render text on
1f6943
graphical boot splashes using pango and cairo.
1f6943
a281aa
%package plugin-fade-in
a281aa
Summary: Plymouth "Fade-In" plugin
a281aa
Group: System Environment/Base
2c7b07
Requires: %{name} = %{version}-%{release}
b45342
Requires(post): %{_sbindir}/plymouth-set-default-plugin
a281aa
BuildRequires: libpng-devel
a281aa
a281aa
%description plugin-fade-in
a281aa
This package contains the "Fade-In" boot splash plugin for
a281aa
Plymouth. It features a centered logo that fades in and out
a281aa
while stars twinkle around the logo during system boot up.
a281aa
79c28a
%package plugin-pulser
79c28a
Summary: Plymouth "Pulser" plugin
79c28a
Group: System Environment/Base
79c28a
Requires: %{name} = %{version}-%{release}
b45342
Requires(post): %{_sbindir}/plymouth-set-default-plugin
79c28a
BuildRequires: libpng-devel
79c28a
79c28a
%description plugin-pulser
79c28a
This package contains the "Pulser" boot splash plugin for
79c28a
Plymouth. It features a pulsing text progress indicator
79c28a
centered in the screen during system boot up.
79c28a
a281aa
%package plugin-spinfinity
a281aa
Summary: Plymouth "Spinfinity" plugin
a281aa
Group: System Environment/Base
2c7b07
Requires: %{name} = %{version}-%{release}
1f6943
Requires: plymouth-plugin-label
a281aa
BuildRequires: libpng-devel
b45342
Requires(post): %{_sbindir}/plymouth-set-default-plugin
44db2d
Provides: system-plymouth-plugin = %{version}-%{release}
a281aa
a281aa
%description plugin-spinfinity
a281aa
This package contains the "Spinfinity" boot splash plugin for
a281aa
Plymouth. It features a centered logo and animated spinner that
a281aa
spins in the shape of an infinity sign.
a281aa
66985b
%package plugin-solar
66985b
Summary: Plymouth "Solar" plugin
66985b
Group: System Environment/Base
66985b
Requires: %{name} = %{version}-%{release}
66985b
Requires: plymouth-plugin-label
b45342
Requires(post): %{_sbindir}/plymouth-set-default-plugin
66985b
BuildRequires: libpng-devel
66985b
66985b
%description plugin-solar
66985b
This package contains the "Solar" boot splash plugin for
66985b
Plymouth. It features a blue flamed sun with animated solar flares.
66985b
a281aa
%prep
a281aa
%setup -q
a281aa
a281aa
%build
a281aa
%configure --enable-tracing --disable-tests --without-boot-entry \
3aeeeb
           --without-default-plugin                              \
a281aa
           --with-logo=%{_datadir}/pixmaps/system-logo-white.png \
3aeeeb
           --with-background-start-color-stop=0x0073B3           \
21ba79
           --with-background-end-color-stop=0x00457E             \
590962
           --with-background-color=0x3391cd                      \
66985b
           --enable-gdm-transition                               \
66985b
           --with-system-root-install                            \
66985b
           --with-rhgb-compat-link
a281aa
a281aa
make
a281aa
a281aa
%install
a281aa
rm -rf $RPM_BUILD_ROOT
a281aa
a281aa
make install DESTDIR=$RPM_BUILD_ROOT
a281aa
a281aa
find $RPM_BUILD_ROOT -name '*.a' -exec rm -f {} \;
a281aa
find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} \;
a281aa
66985b
# Temporary symlink until rc.sysinit is fixed
66985b
(cd $RPM_BUILD_ROOT%{_bindir}; ln -s ../../bin/plymouth)
66985b
a281aa
%clean
a281aa
rm -rf $RPM_BUILD_ROOT
a281aa
e8953b
%postun
e8953b
if [ $1 -eq 0 ]; then
44db2d
    rm -f %{_libdir}/plymouth/default.so
44db2d
fi
44db2d
44db2d
%post
44db2d
if [ $1 -eq 1 ]; then
44db2d
    %{_sbindir}/plymouth-set-default-plugin text
3aeeeb
fi
3aeeeb
e8953b
%post libs -p /sbin/ldconfig
e8953b
%postun libs -p /sbin/ldconfig
e8953b
3aeeeb
%post plugin-spinfinity
3aeeeb
if [ $1 -eq 1 ]; then
3aeeeb
    %{_sbindir}/plymouth-set-default-plugin spinfinity
3aeeeb
fi
3aeeeb
3aeeeb
%postun plugin-spinfinity
3aeeeb
if [ $1 -eq 0 ]; then
e8953b
    if [ "$(%{_sbindir}/plymouth-set-default-plugin)" == "spinfinity" ]; then
44db2d
        %{_sbindir}/plymouth-set-default-plugin text
e8953b
    fi
3aeeeb
fi
3aeeeb
3aeeeb
%postun plugin-fade-in
3aeeeb
if [ $1 -eq 0 ]; then
e8953b
    if [ "$(%{_sbindir}/plymouth-set-default-plugin)" == "fade-in" ]; then
e8953b
        %{_sbindir}/plymouth-set-default-plugin --reset
e8953b
    fi
3aeeeb
fi
a281aa
b45342
%postun plugin-solar
b45342
if [ $1 -eq 0 ]; then
b45342
    if [ "$(%{_sbindir}/plymouth-set-default-plugin)" == "solar" ]; then
b45342
        %{_sbindir}/plymouth-set-default-plugin --reset
b45342
    fi
b45342
fi
b45342
b45342
%postun plugin-pulser
b45342
if [ $1 -eq 0 ]; then
b45342
    if [ "$(%{_sbindir}/plymouth-set-default-plugin)" == "pulser" ]; then
b45342
        %{_sbindir}/plymouth-set-default-plugin --reset
b45342
    fi
b45342
fi
b45342
a281aa
%files
a281aa
%defattr(-, root, root)
a281aa
%doc AUTHORS NEWS README
a281aa
%dir %{_datadir}/plymouth
6decb2
%dir %{_libexecdir}/plymouth
6decb2
%dir %{_libdir}/plymouth
66985b
%{plymouthdaemon_execdir}/plymouthd
66985b
%{plymouthclient_execdir}/plymouth
a281aa
%{_libexecdir}/plymouth/plymouth-update-initrd
203588
%{_libexecdir}/plymouth/plymouth-populate-initrd
a281aa
%{_bindir}/plymouth
a281aa
%{_bindir}/rhgb-client
a281aa
%{_libdir}/plymouth/details.so
a281aa
%{_libdir}/plymouth/text.so
a281aa
%{_localstatedir}/run/plymouth
8745ea
%{_localstatedir}/spool/plymouth
5d1543
%{_localstatedir}/lib/plymouth
a281aa
203588
%files devel
203588
%defattr(-, root, root)
66985b
%{plymouth_libdir}/libply.so
203588
%{_libdir}/libplybootsplash.so
203588
%{_libdir}/pkgconfig/plymouth-1.pc
203588
%{_includedir}/plymouth-1
203588
203588
%files libs
203588
%defattr(-, root, root)
66985b
%{plymouth_libdir}/libply.so.*
203588
%{_libdir}/libplybootsplash.so.*
b45342
%{_sbindir}/plymouth-set-default-plugin
203588
6f0f41
%files utils
1f6943
%defattr(-, root, root)
6f0f41
%{_bindir}/plymouth-log-viewer
6f0f41
6f0f41
%files gdm-hooks
1f6943
%defattr(-, root, root)
6f0f41
%{_datadir}/gdm/autostart/LoginWindow/plymouth-log-viewer.desktop
6f0f41
1f6943
%files plugin-label
1f6943
%defattr(-, root, root)
1f6943
%{_libdir}/plymouth/label.so
1f6943
a281aa
%files plugin-fade-in
a281aa
%defattr(-, root, root)
a281aa
%dir %{_datadir}/plymouth/fade-in
a281aa
%{_datadir}/plymouth/fade-in/bullet.png
a281aa
%{_datadir}/plymouth/fade-in/entry.png
a281aa
%{_datadir}/plymouth/fade-in/lock.png
a281aa
%{_datadir}/plymouth/fade-in/star.png
a281aa
%{_libdir}/plymouth/fade-in.so
a281aa
79c28a
%files plugin-pulser
79c28a
%defattr(-, root, root)
79c28a
%{_libdir}/plymouth/pulser.so
79c28a
a281aa
%files plugin-spinfinity
a281aa
%defattr(-, root, root)
a281aa
%dir %{_datadir}/plymouth/spinfinity
a281aa
%{_datadir}/plymouth/spinfinity/box.png
a281aa
%{_datadir}/plymouth/spinfinity/bullet.png
a281aa
%{_datadir}/plymouth/spinfinity/entry.png
a281aa
%{_datadir}/plymouth/spinfinity/lock.png
a281aa
%{_datadir}/plymouth/spinfinity/throbber-[0-3][0-9].png
a281aa
%{_libdir}/plymouth/spinfinity.so
a281aa
66985b
%files plugin-solar
66985b
%defattr(-, root, root)
66985b
%dir %{_datadir}/plymouth/solar
551bbb
%{_datadir}/plymouth/solar/*.png
66985b
%{_libdir}/plymouth/solar.so
66985b
a281aa
%changelog
b45342
* Fri Oct 17 2008 Ray Strode <rstrode@redhat.com> 0.5.0-0.2008.10.15.2
b45342
- Move plymouth-set-default-plugin to -libs (might help with bug 467356)
b45342
- Fix up requires, provides and postun scripts
b45342
53eb87
* Wed Oct 15 2008 Ray Strode <rstrode@redhat.com> 0.5.0-0.2008.10.15.1
53eb87
- Don't free windows on --hide-splash (fix from Jeremy)
53eb87
551bbb
* Tue Oct 14 2008 Ray Strode <rstrode@redhat.com> 0.5.0-0.2008.10.14.1
551bbb
- Solar fixes from Charlie Brej
551bbb
- Better cpu usage from Charlie
551bbb
e7ac68
* Fri Oct 10 2008 Ray Strode <rstrode@redhat.com> 0.5.0-0.2008.10.08.2
e7ac68
- Add Requires(post): nash (bug 466500)
e7ac68
888664
* Wed Oct 08 2008 Ray Strode <rstrode@redhat.com> 0.5.0-0.2008.10.08.1
888664
- Rework how "console=" args done again, to hopefully fix
888664
  bug 460565
888664
66985b
* Mon Oct 06 2008 Ray Strode <rstrode@redhat.com> 0.5.0-0.2008.10.06.1
66985b
- Add "Solar" plugin from Charles Brej
66985b
- Move things around so computers with separate /usr boot
66985b
  (hopefully this won't break things, but it probably will)
66985b
- Make GDM show up on vt1 for all plugins
66985b
0a791a
* Tue Sep 30 2008 Jeremy Katz <katzj@redhat.com> 0.5.0-0.2008.09.25.2
14cc6a
- Remove mkinitrd requires to break the dep loop and ensure things
14cc6a
  get installed in the right order
14cc6a
5d1543
* Thu Sep 25 2008 Ray Strode <rstrode@redhat.com> 0.5.0-0.2008.09.25.1
5d1543
- Add new snapshot to fold in Will Woods progress bar, and
79c28a
  move ajax's splash upstream, putting the old text splash
79c28a
  in a "pulser" subpackage
5d1543
f0ab4f
* Tue Sep 23 2008 Ray Strode <rstrode@redhat.com> 0.5.0-0.2008.09.23.1
f0ab4f
- Last snapshot was broken
f0ab4f
313e54
* Mon Sep 22 2008 Ray Strode <rstrode@redhat.com> 0.5.0-0.2008.09.22.1
313e54
- Update to latest snapshot to get better transition support
313e54
590962
* Fri Sep 19 2008 Ray Strode <rstrode@redhat.com> 0.5.0-0.2008.09.15.2
590962
- Turn on gdm trigger for transition
590962
bd45d1
* Mon Sep 15 2008 Ray Strode <rstrode@redhat.com> 0.5.0-0.2008.09.15.1
bd45d1
- add quit command with --retain-splash option to client
bd45d1
ed9019
* Wed Sep 10 2008 Ray Strode <rstrode@redhat.com> 0.5.0-0.2008.09.10.1
ed9019
- Fix text rendering for certain machines
ed9019
393f6c
* Mon Sep  8 2008 Ray Strode <rstrode@redhat.com> 0.5.0-0.2008.09.05.4
393f6c
- More serial console fixes (bug 460565 again)
393f6c
ac5e85
* Fri Sep  5 2008 Bill Nottingham <notting@redhat.com> 0.6.0-0.2008.09.05.3
ac5e85
- make the text plugin use the system release info rather than a hardcoded 'Fedora 10'
ac5e85
46974c
* Fri Sep  5 2008 Ray Strode <rstrode@redhat.com> 0.5.0-0.2008.09.05.2
46974c
- Try to support multiple serial consoles better
46974c
  (bug 460565)
46974c
f28d9b
* Fri Sep  5 2008 Ray Strode <rstrode@redhat.com> 0.5.0-0.2008.09.05.1
f28d9b
- Fix some confusion with password handling in details plugin
eabdc2
5f8ef1
* Wed Aug 27 2008 Ray Strode <rstrode@redhat.com> 0.5.0-0.2008.08.27.1
5f8ef1
- Fix another crasher for users with encrypted disks (this time in
5f8ef1
  the text plugin, not the client)
5f8ef1
5f8ef1
* Wed Aug 27 2008 Ray Strode <rstrode@redhat.com> 0.5.0-0.2008.08.27
4eed82
- Update to latest snapshot
4eed82
- Add the ability to show text prompts in graphical plugin
4eed82
- Fix crasher for users with encrypted disks
4eed82
6a3e20
* Fri Aug 23 2008 Ray Strode <rstrode@redhat.com> 0.5.0-0.2008.08.22
6a3e20
- Update to latest snapshot
6a3e20
02e9b5
* Wed Aug 13 2008 Ray Strode <rstrode@redhat.com> 0.5.0-20.2008.08.13
02e9b5
- Update previous patch to remove some assertions
02e9b5
46cdc4
* Wed Aug 13 2008 Ray Strode <rstrode@redhat.com> 0.5.0-19.2008.08.13
46cdc4
- add a patch that may help serial console users
46cdc4
8745ea
* Wed Aug 13 2008 Ray Strode <rstrode@redhat.com> 0.5.0-18.2008.08.13
8745ea
- add spool directory to file list
8745ea
889fe4
* Wed Aug 13 2008 Ray Strode <rstrode@redhat.com> 0.5.0-17.2008.08.13
889fe4
- Make plymouth-gdm-hooks require plymouth-utils
889fe4
c64572
* Wed Aug 13 2008 Ray Strode <rstrode@redhat.com> 0.5.0-16.2008.08.13
6f0f41
- Add a boot failure viewer to login screen (written by Matthias)
6f0f41
854259
* Tue Aug 12 2008 Adam Jackson <ajax@redhat.com> 0.5.0-15.2008.08.08
854259
- plymouth-0.5.0-textbar-hotness.patch: Change the text plugin to a slightly
854259
  more traditional progress bar, to maintain the illusion of progress better
854259
  than the eternally oscillating cylon. Note: still incomplete.
854259
ef8950
* Fri Aug  8 2008 Ray Strode <rstrode@redhat.com> - 0.5.0-14.2008.08.08
ef8950
- Don't require a modifiable text color map (may fix serial consoles)
ef8950
bf2f2a
* Thu Aug  7 2008 Ray Strode <rstrode@redhat.com> - 0.5.0-13.2008.08.07
bf2f2a
- Update to new snapshot which when combined with a new mkinitrd should
bf2f2a
  make unlocking encrypted root partitions work again
bf2f2a
2d0435
* Wed Aug  6 2008 Ray Strode <rstrode@redhat.com> - 0.5.0-12.2008.08.06
2d0435
- Update to new snapshot which fixes some assertion failures in the
2d0435
  client code
2d0435
2c7b07
* Wed Aug  6 2008 Ray Strode <rstrode@redhat.com> - 0.5.0-11.2008.08.01
2c7b07
- Add Requires(post): plymouth to plugins so they get plymouth-set-default-plugin (bug 458071)
2c7b07
6decb2
* Tue Aug  5 2008 Ray Strode <rstrode@redhat.com> - 0.5.0-10.2008.08.01
6decb2
- Add plymouth dirs to file list (bug 457871)
6decb2
10c4f2
* Fri Aug  1 2008 Ray Strode <rstrode@redhat.com> - 0.5.0-9.2008.08.01
10c4f2
- new plymout-populate-initrd features don't work with the set -e at the
10c4f2
  top of it.
10c4f2
4f32e9
* Thu Jul 31 2008 Ray Strode <rstrode@redhat.com> - 0.5.0-8.2008.08.01
4f32e9
- Update to another snapshot to actually get new
4f32e9
  plymouth-populate-initrd features
4f32e9
7967b4
* Thu Jul 31 2008 Ray Strode <rstrode@redhat.com> - 0.5.0-8.2008.07.31
7967b4
- Update to snapshot to get new plymouth-populate-initrd features
7967b4
- Make removing rhgb use details plugin instead of exiting
7967b4
7967b4
* Thu Jul 31 2008 Peter Jones <pjones@redhat.com> - 0.5.0-7
e76500
- Make it a mkinitrd requires instead of a nash requires (that will
e76500
  still pull in nash, but we need mkinitrd for newer plymouth-populate-initrd)
e76500
e95b35
* Wed Jul 30 2008 Ray Strode <rstrode@redhat.com> - 0.5.0-6
e95b35
- Add nash requires
e95b35
bad12c
* Wed Jul  9 2008 Ray Strode <rstrode@redhat.com> - 0.5.0-5
bad12c
- Use a new heuristic for finding libdir, since the old
bad12c
  one falls over on ia64
bad12c
823b54
* Wed Jul  9 2008 Ray Strode <rstrode@redhat.com> - 0.5.0-4
823b54
- add ctrl-r to rotate text color palette back to stock values
823b54
273626
* Tue Jul  8 2008 Ray Strode <rstrode@redhat.com> - 0.5.0-3
273626
- Fix populate script on ppc (bug 454353)
273626
44db2d
* Tue Jul  1 2008 Ray Strode <rstrode@redhat.com> - 0.5.0-2
44db2d
- Pull in spinfinity by default.  This whole "figure out
44db2d
  which plugin to use" set of scripts and scriptlets
44db2d
  needs work.  We need to separate distro default from
44db2d
  user choice.
44db2d
44db2d
* Thu Jul  1 2008 Ray Strode <rstrode@redhat.com> - 0.5.0-1
3121b9
- Add new client "ask-for-password" command which feeds
3121b9
  the user input to a program instead of standard output,
3121b9
  and loops when the program returns non-zero exit status.
3121b9
e192e4
* Thu Jun 26 2008 Ray Strode <rstrode@redhat.com> - 0.4.5-1
e192e4
- Update to version 0.4.5
e192e4
- Make text plugin blue and less 80s
e192e4
1c7bf4
* Wed Jun 25 2008 Ray Strode <rstrode@redhat.com> - 0.4.0-4
1c7bf4
- Make "Password: " show up correctly in text plugin
1c7bf4
ec4aee
* Wed Jun 25 2008 Ray Strode <rstrode@redhat.com> - 0.4.0-3
ec4aee
- Require elfutils (bug 452797)
ec4aee
ed473f
* Sun Jun 22 2008 Ray Strode <rstrode@redhat.com> - 0.4.0-2
ed473f
- Make plymouth-set-default-plugin --reset choose the latest
ed473f
  installed plugin, not the earliest
ed473f
506917
* Sun Jun 22 2008 Ray Strode <rstrode@redhat.com> - 0.4.0-1
506917
- Update to version 0.4.0
506917
- Only run if rhgb is on kernel command line
506917
- Make text plugin more animated
506917
21ba79
* Mon Jun 16 2008 Ray Strode <rstrode@redhat.com> - 0.3.2-2
21ba79
- dont go back to text mode on exit
21ba79
2d1421
* Mon Jun 16 2008 Ray Strode <rstrode@redhat.com> - 0.3.2-1
2d1421
- Update to version 0.3.2
2d1421
- show gradient in spinfinity plugin
2d1421
- Drop fade out in spinfinity plugin
2d1421
- fix throbber placement
2d1421
- rename graphical.so to default.so
2d1421
2313b4
* Thu Jun 12 2008 Ray Strode <rstrode@redhat.com> - 0.3.1-3
2313b4
- scriplet should be preun, not postun
2313b4
ed70f9
* Thu Jun 12 2008 Ray Strode <rstrode@redhat.com> - 0.3.1-2
ed70f9
- Fix postun scriptlet
ed70f9
488a7e
* Thu Jun 12 2008 Ray Strode <rstrode@redhat.com> - 0.3.1-1
488a7e
- Update to version 0.3.1
488a7e
- Don't ship generated initrd scripts in tarball
488a7e
3aeeeb
* Thu Jun 12 2008 Ray Strode <rstrode@redhat.com> - 0.3.0-1
3aeeeb
- Update to version 0.3.0
3aeeeb
- Better plugin handling
3aeeeb
- Better integration with mkinitrd (pending mkinitrd changes)
3aeeeb
- random bug fixes
3aeeeb
203588
* Mon Jun  9 2008 Ray Strode <rstrode@redhat.com> - 0.2.0-1
203588
- Update to version 0.2.0
203588
- Integrate more tightly with nash (pending nash changes)
203588
- ship libs for out of tree splash plugins
203588
- gradient support
203588
- random bug fixes
203588
a281aa
* Fri May 30 2008 Ray Strode <rstrode@redhat.com> - 0.1.0-1
a281aa
- Initial import, version 0.1.0