plymouth-theme-openmamba/plymouth-theme-openmamba.spec

71 lines
1.9 KiB
RPMSpec

Name: plymouth-theme-openmamba
Version: 4.0.0
Release: 1mamba
Summary: Plymouth splash theme for openmamba
Group: System/Kernel and Hardware
Vendor: openmamba
Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: http://www.openmamba.org
#Source: plymouth-theme-openmamba-%{version}.tar.xz
Source: plymouth-theme-openmamba-2.90.1.tar.xz
License: GPL
## AUTOBUILDREQ-BEGIN
## AUTOBUILDREQ-END
BuildRoot: %{_tmppath}/%{name}-%{version}-root
Requires(post):plymouth
Requires: breeze-plymouth
Provides: plymouththeme
%description
Plymouth splash theme for openmamba.
%prep
%setup -q -n plymouth-theme-openmamba-2.90.1
%build
%install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%makeinstall
%clean
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%posttrans
plymouth-set-default-theme breeze
KVER=`uname -r`
INITRAMFS=/boot/initramfs-$KVER.img
if [ -e /boot/vmlinuz-$KVER ]; then
KERNEL=/boot/vmlinuz-$KVER
[ -e $INITRAMFS -a /sbin/plymouthd -nt $INITRAMFS ] || continue
[ -e $KERNEL -a -e /usr/bin/mkinitrd ] || continue
mkinitrd $INITRAMFS $KVER -f -q
fi
:
%files
%defattr(-,root,root)
%dir %{_datadir}/plymouth/themes/openmamba
%{_datadir}/plymouth/themes/openmamba/*
%doc COPYING
%changelog
* Wed Nov 15 2017 Silvan Calarco <silvan.calarco@mambasoft.it> 4.0.0-1mamba
- update to 4.0.0
* Tue Aug 27 2013 Silvan Calarco <silvan.calarco@mambasoft.it> 2.90.1-1mamba
- update to 2.90.1
* Mon Aug 26 2013 Silvan Calarco <silvan.calarco@mambasoft.it> 2.90-1mamba
- update to 2.90
* Fri Jun 21 2013 Silvan Calarco <silvan.calarco@mambasoft.it> 2.80-1mamba
- update to 2.80
* Fri Dec 02 2011 Silvan Calarco <silvan.calarco@mambasoft.it> 0.1-2mamba
- move plymouth-set-theme to posttrans script
* Thu Dec 01 2011 Silvan Calarco <silvan.calarco@mambasoft.it> 0.1-1mamba
- package created by autospec