2012-02-17 14:55:24 +01:00
#
2012-02-21 21:46:41 +01:00
# spec file for package plymouth
#
2020-05-05 18:33:42 +02:00
# Copyright (c) 2020 SUSE LLC
2012-02-21 21:46:41 +01:00
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
2012-03-26 08:10:46 +02:00
2018-12-12 07:37:14 +01:00
# Please submit bugfixes or comments via https://bugs.opensuse.org/
2012-02-17 14:55:24 +01:00
#
2012-02-21 21:46:41 +01:00
2020-08-29 07:13:18 +02:00
# plymouth's X11 renderer adds many GTK3 packages to the build cycle,
# it is not used in the production environment.
2019-08-05 05:35:40 +02:00
%bcond_with x11_renderer
2019-07-31 13:52:42 +02:00
2020-08-29 07:13:18 +02:00
%global soversion 5
%define plymouthdaemon_execdir %{_sbindir}
%define plymouthclient_execdir %{_bindir}
%define plymouth_libdir %{_libdir}
%define plymouth_initrd_file /boot/initrd-plymouth.img
2018-08-04 09:53:38 +02:00
2012-02-17 14:55:24 +01:00
Name : plymouth
2020-10-07 17:12:36 +02:00
Version : 0.9.5+git20200921+20778f2
2019-09-11 10:41:16 +02:00
Release : 0
2012-02-23 14:08:44 +01:00
Summary : Graphical Boot Animation and Logger
2018-08-18 16:07:40 +02:00
License : GPL-2.0-or-later
2012-02-17 14:55:24 +01:00
Group : System/Base
2020-09-29 03:01:40 +02:00
URL : https://www.freedesktop.org/wiki/Software/Plymouth
2016-09-01 10:35:45 +02:00
Source0 : %{name} -%{version} .tar.xz
2020-08-29 07:13:18 +02:00
Source1 : boot-duration
# PATCH-FIX-OPENSUSE plymouth-dracut-path.patch tittiatcoke@gmail.com -- Prefix is /usr/sbin and /usr/bin
Patch0 : plymouth-dracut-path.patch
2018-08-29 04:39:53 +02:00
# PATCH-FIX-OPENSUSE plymouth-some-greenish-openSUSE-colors.patch bnc#886148 fcrozat@suse.com -- To use suse colors in tribar.
2020-08-29 07:13:18 +02:00
Patch1 : plymouth-some-greenish-openSUSE-colors.patch
# PATCH-FIX-OPENSUSE plymouth-correct-runtime-dir.patch tittiatcoke@gmail.com -- Make sure the runtime directory is /run and not /var/run
Patch2 : plymouth-correct-runtime-dir.patch
# PATCH-FIX-UPSTREAM plymouth-manpages.patch bnc#871419 idoenmez@suse.de -- Fix man page installation
Patch3 : plymouth-manpages.patch
2020-09-03 03:29:48 +02:00
# PATCH-FIX-SLE plymouth-no-longer-modify-conf-to-drop-isopensuse-macro.patch qzhao@suse.com jsc#SLE-11637 -- plymouth will use plymouthd.defaults instead of plymouth.conf to close the leap gap.
2020-10-07 17:32:27 +02:00
Patch4 : plymouth-no-longer-modify-conf-to-drop-isopensuse-macro.patch
2018-08-18 16:07:40 +02:00
# PATCH-FIX-UPSTREAM 0001-Add-label-ft-plugin.patch boo#959986 fvogt@suse.com -- add ability to output text in initrd needed for encryption.
2019-09-11 10:41:16 +02:00
Patch1000 : 0001-Add-label-ft-plugin.patch
2018-08-18 16:07:40 +02:00
# PATCH-FIX-UPSTREAM 0002-Install-label-ft-plugin-into-initrd-if-available.patch boo#959986 fvogt@suse.com -- add ability to output text in initrd needed for encryption.
2019-09-11 10:41:16 +02:00
Patch1001 : 0002-Install-label-ft-plugin-into-initrd-if-available.patch
2020-10-07 17:12:36 +02:00
#uo PATCH-FIX-UPSTREAM 0003-fix_null_deref.patch boo#959986 fvogt@suse.com -- add ability to output text in initrd needed for encryption.
2019-09-11 10:41:16 +02:00
Patch1002 : 0003-fix_null_deref.patch
2012-02-17 14:55:24 +01:00
BuildRequires : automake
2014-02-17 19:39:07 +01:00
BuildRequires : docbook-xsl-stylesheets
2019-09-03 16:08:56 +02:00
BuildRequires : gcc
2012-02-17 14:55:24 +01:00
BuildRequires : libtool
2014-02-17 19:39:07 +01:00
BuildRequires : libxslt
2016-09-01 10:35:45 +02:00
BuildRequires : pkgconfig
2020-09-29 03:01:40 +02:00
%if 0%{suse_version} >= 1550
# regenerate_initrd_post moved to rpm-config-SUSE:initrd.macros
BuildRequires : rpm-config-SUSE >= 0.g11
%else
2020-08-29 07:13:18 +02:00
BuildRequires : suse-module-tools
2020-09-29 03:01:40 +02:00
%endif
2020-08-29 07:13:18 +02:00
BuildRequires : intltool
2012-02-17 14:55:24 +01:00
BuildRequires : update-desktop-files
2012-04-05 16:46:03 +02:00
BuildRequires : xz
2016-09-01 10:35:45 +02:00
BuildRequires : pkgconfig(cairo)
BuildRequires : pkgconfig(freetype2)
2012-02-17 14:55:24 +01:00
BuildRequires : pkgconfig(libdrm)
2017-01-26 22:04:34 +01:00
BuildRequires : pkgconfig(libsystemd) >= 186
2016-09-01 10:35:45 +02:00
BuildRequires : pkgconfig(libudev)
BuildRequires : pkgconfig(pango) >= 1.21.0
2020-09-29 03:01:40 +02:00
# needed for systemd-tty-ask-password-agent
2015-09-04 11:55:06 +02:00
BuildRequires : pkgconfig(systemd) >= 186
2019-08-05 05:35:40 +02:00
%if %{with x11_renderer}
2019-07-31 13:52:42 +02:00
BuildRequires : pkgconfig(gtk+-3.0) >= 3.14.0
%endif
2019-03-12 14:03:43 +01:00
Recommends: %{name} -lang
2012-03-26 08:10:46 +02:00
Requires : %{name} -branding
2013-04-23 10:34:36 +02:00
Requires : systemd >= 186
2016-09-01 10:35:45 +02:00
Requires(post) : coreutils
2012-12-18 16:07:01 +01:00
Requires(post) : plymouth-scripts = %{version}
2016-09-01 10:35:45 +02:00
Requires(postun) : coreutils
Suggests : plymouth-plugin-label
Provides : bootsplash = 3.5
Obsoletes : bootsplash < 3.5
2012-07-02 21:25:25 +02:00
Provides : systemd-plymouth = 44-10.2
Obsoletes : systemd-plymouth <= 44-10.1
2012-02-17 14:55:24 +01: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.
2020-08-29 07:13:18 +02:00
%package -n libply-boot-client%{soversion}
2012-02-23 14:08:44 +01:00
Summary : Plymouth core library
2012-02-17 14:55:24 +01:00
Group : Development/Libraries/C and C++
2020-08-29 07:13:18 +02:00
%description -n libply-boot-client%{soversion}
2012-02-23 14:08:44 +01:00
This package contains the libply-boot-client library used by Plymouth.
2020-08-29 07:13:18 +02:00
%package -n libply-splash-core%{soversion}
2012-02-23 14:08:44 +01:00
Summary : Plymouth core library
Group : Development/Libraries/C and C++
2020-08-29 07:13:18 +02:00
%description -n libply-splash-core%{soversion}
2012-02-23 14:08:44 +01:00
This package contains the libply-splash-core library
used by graphical Plymouth splashes.
2012-02-17 14:55:24 +01:00
2020-08-29 07:13:18 +02:00
%package -n libply-splash-graphics%{soversion}
2012-02-17 14:55:24 +01:00
Summary : Plymouth graphics libraries
Group : Development/Libraries/C and C++
BuildRequires : libpng-devel
2020-08-29 07:13:18 +02:00
%description -n libply-splash-graphics%{soversion}
2012-02-17 14:55:24 +01:00
This package contains the libply-splash-graphics library
used by graphical Plymouth splashes.
2020-08-29 07:13:18 +02:00
%package -n libply%{soversion}
2012-02-23 14:08:44 +01:00
Summary : Plymouth core library
Group : Development/Libraries/C and C++
2020-08-29 07:13:18 +02:00
Requires : libply-boot-client%{soversion} = %{version}
2012-02-23 14:08:44 +01:00
2020-08-29 07:13:18 +02:00
%description -n libply%{soversion}
2012-02-23 14:08:44 +01:00
This package contains the libply library used by Plymouth.
2020-08-30 09:03:35 +02:00
%package branding-upstream
Summary : default configuration file and branding from the Plymouth upstream.
Group : System/Base
2020-09-07 11:08:38 +02:00
Provides : %{name} -branding = %{version} -%{release} .
2020-08-30 09:03:35 +02:00
Conflicts : %{name} -branding
BuildArch : noarch
%description branding-upstream
2020-09-29 03:01:40 +02:00
This package contains the /usr/share/plymouthd.defaults which contains the basic
2020-09-07 11:08:38 +02:00
settings and branding from the upstream.
2020-08-30 09:03:35 +02:00
2012-02-17 14:55:24 +01:00
%package devel
Summary : Libraries and headers for writing Plymouth splash plugins
Group : Development/Libraries/C and C++
Requires : %{name} = %{version}
2019-08-05 05:35:40 +02:00
%if %{with x11_renderer}
2012-05-12 07:57:28 +02:00
Requires : %{name} -x11-renderer = %{version}
2019-07-31 13:52:42 +02:00
%endif
2020-08-29 07:13:18 +02:00
Requires : libply%{soversion} = %{version}
Requires : libply-boot-client%{soversion} = %{version}
Requires : libply-splash-core%{soversion} = %{version}
Requires : libply-splash-graphics%{soversion} = %{version}
2012-02-17 14:55:24 +01:00
Requires : pkgconfig
%description devel
This package contains the libply and libplybootsplash libraries
and headers needed to develop 3rd party splash plugins for Plymouth.
2012-11-06 19:14:20 +01:00
%package dracut
Summary : Plymouth related utilities for dracut
Group : System/Base
Requires : %{name} = %{version}
2016-09-01 10:35:45 +02:00
Supplements: packageand(plymouth:dracut)
2012-11-06 19:14:20 +01:00
%description dracut
This package contains utilities that integrate dracut with Plymouth
2020-08-29 07:13:18 +02:00
%package x11-renderer
Summary : Plymouth X11 renderer
Group : System/Base
Requires : %{name} = %{version}
%description x11-renderer
This package provides the X11 renderer which allows to test plymouth
behavior on environments with a valid DISPLAY.
2012-02-17 14:55:24 +01:00
%package scripts
Summary : Plymouth related scripts
Group : System/Base
2020-09-29 03:01:40 +02:00
Requires : awk
2019-06-14 11:40:15 +02:00
Requires : dracut
2020-09-29 03:01:40 +02:00
Requires : grep
Requires : sed
2016-09-01 10:35:45 +02:00
Requires(pre) : %{name} = %{version}
2020-09-29 03:01:40 +02:00
BuildArch : noarch
2012-02-17 14:55:24 +01:00
%description scripts
This package contains scripts that help integrate Plymouth with
the system.
%package plugin-label
Summary : Plymouth label plugin
Group : System/Base
2020-08-29 07:13:18 +02:00
Requires : libply-splash-graphics%{soversion} = %{version}
2012-02-17 14:55:24 +01:00
%description plugin-label
This package contains the label control plugin for
Plymouth. It provides the ability to render text on
graphical boot splashes using pango and cairo.
2020-04-18 10:20:10 +02:00
%package plugin-label-ft
Summary : Plymouth FreeType label plugin
Group : System/Base
Requires : fontconfig
2020-08-29 07:13:18 +02:00
Requires : libply-splash-graphics%{soversion} = %{version}
2020-04-18 10:20:10 +02:00
%description plugin-label-ft
This package contains the label control plugin for
Plymouth. It provides the ability to render text on
2020-09-29 03:01:40 +02:00
graphical boot splashes using FreeType
2020-08-29 07:13:18 +02:00
%package plugin-fade-throbber
Summary : Plymouth " F a d e - T h r o b b e r " plugin
Group : System/Base
Requires : libply%{soversion} = %{version}
Requires : libply-splash-core%{soversion} = %{version}
Requires : libply-splash-graphics%{soversion} = %{version}
%description plugin-fade-throbber
This package contains the " F a d e - I n " boot splash plugin for
Plymouth. It features a centered image that fades in and out
while other images pulsate around during system boot up.
%package plugin-space-flares
Summary : Plymouth " s p a c e - f l a r e s " plugin
Group : System/Base
Requires : %{name} -plugin-label = %{version}
Requires : libply%{soversion} = %{version}
Requires : libply-splash-core%{soversion} = %{version}
Requires : libply-splash-graphics%{soversion} = %{version}
%description plugin-space-flares
This package contains the " s p a c e - f l a r e s " boot splash plugin for
Plymouth. It features a corner image with animated flares.
%package plugin-two-step
Summary : Plymouth " t w o - s t e p " plugin
Group : System/Base
Requires : libply%{soversion} = %{version}
Requires : libply-splash-core%{soversion} = %{version}
Requires : libply-splash-graphics%{soversion} = %{version}
Requires : plymouth-plugin-label = %{version}
%description plugin-two-step
This package contains the " t w o - s t e p " boot splash plugin for
Plymouth. It features a two phased boot process that starts with
a progressing animation synced to boot time and finishes with a
short, fast one-shot animation.
2020-04-18 10:20:10 +02:00
2020-04-17 05:14:58 +02:00
%package plugin-script
Summary : Plymouth " s c r i p t " plugin
2012-02-17 14:55:24 +01:00
Group : System/Base
2020-08-29 07:13:18 +02:00
Requires : libply%{soversion} = %{version}
Requires : libply-splash-core%{soversion} = %{version}
Requires : libply-splash-graphics%{soversion} = %{version}
2012-02-17 14:55:24 +01:00
2020-04-17 05:14:58 +02:00
%description plugin-script
This package contains the " s c r i p t " boot splash plugin for
Plymouth. It features an extensible, scriptable boot splash
language that simplifies the process of designing custom
boot splash themes.
2012-02-17 14:55:24 +01:00
2020-04-17 05:14:58 +02:00
%package plugin-tribar
Summary : Plymouth " s c r i p t " plugin
2012-02-17 14:55:24 +01:00
Group : System/Base
2020-08-29 07:13:18 +02:00
Requires : libply%{soversion} = %{version}
Requires : libply-splash-core%{soversion} = %{version}
Requires : libply-splash-graphics%{soversion} = %{version}
2012-02-17 14:55:24 +01:00
2020-04-17 05:14:58 +02:00
%description plugin-tribar
This package contains the " t r i b a r " boot splash plugin for
Plymouth. It features an extensible, scriptable boot splash
language that simplifies the process of designing custom
boot splash themes.
2012-02-17 14:55:24 +01:00
2020-08-29 07:13:18 +02:00
%package theme-fade-in
Summary : Plymouth " F a d e - I n " theme
2012-02-17 14:55:24 +01:00
Group : System/Base
2020-08-29 07:13:18 +02:00
Requires : %{name} -plugin-fade-throbber = %{version}
2013-06-28 09:27:40 +02:00
Requires : plymouth-plugin-label = %{version}
2020-07-21 18:08:56 +02:00
Requires(post) : %{name} -scripts
BuildArch : noarch
2020-08-29 07:13:18 +02:00
%description theme-fade-in
This package contains the " F a d e - I n " boot splash theme for
Plymouth. It features a centered logo that fades in and out
while stars twinkle around the logo during system boot up.
2012-02-17 14:55:24 +01:00
%package theme-spinfinity
Summary : Plymouth " S p i n f i n i t y " theme
Group : System/Base
2012-02-23 14:08:44 +01:00
Requires(post) : %{name} -scripts
2016-09-01 10:35:45 +02:00
Requires(pre) : %{name}
2012-05-31 09:55:22 +02:00
BuildArch : noarch
2012-02-17 14:55:24 +01:00
%description theme-spinfinity
This package contains the " S p i n f i n i t y " boot splash theme for
Plymouth. It features a centered logo and animated spinner that
spins in the shape of an infinity sign.
%package theme-spinner
Summary : Plymouth " S p i n n e r " theme
Group : System/Base
Requires : %{name} -plugin-two-step = %{version}
2012-02-23 14:08:44 +01:00
Requires(post) : %{name} -scripts
2012-05-31 09:55:22 +02:00
BuildArch : noarch
2012-02-17 14:55:24 +01:00
%description theme-spinner
This package contains the " s p i n n e r " boot splash theme for
Plymouth.
2020-08-29 07:13:18 +02:00
%package theme-solar
Summary : Plymouth " S o l a r " theme
Group : System/Base
Requires : %{name} -plugin-space-flares = %{version}
Requires(post) : %{name} -scripts
BuildArch : noarch
%description theme-solar
This package contains the " S o l a r " boot splash theme for
Plymouth. It features a blue flamed sun with animated solar flares.
2014-02-17 19:39:07 +01:00
%package theme-tribar
Summary : Plymouth " T r i b a r " theme
Group : System/Base
Requires : %{name} -plugin-tribar = %{version}
Requires(post) : %{name} -scripts
BuildArch : noarch
%description theme-tribar
This package contains the " T r i b a r " boot splash theme for
Plymouth
2020-08-29 07:13:18 +02:00
%package theme-script
Summary : Plymouth " S c r i p t " theme
2020-05-05 18:33:42 +02:00
Group : System/Base
2020-08-29 07:13:18 +02:00
Requires : %{name} -plugin-script = %{version}
2020-05-05 18:33:42 +02:00
Requires(post) : %{name} -scripts
BuildArch : noarch
2020-08-29 07:13:18 +02:00
%description theme-script
This package contains the " s c r i p t " boot splash theme for
Plymouth. It is a simple example theme the uses the " s c r i p t "
plugin.
2020-07-21 18:08:56 +02:00
2020-08-29 07:13:18 +02:00
%package theme-bgrt
Summary : Plymouth " b g r t " theme
# Uses images from spinner theme
2020-07-21 18:08:56 +02:00
Group : System/Base
2020-08-29 07:13:18 +02:00
Requires : %{name} -plugin-two-step = %{version}
Requires : %{name} -theme-spinner = %{version}
2020-07-21 18:08:56 +02:00
Requires(post) : %{name} -scripts
BuildArch : noarch
2020-08-29 07:13:18 +02:00
%description theme-bgrt
This package contains the " b g r t " boot splash theme for
2020-09-29 03:01:40 +02:00
Plymouth.
2020-05-05 18:33:42 +02:00
2020-07-21 18:08:56 +02:00
%prep
2020-08-30 09:03:35 +02:00
%setup -q
%autopatch -p1
autoreconf -ivf
2012-02-17 14:55:24 +01:00
%build
2016-09-01 10:35:45 +02:00
%configure \
2012-02-17 14:55:24 +01:00
--enable-systemd-integration \
2016-09-01 10:35:45 +02:00
--enable-tracing \
2019-08-05 08:14:40 +02:00
--disable-silent-rules \
--disable-static \
--disable-upstart-monitoring \
2020-08-29 07:13:18 +02:00
--disable-tests \
--disable-libkms \
%if %{without x11_renderer}
--disable-gtk \
%endif
2019-08-05 08:14:40 +02:00
--with-release-file=%{_sysconfdir} /os-release \
--with-boot-tty=/dev/tty7 \
--with-shutdown-tty=/dev/tty1 \
--with-background-start-color-stop=0x1A3D1F \
--with-background-end-color-stop=0x4EA65C \
--with-background-color=0x3391cd \
--without-rhgb-compat-link \
2020-09-29 03:01:40 +02:00
--without-system-root-install
2012-02-17 14:55:24 +01:00
2016-09-01 10:35:45 +02:00
make %{?_smp_mflags}
2012-02-17 14:55:24 +01:00
%install
%make_install
2020-08-29 07:13:18 +02:00
rm -f %{buildroot} /%{_bindir} /rhgb-client
2020-06-15 17:16:28 +02:00
2020-08-29 07:13:18 +02:00
#Link the plymouth client binary also to /bin until the move to /usr is completed
2020-07-21 18:08:56 +02:00
mkdir %{buildroot} /bin
(cd %{buildroot} /bin; ln -s ..%{_bindir} /plymouth)
2020-08-29 07:13:18 +02:00
# Glow isn't quite ready for primetime
rm -rf %{buildroot} %{_datadir} /plymouth/glow/
rm -rf %{buildroot} %{_datadir} /plymouth/themes/glow/
rm -f %{buildroot} %{_libdir} /plymouth/glow.so
2020-07-21 18:08:56 +02:00
2020-08-29 07:13:18 +02:00
find %{buildroot} -type f -name " * . l a " -delete -print
mkdir -p %{buildroot} %{_localstatedir} /lib/plymouth
mkdir -p %{buildroot} /run/plymouth
mkdir -p %{buildroot} %{_localstatedir} /log
touch %{buildroot} %{_localstatedir} /log/boot.log
touch %{buildroot} %{_localstatedir} /spool/plymouth/boot.log
cp $RPM_SOURCE_DIR /boot-duration %{buildroot} %{_datadir} /plymouth/default-boot-duration
cp $RPM_SOURCE_DIR /boot-duration %{buildroot} %{_localstatedir} /lib/plymouth
2020-08-30 09:03:35 +02:00
2020-09-03 03:29:48 +02:00
# We will nolonger ship plymouthd.conf, Plymouthd will read /usr/share/plymouth/plymouthd.defaults if /etc/plymouth/plymouthd.conf doesn't exist(jsc#SLE-11637).
2020-08-30 09:03:35 +02:00
rm -f %{buildroot} %{_sysconfdir} /plymouth/plymouthd.conf
rm -f %{buildroot} %{_datadir} /plymouth/plymouthd.conf
2020-07-21 18:08:56 +02:00
2012-02-17 14:55:24 +01:00
%post
2014-04-16 16:28:58 +02:00
%{?regenerate_initrd_post}
2016-09-01 10:35:45 +02:00
if [ ! -e /.buildenv ]; then
2012-05-21 14:52:34 +02:00
[ -f %{_localstatedir} /lib/plymouth/boot-duration ] || cp -f %{_datadir} /plymouth/default-boot-duration %{_localstatedir} /lib/plymouth/boot-duration
2012-03-26 08:10:46 +02:00
fi
2012-07-23 11:00:40 +02:00
[ -x /bin/systemctl ] && /bin/systemctl daemon-reload >/dev/null 2>&1 || :
2012-03-26 08:10:46 +02:00
%postun
2015-12-15 17:55:33 +01:00
%{?regenerate_initrd_post}
2012-03-26 08:10:46 +02:00
if [ $1 -eq 0 ]; then
rm -f %{_libdir} /plymouth/default.so
rm -f /boot/initrd-plymouth.img
2012-07-23 11:00:40 +02:00
[ -x /bin/systemctl ] && /bin/systemctl daemon-reload >/dev/null 2>&1 || :
2012-03-26 08:10:46 +02:00
fi
2012-02-17 14:55:24 +01:00
2014-04-16 16:28:58 +02:00
%posttrans
%{?regenerate_initrd_posttrans}
2012-02-17 14:55:24 +01:00
2020-08-29 07:13:18 +02:00
%post -n libply-boot-client%{soversion} -p /sbin/ldconfig
%postun -n libply-boot-client%{soversion} -p /sbin/ldconfig
%post -n libply-splash-core%{soversion} -p /sbin/ldconfig
%postun -n libply-splash-core%{soversion} -p /sbin/ldconfig
%post -n libply-splash-graphics%{soversion} -p /sbin/ldconfig
%postun -n libply-splash-graphics%{soversion} -p /sbin/ldconfig
%post -n libply%{soversion} -p /sbin/ldconfig
%postun -n libply%{soversion} -p /sbin/ldconfig
%post theme-spinfinity
if [ $1 -eq 1 ]; then
set -x
export LIB=%{_libdir}
OTHEME=" $ ( %{_sbindir} / p l y m o u t h - s e t - d e f a u l t - t h e m e ) "
if [ " $ O T H E M E " = " t e x t " ]; then
if [ ! -e /.buildenv ]; then
%{_sbindir} /plymouth-set-default-theme -R spinfinity
else
%{_sbindir} /plymouth-set-default-theme spinfinity
fi
fi
2020-04-17 05:14:58 +02:00
fi
2012-02-17 14:55:24 +01:00
%postun theme-spinfinity
if [ $1 -eq 0 ]; then
2012-03-29 11:39:12 +02:00
export LIB=%{_libdir}
2014-11-10 18:48:41 +01:00
if [ " $ ( %{_sbindir} / p l y m o u t h - s e t - d e f a u l t - t h e m e ) " = " s p i n f i n i t y " ]; then
2012-05-15 11:10:11 +02:00
%{_sbindir} /plymouth-set-default-theme -R --reset
2012-02-17 14:55:24 +01:00
fi
fi
2020-08-29 07:13:18 +02:00
%post theme-fade-in
if [ $1 -eq 1 ]; then
set -x
export LIB=%{_libdir}
OTHEME=" $ ( %{_sbindir} / p l y m o u t h - s e t - d e f a u l t - t h e m e ) "
if [ " $ O T H E M E " = " t e x t " ]; then
if [ ! -e /.buildenv ]; then
%{_sbindir} /plymouth-set-default-theme -R fade-in
else
%{_sbindir} /plymouth-set-default-theme fade-in
fi
fi
2020-04-17 05:14:58 +02:00
fi
2012-02-17 14:55:24 +01:00
%postun theme-fade-in
if [ $1 -eq 0 ]; then
2012-03-29 11:39:12 +02:00
export LIB=%{_libdir}
2014-11-10 18:48:41 +01:00
if [ " $ ( %{_sbindir} / p l y m o u t h - s e t - d e f a u l t - t h e m e ) " = " f a d e - i n " ]; then
2012-05-15 11:10:11 +02:00
%{_sbindir} /plymouth-set-default-theme -R --reset
2012-02-17 14:55:24 +01:00
fi
fi
2020-08-29 07:13:18 +02:00
%post theme-solar
if [ $1 -eq 1 ]; then
set -x
export LIB=%{_libdir}
OTHEME=" $ ( %{_sbindir} / p l y m o u t h - s e t - d e f a u l t - t h e m e ) "
if [ " $ O T H E M E " = " t e x t " ]; then
if [ ! -e /.buildenv ]; then
%{_sbindir} /plymouth-set-default-theme -R solar
else
%{_sbindir} /plymouth-set-default-theme solar
fi
fi
2020-04-17 05:14:58 +02:00
fi
2012-02-17 14:55:24 +01:00
%postun theme-solar
if [ $1 -eq 0 ]; then
2012-05-31 09:55:22 +02:00
export LIB=%{_libdir}
2014-11-10 18:48:41 +01:00
if [ " $ ( %{_sbindir} / p l y m o u t h - s e t - d e f a u l t - t h e m e ) " = " s o l a r " ]; then
2012-05-15 11:10:11 +02:00
%{_sbindir} /plymouth-set-default-theme -R --reset
2012-02-17 14:55:24 +01:00
fi
fi
%files
2020-08-29 07:13:18 +02:00
%license COPYING
%doc AUTHORS NEWS README
2012-02-17 14:55:24 +01:00
%dir %{_datadir} /plymouth
%dir %{_datadir} /plymouth/themes
%dir %{_datadir} /plymouth/themes/details
%dir %{_datadir} /plymouth/themes/text
%dir %{_localstatedir} /lib/plymouth
2012-02-23 14:08:44 +01:00
%dir %{_libdir} /plymouth
2012-02-17 14:55:24 +01:00
%dir %{_libdir} /plymouth/renderers
%dir %{_sysconfdir} /plymouth
2020-09-07 11:08:38 +02:00
%ghost %{_sysconfdir} /plymouth/plymouthd.conf
2020-10-07 17:12:36 +02:00
/etc/logrotate.d/bootlog
2020-08-29 07:13:18 +02:00
%{plymouthdaemon_execdir} /plymouthd
%{plymouthclient_execdir} /plymouth
2020-06-15 17:16:28 +02:00
/bin/plymouth
2012-02-17 14:55:24 +01:00
%{_libdir} /plymouth/details.so
%{_libdir} /plymouth/text.so
%{_libdir} /plymouth/renderers/drm*
2017-01-26 22:04:34 +01:00
%{_libdir} /plymouth/renderers/frame-buffer*
2012-02-17 14:55:24 +01:00
%{_datadir} /plymouth/default-boot-duration
%{_datadir} /plymouth/themes/details/details.plymouth
%{_datadir} /plymouth/themes/text/text.plymouth
2020-08-29 07:13:18 +02:00
%{_datadir} /plymouth/bizcom.png
2020-07-21 18:08:56 +02:00
%ghost /run/plymouth
2020-08-29 07:13:18 +02:00
%{_localstatedir} /spool/plymouth
%{_mandir} /man?/*
2020-07-21 18:08:56 +02:00
%ghost %{_localstatedir} /lib/plymouth/boot-duration
2020-08-29 07:13:18 +02:00
%{_unitdir} /*
2013-06-17 14:30:24 +02:00
%ghost %{_localstatedir} /log/boot.log
2019-03-12 14:03:43 +01:00
/usr/share/locale/
2014-04-16 16:28:58 +02:00
2020-08-30 09:03:35 +02:00
%files branding-upstream
%{_datadir} /plymouth/plymouthd.defaults
2012-11-06 19:14:20 +01:00
%files dracut
%{_libexecdir} /plymouth/plymouth-populate-initrd
%{_libexecdir} /plymouth/plymouth-generate-initrd
2012-02-17 14:55:24 +01:00
%files devel
2020-08-29 07:13:18 +02:00
%{plymouth_libdir} /libply.so
%{plymouth_libdir} /libply-splash-core.so
2012-02-17 14:55:24 +01:00
%{_libdir} /libply-boot-client.so
%{_libdir} /libply-splash-graphics.so
%{_libdir} /pkgconfig/ply-splash-core.pc
%{_libdir} /pkgconfig/ply-splash-graphics.pc
%{_libdir} /pkgconfig/ply-boot-client.pc
%{_includedir} /plymouth-1
2020-08-29 07:13:18 +02:00
%files -n libply-boot-client%{soversion}
%{_libdir} /libply-boot-client.so.%{soversion} *
2012-02-23 14:08:44 +01:00
2020-08-29 07:13:18 +02:00
%files -n libply-splash-core%{soversion}
%{plymouth_libdir} /libply-splash-core.so.%{soversion} *
2012-02-17 14:55:24 +01:00
2020-08-29 07:13:18 +02:00
%files -n libply-splash-graphics%{soversion}
%{_libdir} /libply-splash-graphics.so.%{soversion} *
2012-02-23 14:08:44 +01:00
2020-08-29 07:13:18 +02:00
%files -n libply%{soversion}
%{plymouth_libdir} /libply.so.%{soversion} *
2012-02-17 14:55:24 +01:00
%files scripts
2012-05-15 11:10:11 +02:00
%dir %{_libexecdir} /plymouth
2020-04-09 10:35:56 +02:00
%{_sbindir} /plymouth-set-default-theme
2012-05-15 11:10:11 +02:00
%{_libexecdir} /plymouth/plymouth-update-initrd
2012-02-17 14:55:24 +01:00
2020-08-29 07:13:18 +02:00
%if %{with x11_renderer}
%files x11-renderer
%{_libdir} /plymouth/renderers/x11*
%endif
2012-02-17 14:55:24 +01:00
%files plugin-label
%{_libdir} /plymouth/label.so
2020-04-18 10:20:10 +02:00
%files plugin-label-ft
%{_libdir} /plymouth/label-ft.so
2020-08-29 07:13:18 +02:00
%files plugin-fade-throbber
%{_libdir} /plymouth/fade-throbber.so
2020-07-21 18:08:56 +02:00
2020-08-29 07:13:18 +02:00
%files theme-fade-in
%dir %{_datadir} /plymouth/themes/fade-in
%{_datadir} /plymouth/themes/fade-in/bullet.png
%{_datadir} /plymouth/themes/fade-in/entry.png
%{_datadir} /plymouth/themes/fade-in/lock.png
%{_datadir} /plymouth/themes/fade-in/star.png
%{_datadir} /plymouth/themes/fade-in/fade-in.plymouth
2020-07-21 18:08:56 +02:00
2012-02-17 14:55:24 +01:00
%files theme-spinfinity
%dir %{_datadir} /plymouth/themes/spinfinity
2020-08-29 07:13:18 +02:00
%{_datadir} /plymouth/themes/spinfinity/box.png
%{_datadir} /plymouth/themes/spinfinity/bullet.png
%{_datadir} /plymouth/themes/spinfinity/entry.png
%{_datadir} /plymouth/themes/spinfinity/lock.png
2020-10-07 17:12:36 +02:00
%{_datadir} /plymouth/themes/spinfinity/capslock.png
%{_datadir} /plymouth/themes/spinfinity/header-image.png
%{_datadir} /plymouth/themes/spinfinity/keyboard.png
%{_datadir} /plymouth/themes/spinfinity/keymap-render.png
%{_datadir} /plymouth/themes/spinfinity/animation-0001.png
2020-08-29 07:13:18 +02:00
%{_datadir} /plymouth/themes/spinfinity/throbber-[0-3][0-9].png
%{_datadir} /plymouth/themes/spinfinity/spinfinity.plymouth
%files plugin-space-flares
%{_libdir} /plymouth/space-flares.so
2012-02-17 14:55:24 +01:00
%files theme-spinner
%dir %{_datadir} /plymouth/themes/spinner
2020-08-29 07:13:18 +02:00
%{_datadir} /plymouth/themes/spinner/*.*
%files theme-solar
%dir %{_datadir} /plymouth/themes/solar
%{_datadir} /plymouth/themes/solar/*.png
%{_datadir} /plymouth/themes/solar/solar.plymouth
2012-02-17 14:55:24 +01:00
2014-02-17 19:39:07 +01:00
%files theme-tribar
%dir %{_datadir} /plymouth/themes/tribar
2020-08-29 07:13:18 +02:00
%{_datadir} /plymouth/themes/tribar/*.*
2020-04-17 05:14:58 +02:00
2020-08-29 07:13:18 +02:00
%files plugin-two-step
%{_libdir} /plymouth/two-step.so
2020-04-17 05:14:58 +02:00
2020-08-29 07:13:18 +02:00
%files plugin-tribar
%{_libdir} /plymouth/tribar.so
2020-04-17 05:14:58 +02:00
2020-08-29 07:13:18 +02:00
%files plugin-script
%{_libdir} /plymouth/script.so
2020-05-05 18:33:42 +02:00
2020-08-29 07:13:18 +02:00
%files theme-script
%dir %{_datadir} /plymouth/themes/script/
%{_datadir} /plymouth/themes/script/*.png
%{_datadir} /plymouth/themes/script/script.script
%{_datadir} /plymouth/themes/script/script.plymouth
2020-07-21 18:08:56 +02:00
2020-08-29 07:13:18 +02:00
%files theme-bgrt
%dir %{_datadir} /plymouth/themes/bgrt
%{_datadir} /plymouth/themes/bgrt/*.*
2018-11-29 11:22:31 +01:00
2012-02-17 14:55:24 +01:00
%changelog