###############################################################################
name = plymouth
-version = 0.8.8
+version = 0.9.0
release = 1
groups = System/Base
autoconf
automake
cairo-devel
+ docbook-xsl
glib2-devel
pkgconfig(libdrm)
- pkgconfig(libdrm_radeon)
- pkgconfig(libdrm_nouveau)
libpng-devel
+ libudev-devel
pango-devel
end
- enable_libdrm_intel = 0
-
- if "%{DISTRO_PLATFORM}" == "x86"
- enable_libdrm_intel = 1
- requires += pkgconfig(libdrm_intel)
- end
-
- CFLAGS += -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include
-
configure_options += \
--libexecdir=/usr/lib \
--disable-libkms \
--without-rhgb-compat-link \
--without-log-viewer
- if "%{enable_libdrm_intel}" == "0"
- configure_options += --disable-libdrm_intel
- end
-
prepare_cmds
autoreconf -vfi
end
cp -vf %{DIR_SOURCE}/boot-duration \
%{BUILDROOT}%{localstatedir}/lib/plymouth
- # Override plymouth-update-initrd to work dracut or mkinitrd
- cp -vf %{DIR_SOURCE}/plymouth-update-initrd \
- %{BUILDROOT}/usr/lib/plymouth/plymouth-update-initrd
- chmod 755 %{BUILDROOT}/usr/lib/plymouth/plymouth-update-initrd
+ # The "glow" theme isn't quite ready for primetime, so drop it.
+ rm -rvf %{BUILDROOT}%{datadir}/plymouth/themes/glow
+ rm -rvf %{BUILDROOT}%{datadir}/plymouth/glow/
+ rm -rvf %{BUILDROOT}%{libdir}/plymouth/glow.so
end
end
end
script postun
- if [ "$(%{sbindir}/plymouth-set-default-theme)" = %{theme_name}" ]; then
+ if [ "$(%{sbindir}/plymouth-set-default-theme)" = "%{theme_name}" ]; then
%{sbindir}/plymouth-set-default-theme --reset
/usr/lib/plymouth/plymouth-generate-initrd
fi