grubby-vl.spec 4.7 KB

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