diff --git a/plymouth.spec b/plymouth.spec index 77c7d26..c89ad66 100644 --- a/plymouth.spec +++ b/plymouth.spec @@ -1,7 +1,7 @@ Name: plymouth Epoch: 3 Version: 0.9.5 -Release: 1mamba +Release: 2mamba Summary: Provides a graphical boot animation while the boot process happens in the background Group: System/Kernel and Hardware Vendor: openmamba @@ -26,7 +26,6 @@ Patch8: plymouth-0.9.3.20171122git-no-systemd-vconsole-setup.patch License: GPL ## AUTOBUILDREQ-BEGIN BuildRequires: glibc-devel -BuildRequires: ldconfig BuildRequires: libatk-devel BuildRequires: libbrotli-devel BuildRequires: libbzip2-devel @@ -36,7 +35,7 @@ BuildRequires: libfreetype-devel BuildRequires: libgdk-pixbuf-devel BuildRequires: libglib-devel BuildRequires: libgraphite2-devel -BuildRequires: libgtk-devel +BuildRequires: libgtk3-devel BuildRequires: libharfbuzz-devel BuildRequires: libpango-devel BuildRequires: libpcre-devel @@ -44,10 +43,10 @@ BuildRequires: libpng-devel BuildRequires: libudev-devel BuildRequires: libz-devel ## AUTOBUILDREQ-END -Obsoletes: splashutils -Obsoletes: miscsplashutils +Obsoletes: splashutils < 3:0.9.5-2mamba +Obsoletes: miscsplashutils < 3:0.9.5-2mamba Requires: plymouththeme -BuildRoot: %{_tmppath}/%{name}-%{version}-root +Requires: lib%{name} = %{?epoch:%epoch:}%{version}-%{release} %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. @@ -55,13 +54,27 @@ It is designed to work on systems with DRM modesetting drivers. The idea is that 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 +%package -n lib%{name} +Summary: Shared libraries provided by %{name} +Group: System/Libraries + +%description -n lib%{name} +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 -n lib%{name}-devel Summary: Devel package for %{name} Group: Development/Libraries Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release} -Obsoletes: splashutils-devel +Requires: lib%{name} = %{?epoch:%epoch:}%{version}-%{release} +Obsoletes: splashutils-devel < 3:0.9.5 +Provides: plymouth-devel +Obsoletes: plymouth-devel <= 3:0.9.5-1mamba -%description devel +%description -n lib%{name}-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). @@ -125,13 +138,13 @@ This package contains the default themes provides with plymouth. --with-background-start-color-stop=0x00993F \ --with-background-end-color-stop=0x1CD434 \ --with-release-file=%{_sysconfdir}/%{_host_vendor}-release \ - --with-system-root-install \ + --with-runtime-dir=/run \ %ifnarch %{ix86} x86_64 --disable-libdrm_intel \ --disable-libdrm_radeon \ --disable-libdrm_nouveau \ %endif -%ifarch x86_64 +%ifarch x86_64 aarch64 --libexecdir=%{_prefix}/libexec \ %endif --enable-pango \ @@ -176,47 +189,36 @@ fi %clean [ "%{buildroot}" != / ] && rm -rf "%{buildroot}" +%post -n lib%{name} -p /sbin/ldconfig +%postun -n lib%{name} -p /sbin/ldconfig + %files -f %{name}.lang %defattr(-,root,root) %config(noreplace) %{_sysconfdir}/plymouth/plymouthd.conf %{_sysconfdir}/logrotate.d/bootlog -/bin/plymouth -/sbin/plymouthd +%{_bindir}/plymouth +%{_sbindir}/plymouthd #%{_bindir}/rhgb-client %{_unitdir}/sddm-plymouth.service %{_unitdir}/kdm-plymouth.service %{_unitdir}/gdm-plymouth.service %{_unitdir}/lxdm-plymouth.service -/%{_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/initrd-switch-root.target.wants/plymouth-start.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 +%{_unitdir}/plymouth-*.service +%{_unitdir}/systemd-ask-password-plymouth.path +%{_unitdir}/systemd-ask-password-plymouth.service +%{_unitdir}/halt.target.wants/plymouth-halt.service +%{_unitdir}/initrd-switch-root.target.wants/plymouth-switch-root.service +%{_unitdir}/initrd-switch-root.target.wants/plymouth-start.service +%{_unitdir}/kexec.target.wants/plymouth-kexec.service +%{_unitdir}/multi-user.target.wants/plymouth-quit-wait.service +%{_unitdir}/multi-user.target.wants/plymouth-quit.service +%{_unitdir}/poweroff.target.wants/plymouth-poweroff.service +%{_unitdir}/reboot.target.wants/plymouth-reboot.service +%{_unitdir}/sysinit.target.wants/plymouth-read-write.service +%{_unitdir}/sysinit.target.wants/plymouth-start.service #%{_prefix}/lib/tmpfiles.d/plymouth.conf # NOTE: don't replace with %_libexecdir to avoid breaking x86_64 +%dir %{_prefix}/libexec/plymouth %{_prefix}/libexec/plymouth/plymouth-generate-initrd %{_prefix}/libexec/plymouth/plymouth-populate-initrd %{_prefix}/libexec/plymouth/plymouth-update-initrd @@ -237,21 +239,35 @@ fi %{_mandir}/man1/plymouth.1* %{_mandir}/man8/plymouthd.8* %{_mandir}/man8/plymouth.8* + +%files -n lib%{name} +%defattr(-,root,root) +%{_libdir}/libply-splash-core.so.* +%{_libdir}/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.* %doc AUTHORS COPYING -%files devel +%files -n lib%{name}-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-splash-core.la +%{_libdir}/libply-splash-core.so +%{_libdir}/libply.la +%{_libdir}/libply.so %{_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 @@ -285,6 +301,9 @@ fi %{_datadir}/plymouth/themes/tribar/* %changelog +* Sat May 01 2021 Silvan Calarco 0.9.5-2mamba +- rebuilt in /usr; added library subpackage + * Sat Nov 21 2020 Silvan Calarco 0.9.5-1mamba - update to 0.9.5