plymouth/plymouth.spec

314 lines
15 KiB
RPMSpec

Name: plymouth
Version: 0.8.8
Release: 5mamba
Summary: Provides a graphical boot animation while the boot process happens in the background
Group: System/Kernel and Hardware
Vendor: openmamba
Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: http://www.freedesktop.org/wiki/Software/Plymouth
Source: http://www.freedesktop.org/software/plymouth/releases/plymouth-%{version}.tar.bz2
Source1: initrd-functions
Patch0: %{name}-0.8.3-libpng-1.4.patch
Patch2: %{name}-0.8.3-fix_tty1_echo.patch
Patch3: %{name}-0.8.5-dont_disable_fb_if_console_cmdline_is_passed.patch
Patch4: plymouth-0.8.8-fix-crash-on-deactivate.patch
License: GPL
## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel
BuildRequires: libatk-devel
BuildRequires: libcairo-devel
BuildRequires: libdrm-devel
BuildRequires: libexpat-devel
BuildRequires: libfontconfig-devel
BuildRequires: libfreetype-devel
BuildRequires: libglib-devel
BuildRequires: libglitz-devel
BuildRequires: libgtk2-devel
BuildRequires: libpango-devel
BuildRequires: libpixman-devel
BuildRequires: libpng-devel
BuildRequires: libpthread-stubs-devel
BuildRequires: libselinux-devel
BuildRequires: libstdc++6-devel
BuildRequires: libX11-devel
BuildRequires: libXau-devel
BuildRequires: libxcb-devel
BuildRequires: libxcb-util-devel
BuildRequires: libXdmcp-devel
BuildRequires: libXrender-devel
BuildRequires: libz-devel
## AUTOBUILDREQ-END
Obsoletes: splashutils
Obsoletes: miscsplashutils
Requires: plymouththeme
BuildRoot: %{_tmppath}/%{name}-%{version}-root
%debug_package
%description
Plymouth is an application that runs very early in the boot process (even before the root filesystem is mounted!) that provides a graphical boot animation while the boot process happens in the background.
It is designed to work on systems with DRM modesetting drivers. The idea is that early on in the boot process the native mode for the computer is set, plymouth uses that mode, and that mode stays throughout the entire boot process up to and after X starts. Ideally, the goal is to get rid of all flicker during startup.
For systems that don't have DRM mode settings drivers, plymouth falls back to text mode (it can also use a legacy /dev/fb interface).
In either text or graphics mode, the boot messages are completely occluded. After the root file system is mounted read-write, the messages are dumped to /var/log/boot.log. Also, the user can see the messages at any time during boot up by hitting the escape key.
%package devel
Summary: Devel package for %{name}
Group: Development/Libraries
Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
Obsoletes: splashutils-devel
%description devel
Plymouth is an application that runs very early in the boot process (even before the root filesystem is mounted!) that provides a graphical boot animation while the boot process happens in the background.
It is designed to work on systems with DRM modesetting drivers. The idea is that early on in the boot process the native mode for the computer is set, plymouth uses that mode, and that mode stays throughout the entire boot process up to and after X starts. Ideally, the goal is to get rid of all flicker during startup.
For systems that don't have DRM mode settings drivers, plymouth falls back to text mode (it can also use a legacy /dev/fb interface).
In either text or graphics mode, the boot messages are completely occluded. After the root file system is mounted read-write, the messages are dumped to /var/log/boot.log. Also, the user can see the messages at any time during boot up by hitting the escape key.
This package contains static libraries and header files need for development.
%package gui
Summary: GUI log viewer for %{name}
Group: Graphical Desktop/Applications/Administration
Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
%description gui
Plymouth is an application that runs very early in the boot process (even before the root filesystem is mounted!) that provides a graphical boot animation while the boot process happens in the background.
It is designed to work on systems with DRM modesetting drivers. The idea is that early on in the boot process the native mode for the computer is set, plymouth uses that mode, and that mode stays throughout the entire boot process up to and after X starts. Ideally, the goal is to get rid of all flicker during startup.
For systems that don't have DRM mode settings drivers, plymouth falls back to text mode (it can also use a legacy /dev/fb interface).
In either text or graphics mode, the boot messages are completely occluded. After the root file system is mounted read-write, the messages are dumped to /var/log/boot.log. Also, the user can see the messages at any time during boot up by hitting the escape key.
This package contains the GUI components for boot log viewing.
%package x11
Summary: X11 renderer plugin for %{name}
Group: System/Libraries
Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
%description x11
Plymouth is an application that runs very early in the boot process (even before the root filesystem is mounted!) that provides a graphical boot animation while the boot process happens in the background.
It is designed to work on systems with DRM modesetting drivers. The idea is that early on in the boot process the native mode for the computer is set, plymouth uses that mode, and that mode stays throughout the entire boot process up to and after X starts. Ideally, the goal is to get rid of all flicker during startup.
For systems that don't have DRM mode settings drivers, plymouth falls back to text mode (it can also use a legacy /dev/fb interface).
In either text or graphics mode, the boot messages are completely occluded. After the root file system is mounted read-write, the messages are dumped to /var/log/boot.log. Also, the user can see the messages at any time during boot up by hitting the escape key.
This package contains the X11 renderer pluing.
%package themes
Summary: Plymouth default themes
Group: System/Kernel and Hardware
Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
%description themes
Plymouth is an application that runs very early in the boot process (even before the root filesystem is mounted!) that provides a graphical boot animation while the boot process happens in the background.
It is designed to work on systems with DRM modesetting drivers. The idea is that early on in the boot process the native mode for the computer is set, plymouth uses that mode, and that mode stays throughout the entire boot process up to and after X starts. Ideally, the goal is to get rid of all flicker during startup.
For systems that don't have DRM mode settings drivers, plymouth falls back to text mode (it can also use a legacy /dev/fb interface).
In either text or graphics mode, the boot messages are completely occluded. After the root file system is mounted read-write, the messages are dumped to /var/log/boot.log. Also, the user can see the messages at any time during boot up by hitting the escape key.
This package contains the default themes provides with plymouth.
%prep
%setup -q
#%patch0 -p1
#%patch2 -p1
%patch3 -p1
%patch4 -p1
%build
%configure \
--with-logo=%{_datadir}/icons/hicolor/64x64/apps/openmamba.png \
--with-background-color=0x0BB03A \
--with-background-start-color-stop=0x00993F \
--with-background-end-color-stop=0x1CD434 \
--with-release-file=%{_sysconfdir}/%{_host_vendor}-release \
--with-system-root-install \
%ifnarch %{ix86} x86_64
--disable-libdrm_intel \
--disable-libdrm_radeon \
--disable-libdrm_nouveau \
%endif
%ifarch x86_64
--libexecdir=%{_prefix}/libexec \
%endif
--enable-pango \
--enable-systemd-integration
%make
%install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%makeinstall
install -D -m0755 %{SOURCE1} %{buildroot}%{_prefix}/libexec/initrd-functions
## don't quit plymouth on multi-user target to allow smooth transition to X in graphical target
#rm -f %{buildroot}/lib/systemd/system/multi-user.target.wants/plymouth-quit-wait.service
#rm -f %{buildroot}/lib/systemd/system/multi-user.target.wants/plymouth-quit.service
#install -d -m0755 %{buildroot}%{_prefix}/lib/tmpfiles.d
#cat > %{buildroot}%{_prefix}/lib/tmpfiles.d/plymouth.conf << _EOF
#f /var/spool/gdm/force-display-on-active-vt 0644 root root -
#_EOF
%clean
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%files
%defattr(-,root,root)
%config(noreplace) %{_sysconfdir}/plymouth/plymouthd.conf
/bin/plymouth
/sbin/plymouthd
%{_bindir}/rhgb-client
/%{_lib}/libply-splash-core.so.*
/%{_lib}/libply.so.*
%{_libdir}/libply-boot-client.so.*
%{_libdir}/libply-splash-graphics.so.*
%dir %{_libdir}/plymouth
%{_libdir}/plymouth/details.*
%{_libdir}/plymouth/fade-throbber.*
%{_libdir}/plymouth/label.*
%{_libdir}/plymouth/renderers/drm.*
%{_libdir}/plymouth/renderers/frame-buffer.*
%{_libdir}/plymouth/script.*
%{_libdir}/plymouth/space-flares.*
%{_libdir}/plymouth/text.*
%{_libdir}/plymouth/throbgress.*
%{_libdir}/plymouth/two-step.*
/lib/systemd/system/plymouth-*.service
/lib/systemd/system/systemd-ask-password-plymouth.path
/lib/systemd/system/systemd-ask-password-plymouth.service
/lib/systemd/system/halt.target.wants/plymouth-halt.service
/lib/systemd/system/initrd-switch-root.target.wants/plymouth-switch-root.service
/lib/systemd/system/kexec.target.wants/plymouth-kexec.service
/lib/systemd/system/multi-user.target.wants/plymouth-quit-wait.service
/lib/systemd/system/multi-user.target.wants/plymouth-quit.service
/lib/systemd/system/poweroff.target.wants/plymouth-poweroff.service
/lib/systemd/system/reboot.target.wants/plymouth-reboot.service
/lib/systemd/system/sysinit.target.wants/plymouth-read-write.service
/lib/systemd/system/sysinit.target.wants/plymouth-start.service
#%{_prefix}/lib/tmpfiles.d/plymouth.conf
# NOTE: don't replace with %_libexecdir to avoid breaking x86_64
%{_prefix}/libexec/initrd-functions
%{_prefix}/libexec/plymouth/plymouth-generate-initrd
%{_prefix}/libexec/plymouth/plymouth-populate-initrd
%{_prefix}/libexec/plymouth/plymouth-update-initrd
%{_sbindir}/plymouth-set-default-theme
#%{_datadir}/gdm/autostart/LoginWindow/plymouth-log-viewer.desktop
%{_datadir}/plymouth/plymouthd.defaults
%dir %{_datadir}/plymouth/themes
%dir %{_datadir}/plymouth/themes/details
%{_datadir}/plymouth/themes/details/*
%dir %{_datadir}/plymouth/themes/text
%{_datadir}/plymouth/themes/text/*
%dir /var/lib/plymouth
#%dir /var/run/plymouth
%dir /var/spool/plymouth
%{_mandir}/man8/plymouth.8.gz
%doc AUTHORS COPYING
%files devel
%defattr(-,root,root)
%{_includedir}/plymouth-1
/%{_lib}/libply-splash-core.a
/%{_lib}/libply-splash-core.la
/%{_lib}/libply-splash-core.so
/%{_lib}/libply.a
/%{_lib}/libply.la
/%{_lib}/libply.so
%{_libdir}/libply-boot-client.a
%{_libdir}/libply-boot-client.la
%{_libdir}/libply-boot-client.so
%{_libdir}/libply-splash-graphics.a
%{_libdir}/libply-splash-graphics.la
%{_libdir}/libply-splash-graphics.so
%{_libdir}/pkgconfig/*.pc
#%doc ChangeLog NEWS README TODO
#%files gui
#%defattr(-,root,root)
#%{_bindir}/plymouth-log-viewer
%files x11
%defattr(-,root,root)
%{_libdir}/plymouth/renderers/x11.*
%files themes
%defattr(-,root,root)
%dir %{_datadir}/plymouth/themes/fade-in
%{_datadir}/plymouth/themes/fade-in/*
%dir %{_datadir}/plymouth/themes/glow
%{_datadir}/plymouth/themes/glow/*
%dir %{_datadir}/plymouth/themes/script
%{_datadir}/plymouth/themes/script/*
%dir %{_datadir}/plymouth/themes/solar
%{_datadir}/plymouth/themes/solar/*
%dir %{_datadir}/plymouth/themes/spinner
%{_datadir}/plymouth/themes/spinner/*
%dir %{_datadir}/plymouth/themes/spinfinity
%{_datadir}/plymouth/themes/spinfinity/*
%changelog
* Sat Aug 10 2013 Silvan Calarco <silvan.calarco@mambasoft.it> 0.8.8-5mamba
- remove dir /var/run/plymouth
* Sun Jul 14 2013 Silvan Calarco <silvan.calarco@mambasoft.it> 0.8.8-4mamba
- added upstream patch to fix crash on deactivate
- added debug package
* Sat Jun 29 2013 Silvan Calarco <silvan.calarco@mambasoft.it> 0.8.8-3mamba
- restore plymouth-quit in multi-user target because of too many problems (thus no smooth transition for now)
* Mon Jun 24 2013 Silvan Calarco <silvan.calarco@mambasoft.it> 0.8.8-2mamba
- remove multi-user target wants for plymouth-quit to allow smooth transition to graphical mode
* Thu Jun 20 2013 Silvan Calarco <silvan.calarco@mambasoft.it> 0.8.8-1mamba
- update to 0.8.8
* Sun Mar 17 2013 Silvan Calarco <silvan.calarco@mambasoft.it> 0.8.6.1-2mamba
- rebuilt with systemd integration
* Sun Oct 14 2012 Automatic Build System <autodist@mambasoft.it> 0.8.6.1-1mamba
- automatic version update by autodist
* Sun Sep 02 2012 Silvan Calarco <silvan.calarco@mambasoft.it> 0.8.5.1-2mamba
- update and restore dont_disable_fb_if_console_cmdline_is_passed patch
* Thu Jun 28 2012 Silvan Calarco <silvan.calarco@mambasoft.it> 0.8.5.1-1mamba
- update to 0.8.5.1
* Fri Mar 02 2012 Silvan Calarco <silvan.calarco@mambasoft.it> 0.8.3.git20120212-2mamba
- modify and reapply patch dont_disable_fb_if_console_cmdline_is_passed
* Sun Feb 12 2012 Silvan Calarco <silvan.calarco@mambasoft.it> 0.8.3.git20120212-1mamba
- update to 0.8.3.git20120212
* Tue Dec 06 2011 Silvan Calarco <silvan.calarco@mambasoft.it> 0.8.3-10mamba
- move back details and text themes to main package
- added a patch that prevents plymouthd from disabling rendered output if console variable is passed in kernel cmdline
* Thu Dec 01 2011 Silvan Calarco <silvan.calarco@mambasoft.it> 0.8.3-9mamba
- removed internal openmamba theme and added requirement for plymouththeme
* Thu Sep 15 2011 Silvan Calarco <silvan.calarco@mambasoft.it> 0.8.3-8mamba
- also obsolete splash-theme-openmamba and splash-theme-openmamba1
* Fri Sep 09 2011 Silvan Calarco <silvan.calarco@mambasoft.it> 0.8.3-7mamba
- obsolete splashutils, miscsplashutils and splash-theme-openmamba1
- provide and obsolete splash-theme-openmamba
* Sat Apr 30 2011 Silvan Calarco <silvan.calarco@mambasoft.it> 0.8.3-6mamba
- add patch to fix echo problem on first tty console (see http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=595178)
* Tue Sep 14 2010 Silvan Calarco <silvan.calarco@mambasoft.it> 0.8.3-5mamba
- openmamba theme: fixed sprite scaling
* Fri Sep 10 2010 Silvan Calarco <silvan.calarco@mambasoft.it> 0.8.3-4mamba
- configured with green colors
- moved label.so from -x11 to plymouth package to enable message display support
- added openmamba theme and set as default
* Mon Sep 06 2010 Silvan Calarco <silvan.calarco@mambasoft.it> 0.8.3-3mamba
- added -x11 and -gui subpackages to remove X11 dependencies from main package
* Sun Sep 05 2010 Silvan Calarco <silvan.calarco@mambasoft.it> 0.8.3-2mamba
- configured with openmamba logo and fixed release file path
- added png 1.4 patch
- added default splash patch
* Fri Aug 06 2010 Silvan Calarco <silvan.calarco@mambasoft.it> 0.8.3-1mamba
- package created by autospec