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

48 lines
1.3 KiB
RPMSpec

Name: grub-theme-openmamba
Version: 1.0
Release: 2mamba
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
BuildArch: noarch
PreReq: 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
* 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