grub-theme-openmamba/grub-theme-openmamba.spec

54 lines
1.5 KiB
RPMSpec
Raw Normal View History

Name: grub-theme-openmamba
Version: 4.0
Release: 1mamba
Summary: openmamba default theme for GRUB 2
Group: System/Kernel and Hardware
Vendor: openmamba
Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: http://www.openmamba.org
Source: grub-theme-openmamba-conf
Source1: openmamba-grub-1024x768.png
License: GPL
BuildRoot: %{_tmppath}/%{name}-%{version}-root
## AUTOBUILDREQ-BEGIN
## AUTOBUILDREQ-END
BuildArch: noarch
Requires(post): grub2
%description
openmamba default theme for GRUB 2.
%prep
%build
%install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
install -D -m0755 %{SOURCE0} %{buildroot}%{_sysconfdir}/grub.d/05_theme_openmamba
install -D -m0644 %{SOURCE1} %{buildroot}/boot/grub/openmamba-grub-1024x768.png
%clean
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%post
[ -x %{_sbindir}/update-grub -a -e /boot/grub/grub.cfg ] && \
%{_sbindir}/update-grub
exit 0
%files
%defattr(-,root,root)
%{_sysconfdir}/grub.d/05_theme_openmamba
/boot/grub/openmamba-grub-1024x768.png
%changelog
* Thu Aug 25 2016 Silvan Calarco <silvan.calarco@mambasoft.it> 4.0-1mamba
- update to 4.0
- new grub theme for openmamba milestone4
* Sat Jul 24 2010 Silvan Calarco <silvan.calarco@mambasoft.it> 1.0-2mamba
- remove openmamba logo from bottom right image corner to impove console usability
* Tue May 19 2009 Silvan Calarco <silvan.calarco@mambasoft.it> 1.0-1mamba
- package created