2012-02-17 14:55:24 +01:00
|
|
|
#
|
2012-02-21 21:46:41 +01:00
|
|
|
# spec file for package plymouth
|
|
|
|
#
|
2013-02-06 20:05:00 +01:00
|
|
|
# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
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
|
|
|
|
2012-02-17 14:55:24 +01:00
|
|
|
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
|
|
|
#
|
|
|
|
|
2012-02-21 21:46:41 +01:00
|
|
|
|
2012-02-17 14:55:24 +01:00
|
|
|
%define plymouthdaemon_execdir %{_sbindir}
|
|
|
|
%define plymouthclient_execdir %{_bindir}
|
|
|
|
%define plymouth_libdir %{_libdir}
|
|
|
|
%define plymouth_initrd_file /boot/initrd-plymouth.img
|
|
|
|
|
|
|
|
Name: plymouth
|
2013-09-11 07:08:23 +02:00
|
|
|
Version: 0.8.8_git201309032142
|
2012-02-21 21:46:41 +01:00
|
|
|
Release: 0
|
2012-02-23 14:08:44 +01:00
|
|
|
Summary: Graphical Boot Animation and Logger
|
2012-03-26 08:10:46 +02:00
|
|
|
License: GPL-2.0+
|
2012-02-17 14:55:24 +01:00
|
|
|
Group: System/Base
|
2012-03-26 08:10:46 +02:00
|
|
|
Url: http://freedesktop.org/software/plymouth/releases
|
2012-11-05 19:19:28 +01:00
|
|
|
Source0: %{name}-%{version}.tar.xz
|
2012-02-17 14:55:24 +01:00
|
|
|
Source1: boot-duration
|
|
|
|
# PATCH-OPENSUSE -- Support the openSUSE initrd
|
|
|
|
Patch1: suse-initrd-support
|
|
|
|
# PATCH-OPENSUSE -- Handle correctly multiple displays with different sizes
|
|
|
|
Patch3: plymouth-fix-window-size
|
2012-07-02 21:25:25 +02:00
|
|
|
# PATCH-OPENSUSE -- Ensure graphical.target is conflicting with plymouth-wait-quit.service
|
|
|
|
Patch4: stop-graphical.patch
|
2012-07-23 11:00:40 +02:00
|
|
|
# PATCH-OPENSUSE -- Restore suspend / resume state (needed for suspend package)
|
|
|
|
Patch5: plymouth-restore-suspend.patch
|
2012-11-06 19:14:20 +01:00
|
|
|
# PATCH-OPENSUSE -- prefix is /usr/sbin and /usr/bin
|
|
|
|
Patch9: plymouth-dracut-path.patch
|
2012-07-30 10:32:08 +02:00
|
|
|
Patch10: 0001-Some-greenish-openSUSE-colors.patch
|
2013-02-22 17:24:04 +01:00
|
|
|
# PATCH-OPENSUSE -- plymouth-correct-runtime-dir.patch tittiatcoke@gmail.com -- make sure the runtime directory is /run and not /var/run
|
|
|
|
Patch16: plymouth-correct-runtime-dir.patch
|
2012-02-17 14:55:24 +01:00
|
|
|
BuildRequires: automake
|
|
|
|
BuildRequires: kernel-headers
|
|
|
|
BuildRequires: libtool
|
2012-09-20 11:15:03 +02:00
|
|
|
BuildRequires: module-init-tools
|
2012-02-17 14:55:24 +01:00
|
|
|
BuildRequires: update-desktop-files
|
2012-04-05 16:46:03 +02:00
|
|
|
BuildRequires: xz
|
2012-02-17 14:55:24 +01:00
|
|
|
BuildRequires: pkgconfig(libdrm)
|
2013-04-23 10:34:36 +02:00
|
|
|
BuildRequires: pkgconfig(systemd) >= 186
|
2012-03-26 08:10:46 +02:00
|
|
|
Requires: %{name}-branding
|
2012-05-31 09:55:22 +02:00
|
|
|
Requires: gnu-unifont-bitmap-fonts
|
2012-08-06 20:27:13 +02:00
|
|
|
%ifarch %ix86 x86_64 ppc ppc64
|
2012-02-17 14:55:24 +01:00
|
|
|
Requires: suspend >= 0.80.20100129.1
|
2012-08-06 20:27:13 +02:00
|
|
|
%endif
|
2013-04-23 10:34:36 +02:00
|
|
|
Requires: systemd >= 186
|
2012-12-18 16:07:01 +01:00
|
|
|
Requires(post): plymouth-scripts = %{version}
|
2012-05-21 14:52:34 +02:00
|
|
|
Requires(post): mkinitrd
|
2012-05-29 12:03:35 +02:00
|
|
|
Suggests: plymouth-plugin-label
|
2012-06-11 12:20:12 +02:00
|
|
|
Provides: bootsplash = 3.4
|
|
|
|
Obsoletes: bootsplash <= 3.4
|
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.
|
|
|
|
|
2012-02-23 14:08:44 +01:00
|
|
|
%package -n libply-boot-client2
|
|
|
|
Summary: Plymouth core library
|
2012-02-17 14:55:24 +01:00
|
|
|
Group: Development/Libraries/C and C++
|
|
|
|
|
2012-02-23 14:08:44 +01:00
|
|
|
%description -n libply-boot-client2
|
|
|
|
This package contains the libply-boot-client library used by Plymouth.
|
|
|
|
|
|
|
|
%package -n libply-splash-core2
|
|
|
|
Summary: Plymouth core library
|
|
|
|
Group: Development/Libraries/C and C++
|
|
|
|
|
|
|
|
%description -n libply-splash-core2
|
|
|
|
This package contains the libply-splash-core library
|
|
|
|
used by graphical Plymouth splashes.
|
2012-02-17 14:55:24 +01:00
|
|
|
|
|
|
|
%package -n libply-splash-graphics2
|
|
|
|
Summary: Plymouth graphics libraries
|
|
|
|
Group: Development/Libraries/C and C++
|
|
|
|
BuildRequires: libpng-devel
|
|
|
|
|
|
|
|
%description -n libply-splash-graphics2
|
|
|
|
This package contains the libply-splash-graphics library
|
|
|
|
used by graphical Plymouth splashes.
|
|
|
|
|
2012-02-23 14:08:44 +01:00
|
|
|
%package -n libply2
|
|
|
|
Summary: Plymouth core library
|
|
|
|
Group: Development/Libraries/C and C++
|
2012-02-23 16:58:59 +01:00
|
|
|
Requires: libply-boot-client2 = %{version}
|
2012-02-23 14:08:44 +01:00
|
|
|
|
|
|
|
%description -n libply2
|
|
|
|
This package contains the libply library used by Plymouth.
|
|
|
|
|
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}
|
2012-05-12 07:57:28 +02:00
|
|
|
Requires: %{name}-x11-renderer = %{version}
|
2012-02-23 16:58:59 +01:00
|
|
|
Requires: libply-boot-client2 = %{version}
|
2012-02-23 14:08:44 +01:00
|
|
|
Requires: libply-splash-core2 = %{version}
|
|
|
|
Requires: libply-splash-graphics2 = %{version}
|
|
|
|
Requires: libply2 = %{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.
|
|
|
|
|
|
|
|
%package utils
|
|
|
|
Summary: Plymouth related utilities
|
|
|
|
Group: System/Base
|
|
|
|
BuildRequires: pkgconfig(gtk+-2.0)
|
|
|
|
Requires: %{name} = %{version}
|
|
|
|
|
|
|
|
%description utils
|
|
|
|
This package contains utilities that integrate with Plymouth
|
|
|
|
including a boot log viewing application.
|
|
|
|
|
2012-11-06 19:14:20 +01:00
|
|
|
%package dracut
|
|
|
|
Summary: Plymouth related utilities for dracut
|
|
|
|
Group: System/Base
|
|
|
|
Supplements: packageand(plymouth:dracut)
|
|
|
|
Requires: %{name} = %{version}
|
|
|
|
|
|
|
|
%description dracut
|
|
|
|
This package contains utilities that integrate dracut with Plymouth
|
|
|
|
|
2012-05-12 07:57:28 +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
|
2013-08-16 22:38:00 +02:00
|
|
|
Requires(pre): %{name} = %{version}
|
2012-02-17 14:55:24 +01:00
|
|
|
Requires: coreutils
|
|
|
|
Requires: cpio
|
|
|
|
Requires: findutils
|
2013-06-28 09:27:40 +02:00
|
|
|
Requires: pigz
|
2012-05-21 14:52:34 +02:00
|
|
|
Requires(post): mkinitrd
|
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
|
|
|
|
BuildRequires: pkgconfig(cairo)
|
|
|
|
BuildRequires: pkgconfig(pango) >= 1.21.0
|
2012-02-23 14:08:44 +01:00
|
|
|
Requires: libply-splash-core2 = %{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.
|
|
|
|
|
|
|
|
%package plugin-fade-throbber
|
|
|
|
Summary: Plymouth "Fade-Throbber" plugin
|
|
|
|
Group: System/Base
|
2012-02-23 14:08:44 +01:00
|
|
|
Requires: libply-splash-core2 = %{version}
|
|
|
|
Requires: libply-splash-graphics2 = %{version}
|
|
|
|
Requires: libply2 = %{version}
|
2012-02-17 14:55:24 +01:00
|
|
|
|
|
|
|
%description plugin-fade-throbber
|
|
|
|
This package contains the "Fade-In" 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-throbgress
|
|
|
|
Summary: Plymouth "Throbgress" plugin
|
|
|
|
Group: System/Base
|
2012-03-26 08:10:46 +02:00
|
|
|
Requires: %{name}-plugin-label = %{version}
|
2012-02-23 14:08:44 +01:00
|
|
|
Requires: libply-splash-core2 = %{version}
|
|
|
|
Requires: libply-splash-graphics2 = %{version}
|
|
|
|
Requires: libply2 = %{version}
|
2012-02-17 14:55:24 +01:00
|
|
|
|
|
|
|
%description plugin-throbgress
|
|
|
|
This package contains the "throbgress" boot splash plugin for
|
|
|
|
Plymouth. It features a centered logo and animated spinner that
|
|
|
|
spins repeatedly while a progress bar advances at the bottom of
|
|
|
|
the screen.
|
|
|
|
|
|
|
|
%package plugin-space-flares
|
|
|
|
Summary: Plymouth "space-flares" plugin
|
|
|
|
Group: System/Base
|
2012-03-26 08:10:46 +02:00
|
|
|
Requires: %{name}-plugin-label = %{version}
|
2012-02-23 14:08:44 +01:00
|
|
|
Requires: libply-splash-core2 = %{version}
|
|
|
|
Requires: libply-splash-graphics2 = %{version}
|
|
|
|
Requires: libply2 = %{version}
|
2012-02-17 14:55:24 +01:00
|
|
|
|
|
|
|
%description plugin-space-flares
|
|
|
|
This package contains the "space-flares" boot splash plugin for
|
|
|
|
Plymouth. It features a corner image with animated flares.
|
|
|
|
|
|
|
|
%package plugin-two-step
|
|
|
|
Summary: Plymouth "two-step" plugin
|
|
|
|
Group: System/Base
|
2012-02-23 14:08:44 +01:00
|
|
|
Requires: libply-splash-core2 = %{version}
|
|
|
|
Requires: libply-splash-graphics2 = %{version}
|
|
|
|
Requires: libply2 = %{version}
|
2013-06-28 09:27:40 +02:00
|
|
|
Requires: plymouth-plugin-label = %{version}
|
2012-02-17 14:55:24 +01:00
|
|
|
|
|
|
|
%description plugin-two-step
|
|
|
|
This package contains the "two-step" 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.
|
|
|
|
|
|
|
|
%package plugin-script
|
|
|
|
Summary: Plymouth "script" plugin
|
|
|
|
Group: System/Base
|
2012-02-23 14:08:44 +01:00
|
|
|
Requires: libply-splash-core2 = %{version}
|
|
|
|
Requires: libply-splash-graphics2 = %{version}
|
|
|
|
Requires: libply2 = %{version}
|
2012-02-17 14:55:24 +01:00
|
|
|
|
|
|
|
%description plugin-script
|
|
|
|
This package contains the "script" boot splash plugin for
|
|
|
|
Plymouth. It features an extensible, scriptable boot splash
|
|
|
|
language that simplifies the process of designing custom
|
|
|
|
boot splash themes.
|
|
|
|
|
|
|
|
%package theme-fade-in
|
|
|
|
Summary: Plymouth "Fade-In" theme
|
|
|
|
Group: System/Base
|
|
|
|
Requires: %{name}-plugin-fade-throbber = %{version}
|
2013-06-28 09:27:40 +02:00
|
|
|
Requires: plymouth-plugin-label = %{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-fade-in
|
|
|
|
This package contains the "Fade-In" 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.
|
|
|
|
|
|
|
|
%package theme-spinfinity
|
|
|
|
Summary: Plymouth "Spinfinity" theme
|
|
|
|
Group: System/Base
|
|
|
|
Requires: %{name}-plugin-throbgress = %{version}
|
2012-05-13 21:22:32 +02:00
|
|
|
Requires(pre): %{name}
|
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-spinfinity
|
|
|
|
This package contains the "Spinfinity" 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 "Spinner" 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 "spinner" boot splash theme for
|
|
|
|
Plymouth.
|
|
|
|
|
|
|
|
%package theme-solar
|
|
|
|
Summary: Plymouth "Solar" theme
|
|
|
|
Group: System/Base
|
|
|
|
Requires: %{name}-plugin-space-flares = %{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-solar
|
|
|
|
This package contains the "Solar" boot splash theme for
|
|
|
|
Plymouth. It features a blue flamed sun with animated solar flares.
|
|
|
|
|
|
|
|
%package theme-script
|
|
|
|
Summary: Plymouth "Script" plugin
|
|
|
|
Group: System/Base
|
|
|
|
Requires: %{name}-plugin-script = %{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-script
|
|
|
|
This package contains the "script" boot splash theme for
|
|
|
|
Plymouth. It it is a simple example theme the uses the "script"
|
|
|
|
plugin.
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%setup -q
|
|
|
|
%patch1 -p1
|
|
|
|
%patch3 -p1
|
2012-07-02 21:25:25 +02:00
|
|
|
%patch4 -p1
|
2012-08-06 20:27:13 +02:00
|
|
|
%ifarch %ix86 x86_64 ppc ppc64
|
2012-07-23 11:00:40 +02:00
|
|
|
%patch5 -p1
|
2012-08-06 20:27:13 +02:00
|
|
|
%endif
|
2012-11-06 19:14:20 +01:00
|
|
|
%patch9 -p0
|
2012-08-08 16:39:00 +02:00
|
|
|
%patch10 -p1
|
2013-02-22 17:24:04 +01:00
|
|
|
%patch16 -p1
|
2012-02-17 14:55:24 +01:00
|
|
|
# replace builddate with patch0date
|
|
|
|
sed -i "s/__DATE__/\"$(stat -c %y %{_sourcedir}/%{name}.changes)\"/" src/main.c
|
|
|
|
|
|
|
|
# Change the default theme
|
2012-06-04 20:36:53 +02:00
|
|
|
sed -i -e 's/fade-in/openSUSE/g' src/plymouthd.defaults
|
2012-02-17 14:55:24 +01:00
|
|
|
|
|
|
|
%build
|
|
|
|
autoreconf -fiv
|
|
|
|
%configure --disable-static \
|
|
|
|
--enable-systemd-integration \
|
|
|
|
--enable-tracing --disable-tests \
|
|
|
|
--with-background-start-color-stop=0x1A3D1F \
|
|
|
|
--with-background-end-color-stop=0x4EA65C \
|
|
|
|
--with-background-color=0x3391cd \
|
|
|
|
--disable-gdm-transition \
|
|
|
|
--without-system-root-install \
|
|
|
|
--with-log-viewer \
|
|
|
|
--without-rhgb-compat-link \
|
|
|
|
--with-boot-tty=/dev/tty7 \
|
|
|
|
--with-shutdown-tty=/dev/tty1 \
|
2012-07-30 10:32:08 +02:00
|
|
|
--without-gdm-autostart-file \
|
|
|
|
--with-release-file=/etc/os-release
|
2012-02-17 14:55:24 +01:00
|
|
|
|
2012-11-05 19:19:28 +01:00
|
|
|
make %{?_smp_mflags} V=1
|
2012-02-17 14:55:24 +01:00
|
|
|
|
|
|
|
%install
|
|
|
|
|
|
|
|
%make_install
|
|
|
|
rm -f %{buildroot}/%{_bindir}/rhgb-client
|
2012-06-29 13:54:05 +02:00
|
|
|
|
2012-02-17 19:05:45 +01:00
|
|
|
#Link the plymouth client binary also to /bin until the move to /usr is completed
|
|
|
|
mkdir %{buildroot}/bin
|
2012-02-17 19:42:47 +01:00
|
|
|
(cd %{buildroot}/bin; ln -s ../usr/bin/plymouth)
|
2012-02-17 19:05:45 +01:00
|
|
|
|
2012-02-17 14:55:24 +01: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
|
|
|
|
|
|
|
|
find %{buildroot} -name '*.a' -exec rm -f {} \;
|
|
|
|
find %{buildroot} -name '*.la' -exec rm -f {} \;
|
|
|
|
|
|
|
|
mkdir -p %{buildroot}%{_localstatedir}/lib/plymouth
|
2013-02-22 17:24:04 +01:00
|
|
|
mkdir -p %{buildroot}/run/plymouth
|
2013-06-17 14:30:24 +02:00
|
|
|
mkdir -p %{buildroot}%{_localstatedir}/log
|
|
|
|
touch %{buildroot}%{_localstatedir}/log/boot.log
|
|
|
|
touch %{buildroot}%{_localstatedir}/spool/plymouth/boot.log
|
2012-02-17 14:55:24 +01:00
|
|
|
cp $RPM_SOURCE_DIR/boot-duration %{buildroot}%{_datadir}/plymouth/default-boot-duration
|
|
|
|
cp $RPM_SOURCE_DIR/boot-duration %{buildroot}%{_localstatedir}/lib/plymouth
|
2012-06-04 21:13:15 +02:00
|
|
|
cp %{buildroot}/%{_datadir}/plymouth/plymouthd.defaults %{buildroot}/%{_sysconfdir}/plymouth/plymouth.conf
|
2012-02-17 14:55:24 +01:00
|
|
|
|
|
|
|
mkdir -p %{buildroot}/lib/mkinitrd/scripts
|
|
|
|
install -t %{buildroot}/lib/mkinitrd/scripts \
|
|
|
|
scripts/{setup,boot}-plymouth*.sh
|
|
|
|
|
|
|
|
%post
|
2012-05-21 14:52:34 +02:00
|
|
|
if [ ! -e /.buildenv ]; then
|
|
|
|
[ -f %{_localstatedir}/lib/plymouth/boot-duration ] || cp -f %{_datadir}/plymouth/default-boot-duration %{_localstatedir}/lib/plymouth/boot-duration
|
|
|
|
%{_libexecdir}/plymouth/plymouth-update-initrd
|
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
|
|
|
|
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
|
|
|
|
|
|
|
%post scripts -p /sbin/mkinitrd_setup
|
2012-06-21 16:20:37 +02:00
|
|
|
|
2012-02-17 14:55:24 +01:00
|
|
|
%postun scripts -p /sbin/mkinitrd_setup
|
|
|
|
|
2012-02-23 14:08:44 +01:00
|
|
|
%post -n libply-boot-client2 -p /sbin/ldconfig
|
2012-06-21 16:20:37 +02:00
|
|
|
|
2012-02-23 14:08:44 +01:00
|
|
|
%postun -n libply-boot-client2 -p /sbin/ldconfig
|
|
|
|
|
|
|
|
%post -n libply-splash-core2 -p /sbin/ldconfig
|
2012-06-21 16:20:37 +02:00
|
|
|
|
2012-02-23 14:08:44 +01:00
|
|
|
%postun -n libply-splash-core2 -p /sbin/ldconfig
|
2012-02-17 14:55:24 +01:00
|
|
|
|
|
|
|
%post -n libply-splash-graphics2 -p /sbin/ldconfig
|
2012-06-21 16:20:37 +02:00
|
|
|
|
2012-02-17 14:55:24 +01:00
|
|
|
%postun -n libply-splash-graphics2 -p /sbin/ldconfig
|
|
|
|
|
2012-02-23 14:08:44 +01:00
|
|
|
%post -n libply2 -p /sbin/ldconfig
|
2012-06-21 16:20:37 +02:00
|
|
|
|
2012-02-23 14:08:44 +01:00
|
|
|
%postun -n libply2 -p /sbin/ldconfig
|
|
|
|
|
2012-02-17 14:55:24 +01:00
|
|
|
%post theme-spinfinity
|
2013-02-28 22:14:02 +01:00
|
|
|
if [ $1 -eq 1 ]; then
|
|
|
|
set -x
|
|
|
|
export LIB=%{_libdir}
|
|
|
|
OTHEME="$(%{_sbindir}/plymouth-set-default-theme)"
|
|
|
|
if [ "$OTHEME" == "text" ]; then
|
|
|
|
if [ ! -e /.buildenv ]; then
|
|
|
|
%{_sbindir}/plymouth-set-default-theme -R spinfinity
|
|
|
|
else
|
|
|
|
%{_sbindir}/plymouth-set-default-theme spinfinity
|
|
|
|
fi
|
|
|
|
fi
|
2012-02-17 14:55:24 +01:00
|
|
|
fi
|
|
|
|
|
|
|
|
%postun theme-spinfinity
|
|
|
|
if [ $1 -eq 0 ]; then
|
2012-03-29 11:39:12 +02:00
|
|
|
export LIB=%{_libdir}
|
2012-02-17 14:55:24 +01:00
|
|
|
if [ "$(%{_sbindir}/plymouth-set-default-theme)" == "spinfinity" ]; 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
|
|
|
|
|
|
|
|
%post theme-fade-in
|
2013-02-28 22:14:02 +01:00
|
|
|
if [ $1 -eq 1 ]; then
|
|
|
|
set -x
|
|
|
|
export LIB=%{_libdir}
|
|
|
|
OTHEME="$(%{_sbindir}/plymouth-set-default-theme)"
|
|
|
|
if [ "$OTHEME" == "text" ]; then
|
|
|
|
if [ ! -e /.buildenv ]; then
|
|
|
|
%{_sbindir}/plymouth-set-default-theme -R fade-in
|
|
|
|
else
|
|
|
|
%{_sbindir}/plymouth-set-default-theme fade-in
|
|
|
|
fi
|
|
|
|
fi
|
2012-02-17 14:55:24 +01:00
|
|
|
fi
|
|
|
|
|
|
|
|
%postun theme-fade-in
|
|
|
|
if [ $1 -eq 0 ]; then
|
2012-03-29 11:39:12 +02:00
|
|
|
export LIB=%{_libdir}
|
2012-02-17 14:55:24 +01:00
|
|
|
if [ "$(%{_sbindir}/plymouth-set-default-theme)" == "fade-in" ]; 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
|
|
|
|
|
|
|
|
%post theme-solar
|
2013-02-28 22:14:02 +01:00
|
|
|
if [ $1 -eq 1 ]; then
|
|
|
|
set -x
|
|
|
|
export LIB=%{_libdir}
|
|
|
|
OTHEME="$(%{_sbindir}/plymouth-set-default-theme)"
|
|
|
|
if [ "$OTHEME" == "text" ]; then
|
|
|
|
if [ ! -e /.buildenv ]; then
|
|
|
|
%{_sbindir}/plymouth-set-default-theme -R solar
|
|
|
|
else
|
|
|
|
%{_sbindir}/plymouth-set-default-theme solar
|
|
|
|
fi
|
|
|
|
fi
|
2012-02-17 14:55:24 +01:00
|
|
|
fi
|
|
|
|
|
|
|
|
%postun theme-solar
|
|
|
|
if [ $1 -eq 0 ]; then
|
2012-05-31 09:55:22 +02:00
|
|
|
export LIB=%{_libdir}
|
2012-02-17 14:55:24 +01:00
|
|
|
if [ "$(%{_sbindir}/plymouth-set-default-theme)" == "solar" ]; 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
|
|
|
|
%defattr(-, root, root)
|
|
|
|
%doc AUTHORS NEWS README
|
|
|
|
%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
|
2012-07-27 15:08:57 +02:00
|
|
|
%config(noreplace) %{_sysconfdir}/plymouth/plymouthd.conf
|
|
|
|
%config(noreplace) %{_sysconfdir}/plymouth/plymouth.conf
|
2012-02-17 14:55:24 +01:00
|
|
|
%{plymouthdaemon_execdir}/plymouthd
|
|
|
|
%{plymouthclient_execdir}/plymouth
|
2012-02-17 23:13:48 +01:00
|
|
|
/bin/plymouth
|
2012-02-17 14:55:24 +01:00
|
|
|
%{_libdir}/plymouth/details.so
|
|
|
|
%{_libdir}/plymouth/text.so
|
|
|
|
%{_libdir}/plymouth/renderers/drm*
|
|
|
|
%{_libdir}/plymouth/renderers/frame-buffer*
|
|
|
|
%{_datadir}/plymouth/default-boot-duration
|
|
|
|
%{_datadir}/plymouth/themes/details/details.plymouth
|
|
|
|
%{_datadir}/plymouth/themes/text/text.plymouth
|
|
|
|
%{_datadir}/plymouth/plymouthd.defaults
|
2012-07-27 15:08:57 +02:00
|
|
|
%{_datadir}/plymouth/bizcom.png
|
2013-02-22 17:24:04 +01:00
|
|
|
%ghost /run/plymouth
|
2012-02-17 14:55:24 +01:00
|
|
|
%{_localstatedir}/spool/plymouth
|
|
|
|
%{_mandir}/man?/*
|
|
|
|
%ghost %{_localstatedir}/lib/plymouth/boot-duration
|
2012-11-05 19:19:28 +01:00
|
|
|
%{_unitdir}/*
|
2013-06-17 14:30:24 +02:00
|
|
|
%ghost %{_localstatedir}/log/boot.log
|
|
|
|
%ghost %{_localstatedir}/spool/plymouth/boot.log
|
2012-11-06 19:14:20 +01:00
|
|
|
%files dracut
|
|
|
|
%defattr(-, root, root)
|
|
|
|
%{_libexecdir}/plymouth/plymouth-populate-initrd
|
|
|
|
%{_libexecdir}/plymouth/plymouth-generate-initrd
|
|
|
|
|
2012-02-17 14:55:24 +01:00
|
|
|
%files devel
|
|
|
|
%defattr(-, root, root)
|
|
|
|
%{plymouth_libdir}/libply.so
|
|
|
|
%{plymouth_libdir}/libply-splash-core.so
|
|
|
|
%{_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
|
|
|
|
|
2012-02-23 14:08:44 +01:00
|
|
|
%files -n libply-boot-client2
|
2012-02-17 14:55:24 +01:00
|
|
|
%defattr(-, root, root)
|
2012-02-23 14:08:44 +01:00
|
|
|
%{_libdir}/libply-boot-client.so.2*
|
|
|
|
|
|
|
|
%files -n libply-splash-core2
|
|
|
|
%defattr(-, root, root)
|
|
|
|
%{plymouth_libdir}/libply-splash-core.so.2*
|
2012-02-17 14:55:24 +01:00
|
|
|
|
|
|
|
%files -n libply-splash-graphics2
|
|
|
|
%defattr(-, root, root)
|
2012-02-23 14:08:44 +01:00
|
|
|
%{_libdir}/libply-splash-graphics.so.2*
|
|
|
|
|
|
|
|
%files -n libply2
|
|
|
|
%defattr(-, root, root)
|
|
|
|
%{plymouth_libdir}/libply.so.2*
|
2012-02-17 14:55:24 +01:00
|
|
|
|
|
|
|
%files scripts
|
|
|
|
%defattr(-, root, root)
|
2012-05-15 11:10:11 +02:00
|
|
|
%dir %{_libexecdir}/plymouth
|
2012-02-17 14:55:24 +01: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
|
|
|
/lib/mkinitrd/scripts/boot-plymouth.sh
|
|
|
|
/lib/mkinitrd/scripts/boot-plymouth.chroot.sh
|
|
|
|
/lib/mkinitrd/scripts/setup-plymouth.sh
|
|
|
|
|
|
|
|
%files utils
|
|
|
|
%defattr(-, root, root)
|
|
|
|
%{_bindir}/plymouth-log-viewer
|
|
|
|
|
2012-05-12 07:57:28 +02:00
|
|
|
%files x11-renderer
|
|
|
|
%defattr(-,root,root,-)
|
|
|
|
%{_libdir}/plymouth/renderers/x11*
|
|
|
|
|
2012-02-17 14:55:24 +01:00
|
|
|
%files plugin-label
|
|
|
|
%defattr(-, root, root)
|
|
|
|
%{_libdir}/plymouth/label.so
|
|
|
|
|
|
|
|
%files plugin-fade-throbber
|
|
|
|
%defattr(-, root, root)
|
|
|
|
%{_libdir}/plymouth/fade-throbber.so
|
|
|
|
|
|
|
|
%files theme-fade-in
|
|
|
|
%defattr(-, root, root)
|
|
|
|
%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
|
|
|
|
|
|
|
|
%files plugin-throbgress
|
|
|
|
%defattr(-, root, root)
|
|
|
|
%{_libdir}/plymouth/throbgress.so
|
|
|
|
|
|
|
|
%files theme-spinfinity
|
|
|
|
%defattr(-, root, root)
|
|
|
|
%dir %{_datadir}/plymouth/themes/spinfinity
|
|
|
|
%{_datadir}/plymouth/themes/spinfinity/box.png
|
|
|
|
%{_datadir}/plymouth/themes/spinfinity/bullet.png
|
|
|
|
%{_datadir}/plymouth/themes/spinfinity/entry.png
|
|
|
|
%{_datadir}/plymouth/themes/spinfinity/lock.png
|
|
|
|
%{_datadir}/plymouth/themes/spinfinity/throbber-[0-3][0-9].png
|
|
|
|
%{_datadir}/plymouth/themes/spinfinity/spinfinity.plymouth
|
|
|
|
|
|
|
|
%files plugin-space-flares
|
|
|
|
%defattr(-, root, root)
|
|
|
|
%{_libdir}/plymouth/space-flares.so
|
|
|
|
|
|
|
|
%files theme-spinner
|
|
|
|
%defattr(-, root, root)
|
|
|
|
%dir %{_datadir}/plymouth/themes/spinner
|
|
|
|
%{_datadir}/plymouth/themes/spinner/*.*
|
|
|
|
|
|
|
|
%files theme-solar
|
|
|
|
%defattr(-, root, root)
|
|
|
|
%dir %{_datadir}/plymouth/themes/solar
|
|
|
|
%{_datadir}/plymouth/themes/solar/*.png
|
|
|
|
%{_datadir}/plymouth/themes/solar/solar.plymouth
|
|
|
|
|
|
|
|
%files plugin-two-step
|
|
|
|
%defattr(-, root, root)
|
|
|
|
%{_libdir}/plymouth/two-step.so
|
|
|
|
|
|
|
|
%files plugin-script
|
|
|
|
%defattr(-, root, root)
|
|
|
|
%{_libdir}/plymouth/script.so
|
|
|
|
|
|
|
|
%files theme-script
|
|
|
|
%defattr(-, root, root)
|
|
|
|
%dir %{_datadir}/plymouth/themes/script/
|
|
|
|
%{_datadir}/plymouth/themes/script/*.png
|
|
|
|
%{_datadir}/plymouth/themes/script/script.script
|
|
|
|
%{_datadir}/plymouth/themes/script/script.plymouth
|
|
|
|
|
|
|
|
%changelog
|