Name: grubby Version: 6.0.86 Release: 2%{?dist} Summary: Command line tool for updating bootloader configs Group: System Environment/Base License: GPLv2+ URL: http://git.fedorahosted.org/git/grubby.git # we only pull git snaps at the moment # git clone git://git.fedorahosted.org/git/grubby.git # git archive --format=tar --prefix=grubby-%{version}/ HEAD |bzip2 > grubby-%{version}.tar.bz2 Source0: %{name}-%{version}.tar.bz2 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildRequires: e2fsprogs-devel pkgconfig glib2-devel popt-devel %description grubby is a command line tool for updating and displaying information about the configuration files for the grub, lilo, elilo (ia64), yaboot (powerpc) and zipl (s390) boot loaders. It is primarily designed to be used from scripts which install new kernels and need to find information about the current boot environment. %prep %setup -q %build make %{?_smp_mflags} %check make test %install rm -rf $RPM_BUILD_ROOT make install DESTDIR=$RPM_BUILD_ROOT mandir=%{_mandir} %clean rm -rf $RPM_BUILD_ROOT %files %defattr(-,root,root,-) %doc COPYING /sbin/installkernel /sbin/new-kernel-pkg /sbin/grubby %{_mandir}/man8/grubby.8* %changelog * Wed Jun 3 2009 Jeremy Katz - 6.0.86-2 - add instructions for checking out from git * Tue Jun 2 2009 Jeremy Katz - 6.0.86-1 - initial build after splitting out from mkinitrd