plymouth/plymouth.spec

296 lines
9.2 KiB
RPMSpec
Raw Normal View History

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