grubby-vl.spec 4.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136
  1. Name: grubby
  2. Version: 7.0.13
  3. Release: 3%{?_dist_release}
  4. Summary: Command line tool for updating bootloader configs
  5. Summary(ja): ブートローダの設定を更新するためのコマンドラインツール
  6. Group: System Environment/Base
  7. License: GPLv2+
  8. URL: http://git.fedorahosted.org/git/grubby.git
  9. # we only pull git snaps at the moment
  10. # git clone git://git.fedorahosted.org/git/grubby.git
  11. # git archive --format=tar --prefix=grubby-%{version}/ HEAD |bzip2 > grubby-%{version}.tar.bz2
  12. Source0: %{name}-%{version}.tar.bz2
  13. Patch10: %{name}-7.0.13-vine.patch
  14. Patch20: %{name}-7.0.13-tuxonice.patch
  15. BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
  16. BuildRequires: pkgconfig glib2-devel popt-devel
  17. BuildRequires: libblkid-devel
  18. %ifarch s390 s390x
  19. Requires: s390utils-base
  20. %endif
  21. %description
  22. grubby is a command line tool for updating and displaying information about
  23. the configuration files for the grub, lilo, elilo (ia64), yaboot (powerpc)
  24. and zipl (s390) boot loaders. It is primarily designed to be used from scripts
  25. which install new kernels and need to find information about the current boot
  26. environment.
  27. %prep
  28. %setup -q
  29. %patch10 -p1 -b .vine
  30. %patch20 -p1 -b .tuxonice
  31. %build
  32. make %{?_smp_mflags}
  33. %check
  34. make test
  35. %install
  36. rm -rf $RPM_BUILD_ROOT
  37. make install DESTDIR=$RPM_BUILD_ROOT mandir=%{_mandir}
  38. %clean
  39. rm -rf $RPM_BUILD_ROOT
  40. %files
  41. %defattr(-,root,root,-)
  42. %doc COPYING
  43. /sbin/installkernel
  44. /sbin/new-kernel-pkg
  45. /sbin/grubby
  46. %{_mandir}/man8/grubby.8*
  47. %changelog
  48. * Thu Mar 18 2010 Daisuke SUZUKI <daisuke@linux.or.jp> 7.0.13-3
  49. - add Patch20 to support tuxonice
  50. * Mon Feb 22 2010 Daisuke SUZUKI <daisuke@linux.or.jp> 7.0.13-2
  51. - add Patch10 (ported from mkinitrd-5)
  52. * Tue Feb 16 2010 Daisuke SUZUKI <daisuke@linux.or.jp> 7.0.13-1
  53. - initial build for Vine Linux
  54. * Thu Feb 11 2010 Peter Jones <pjones@redhat.com> - 7.0.13-1
  55. - Strip boot partition prefix from initrd path if present during --update.
  56. Related: rhbz#557922
  57. - add host only support for local kernel compiles (airlied)
  58. * Mon Feb 08 2010 Peter Jones <pjones@redhat.com> - 7.0.12-1
  59. - compare rootdev using uuid instead of stat, for better btrfs support (josef)
  60. Resolves: rhbz#530108
  61. * Mon Feb 08 2010 Peter Jones <pjones@redhat.com> - 7.0.11-1
  62. - Make it possible to update the initrd without any other change.
  63. Related: rhbz#557922
  64. * Fri Feb 05 2010 Peter Jones <pjones@redhat.com> - 7.0.10-1
  65. - Make --update able to add an initramfs.
  66. Related: rhbz#557922
  67. * Mon Nov 30 2009 Peter Jones <pjones@redhat.com> - 7.0.9-3
  68. - Use s390utils-base as the s390 dep, not s390utils
  69. Related: rhbz#540565
  70. * Tue Nov 24 2009 Peter Jones <pjones@redhat.com> - 7.0.9-2
  71. - Add s390utils dep when on s390, since new-kernel-package needs it.
  72. Resolves: rhbz#540565
  73. * Fri Oct 30 2009 Peter Jones <pjones@redhat.com> - 7.0.9-1
  74. - Add support for dracut to installkernel (notting)
  75. * Thu Oct 1 2009 Hans de Goede <hdegoede@redhat.com> - 7.0.8-1
  76. - Stop using nash
  77. * Fri Sep 11 2009 Hans de Goede <hdegoede@redhat.com> - 7.0.7-1
  78. - Remove writing rd_plytheme=$theme to kernel args in dracut mode (hansg)
  79. - Add a couple of test cases for extra initrds (rstrode)
  80. - Allow tmplLine to be NULL in getInitrdVal (rstrode)
  81. * Fri Sep 11 2009 Peter Jones <pjones@redhat.com> - 7.0.6-1
  82. - Fix test case breakage from 7.0.5 (rstrode)
  83. * Fri Sep 11 2009 Peter Jones <pjones@redhat.com> - 7.0.5-1
  84. - Add support for plymouth as a second initrd. (rstrode)
  85. Resolves: rhbz#520515
  86. * Wed Sep 09 2009 Hans de Goede <hdegoede@redhat.com> - 7.0.4-1
  87. - Add --dracut cmdline argument for %post generation of dracut initrd
  88. * Wed Aug 26 2009 Hans de Goede <hdegoede@redhat.com> - 7.0.3-1
  89. - Silence error when no /etc/sysconfig/keyboard (#517187)
  90. * Fri Aug 7 2009 Hans de Goede <hdegoede@redhat.com> - 7.0.2-1
  91. - Add --add-dracut-args new-kernel-pkg cmdline option
  92. * Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 7.0.1-2
  93. - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
  94. * Fri Jul 17 2009 Jeremy Katz <katzj@redhat.com> - 7.0.1-1
  95. - Fix blkid usage (#124246)
  96. * Wed Jun 24 2009 Jeremy Katz <katzj@redhat.com> - 7.0-1
  97. - BR libblkid-devel now instead of e2fsprogs-devel
  98. - Add bits to switch to using dracut for new-kernel-pkg
  99. * Wed Jun 3 2009 Jeremy Katz <katzj@redhat.com> - 6.0.86-2
  100. - add instructions for checking out from git
  101. * Tue Jun 2 2009 Jeremy Katz <katzj@redhat.com> - 6.0.86-1
  102. - initial build after splitting out from mkinitrd