grubby-vl.spec 4.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142
  1. Name: grubby
  2. Version: 7.0.13
  3. Release: 4%{?_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. Vendor: Project Vine
  22. Distribution: Vine Linux
  23. %description
  24. grubby is a command line tool for updating and displaying information about
  25. the configuration files for the grub, lilo, elilo (ia64), yaboot (powerpc)
  26. and zipl (s390) boot loaders. It is primarily designed to be used from scripts
  27. which install new kernels and need to find information about the current boot
  28. environment.
  29. %prep
  30. %setup -q
  31. %patch10 -p1 -b .vine
  32. %patch20 -p1 -b .tuxonice
  33. %build
  34. make %{?_smp_mflags}
  35. %check
  36. make test
  37. %install
  38. rm -rf $RPM_BUILD_ROOT
  39. make install DESTDIR=$RPM_BUILD_ROOT mandir=%{_mandir}
  40. %clean
  41. rm -rf $RPM_BUILD_ROOT
  42. %files
  43. %defattr(-,root,root,-)
  44. %doc COPYING
  45. /sbin/installkernel
  46. /sbin/new-kernel-pkg
  47. /sbin/grubby
  48. %{_mandir}/man8/grubby.8*
  49. %changelog
  50. * Sat Dec 28 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 7.0.13-4
  51. - rebuild with VineSeed environment
  52. * Thu Mar 18 2010 Daisuke SUZUKI <daisuke@linux.or.jp> 7.0.13-3
  53. - add Patch20 to support tuxonice
  54. * Mon Feb 22 2010 Daisuke SUZUKI <daisuke@linux.or.jp> 7.0.13-2
  55. - add Patch10 (ported from mkinitrd-5)
  56. * Tue Feb 16 2010 Daisuke SUZUKI <daisuke@linux.or.jp> 7.0.13-1
  57. - initial build for Vine Linux
  58. * Thu Feb 11 2010 Peter Jones <pjones@redhat.com> - 7.0.13-1
  59. - Strip boot partition prefix from initrd path if present during --update.
  60. Related: rhbz#557922
  61. - add host only support for local kernel compiles (airlied)
  62. * Mon Feb 08 2010 Peter Jones <pjones@redhat.com> - 7.0.12-1
  63. - compare rootdev using uuid instead of stat, for better btrfs support (josef)
  64. Resolves: rhbz#530108
  65. * Mon Feb 08 2010 Peter Jones <pjones@redhat.com> - 7.0.11-1
  66. - Make it possible to update the initrd without any other change.
  67. Related: rhbz#557922
  68. * Fri Feb 05 2010 Peter Jones <pjones@redhat.com> - 7.0.10-1
  69. - Make --update able to add an initramfs.
  70. Related: rhbz#557922
  71. * Mon Nov 30 2009 Peter Jones <pjones@redhat.com> - 7.0.9-3
  72. - Use s390utils-base as the s390 dep, not s390utils
  73. Related: rhbz#540565
  74. * Tue Nov 24 2009 Peter Jones <pjones@redhat.com> - 7.0.9-2
  75. - Add s390utils dep when on s390, since new-kernel-package needs it.
  76. Resolves: rhbz#540565
  77. * Fri Oct 30 2009 Peter Jones <pjones@redhat.com> - 7.0.9-1
  78. - Add support for dracut to installkernel (notting)
  79. * Thu Oct 1 2009 Hans de Goede <hdegoede@redhat.com> - 7.0.8-1
  80. - Stop using nash
  81. * Fri Sep 11 2009 Hans de Goede <hdegoede@redhat.com> - 7.0.7-1
  82. - Remove writing rd_plytheme=$theme to kernel args in dracut mode (hansg)
  83. - Add a couple of test cases for extra initrds (rstrode)
  84. - Allow tmplLine to be NULL in getInitrdVal (rstrode)
  85. * Fri Sep 11 2009 Peter Jones <pjones@redhat.com> - 7.0.6-1
  86. - Fix test case breakage from 7.0.5 (rstrode)
  87. * Fri Sep 11 2009 Peter Jones <pjones@redhat.com> - 7.0.5-1
  88. - Add support for plymouth as a second initrd. (rstrode)
  89. Resolves: rhbz#520515
  90. * Wed Sep 09 2009 Hans de Goede <hdegoede@redhat.com> - 7.0.4-1
  91. - Add --dracut cmdline argument for %post generation of dracut initrd
  92. * Wed Aug 26 2009 Hans de Goede <hdegoede@redhat.com> - 7.0.3-1
  93. - Silence error when no /etc/sysconfig/keyboard (#517187)
  94. * Fri Aug 7 2009 Hans de Goede <hdegoede@redhat.com> - 7.0.2-1
  95. - Add --add-dracut-args new-kernel-pkg cmdline option
  96. * Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 7.0.1-2
  97. - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
  98. * Fri Jul 17 2009 Jeremy Katz <katzj@redhat.com> - 7.0.1-1
  99. - Fix blkid usage (#124246)
  100. * Wed Jun 24 2009 Jeremy Katz <katzj@redhat.com> - 7.0-1
  101. - BR libblkid-devel now instead of e2fsprogs-devel
  102. - Add bits to switch to using dracut for new-kernel-pkg
  103. * Wed Jun 3 2009 Jeremy Katz <katzj@redhat.com> - 6.0.86-2
  104. - add instructions for checking out from git
  105. * Tue Jun 2 2009 Jeremy Katz <katzj@redhat.com> - 6.0.86-1
  106. - initial build after splitting out from mkinitrd