diff --git a/.cvsignore b/.cvsignore index e69de29..9e51898 100644 --- a/.cvsignore +++ b/.cvsignore @@ -0,0 +1 @@ +grubby-7.0.tar.bz2 diff --git a/grubby.spec b/grubby.spec new file mode 100644 index 0000000..bd73e42 --- /dev/null +++ b/grubby.spec @@ -0,0 +1,61 @@ +Name: grubby +Version: 7.0 +Release: 1%{?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: pkgconfig glib2-devel popt-devel +BuildRequires: libblkid-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 24 2009 Jeremy Katz - 7.0-1 +- BR libblkid-devel now instead of e2fsprogs-devel +- Add bits to switch to using dracut for new-kernel-pkg + +* 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 + diff --git a/import.log b/import.log new file mode 100644 index 0000000..c2f2332 --- /dev/null +++ b/import.log @@ -0,0 +1 @@ +grubby-7_0-1_fc11:HEAD:grubby-7.0-1.fc11.src.rpm:1245867195 diff --git a/sources b/sources index e69de29..9ae3dc8 100644 --- a/sources +++ b/sources @@ -0,0 +1 @@ +6c2fe5d01dc392abb8d05d43fc79416a grubby-7.0.tar.bz2