This commit is contained in:
parent
80e306516d
commit
da7af6002c
@ -21,6 +21,8 @@
|
|||||||
%define plymouth_libdir %{_libdir}
|
%define plymouth_libdir %{_libdir}
|
||||||
%define plymouth_initrd_file /boot/initrd-plymouth.img
|
%define plymouth_initrd_file /boot/initrd-plymouth.img
|
||||||
|
|
||||||
|
%define with_systemd 0
|
||||||
|
|
||||||
Name: plymouth
|
Name: plymouth
|
||||||
#Version: %{tarversion}_git%{patchversion}
|
#Version: %{tarversion}_git%{patchversion}
|
||||||
Version: 0.8.5.1
|
Version: 0.8.5.1
|
||||||
@ -311,6 +313,7 @@ This package contains the "script" boot splash theme for
|
|||||||
Plymouth. It it is a simple example theme the uses the "script"
|
Plymouth. It it is a simple example theme the uses the "script"
|
||||||
plugin.
|
plugin.
|
||||||
|
|
||||||
|
%if with_systemd
|
||||||
%package systemd
|
%package systemd
|
||||||
Summary: systemd integration for Plymouth
|
Summary: systemd integration for Plymouth
|
||||||
Group: System/Base
|
Group: System/Base
|
||||||
@ -321,6 +324,7 @@ Provides: systemd-plymouth = 44.10.2
|
|||||||
|
|
||||||
%description systemd
|
%description systemd
|
||||||
This package contains the service files for the systemd integration
|
This package contains the service files for the systemd integration
|
||||||
|
%endif
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q
|
%setup -q
|
||||||
@ -359,6 +363,9 @@ make %{?_smp_mflags}
|
|||||||
rm -f %{buildroot}/%{_bindir}/rhgb-client
|
rm -f %{buildroot}/%{_bindir}/rhgb-client
|
||||||
rm -f %{buildroot}%{_prefix}/lib/plymouth/plymouth-generate-initrd
|
rm -f %{buildroot}%{_prefix}/lib/plymouth/plymouth-generate-initrd
|
||||||
rm -f %{buildroot}%{_prefix}/lib/plymouth/plymouth-populate-initrd
|
rm -f %{buildroot}%{_prefix}/lib/plymouth/plymouth-populate-initrd
|
||||||
|
%if ! with_systemd
|
||||||
|
rm -f %{buildroot}/lib/systemd
|
||||||
|
%endif
|
||||||
|
|
||||||
#Link the plymouth client binary also to /bin until the move to /usr is completed
|
#Link the plymouth client binary also to /bin until the move to /usr is completed
|
||||||
mkdir %{buildroot}/bin
|
mkdir %{buildroot}/bin
|
||||||
@ -632,8 +639,10 @@ fi
|
|||||||
%{_datadir}/plymouth/logo.png
|
%{_datadir}/plymouth/logo.png
|
||||||
%{_datadir}/plymouth/themes/openSUSE/
|
%{_datadir}/plymouth/themes/openSUSE/
|
||||||
|
|
||||||
|
%if with_systemd
|
||||||
%files systemd
|
%files systemd
|
||||||
%defattr(-, root, root)
|
%defattr(-, root, root)
|
||||||
/lib/systemd/system/*
|
/lib/systemd/system/*
|
||||||
|
%endif
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
Loading…
Reference in New Issue
Block a user