efibootmgr-vl.spec 3.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108
  1. %global build_ldflags %{nil}
  2. Summary: EFI Boot Manager
  3. Name: efibootmgr
  4. Version: 17
  5. Release: 1%{?_dist_release}
  6. Group: System Environment/Base
  7. Vendor: Project Vine
  8. Distribution: Vine Linux
  9. Packager: tomop
  10. License: GPLv2+
  11. URL: https://github.com/rhboot/efibootmgr/
  12. BuildRequires: git popt-devel
  13. BuildRequires: efivar-libs >= 37
  14. BuildRequires: efivar-devel >= 37
  15. BuildRequires: efi-srpm-macros >= 3-2
  16. BuildRequires: efi-filesystem
  17. Requires: efi-filesystem
  18. BuildRoot: %(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXXXX)
  19. # EFI/UEFI don't exist on PPC
  20. ExclusiveArch: %{ix86} x86_64 aarch64
  21. Source0: https://github.com/rhboot/efibootmgr/archive/%{version}.tar.gz#/%{name}-%{version}.tar.gz
  22. %description
  23. %{name} displays and allows the user to edit the Intel Extensible
  24. Firmware Interface (EFI) Boot Manager variables. Additional
  25. information about EFI can be found at
  26. http://developer.intel.com/technology/efi/efi.htm and http://uefi.org/.
  27. %prep
  28. %autosetup -S git
  29. git config --local --add efibootmgr.efidir %{efi_vendor}
  30. %ifarch x86_64
  31. sed -i -e "s/grub\.efi/grubx64.efi/" Make.defaults
  32. %endif
  33. sed -i \
  34. -e "/extern int efi_set_verbose/d" \
  35. src/efibootmgr.c
  36. %build
  37. %make_build CFLAGS='%{optflags} -Wno-pointer-sign' LDFLAGS='%{build_ldflags}'
  38. %install
  39. rm -rf %{buildroot}
  40. %make_install libdir=%{_libdir} bindir=%{_bindir} mandir=%{_mandir} \
  41. localedir=%{_datadir}/locale/ includedir=%{_includedir} \
  42. libexecdir=%{_libexecdir} datadir=%{_datadir}
  43. %clean
  44. rm -rf %{buildroot}
  45. %files
  46. %{!?_licensedir:%global license %%doc}
  47. %license COPYING
  48. %{_sbindir}/*
  49. %{_mandir}/*/*.?.gz
  50. %doc README
  51. %changelog
  52. * Wed Jul 29 2020 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> - 17-1
  53. - new upstream release.
  54. * Sat Sep 14 2019 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> - 16-1
  55. - new upstream release.
  56. * Tue Dec 15 2015 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> - 0.12-3
  57. - initial build for Vine Linux.
  58. * Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.12-2
  59. - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
  60. * Thu May 28 2015 Peter Jones <pjones@redhat.com> - 0.12-1
  61. - Update to 0.12
  62. - use libefiboot and libefivar to make device paths and load options
  63. - don't depend on -lz or -lpci any more
  64. * Tue Oct 21 2014 Peter Jones <pjones@redhat.com> - 0.11.0-1
  65. - Fix "-n" and friends not being assigned/checked right sometimes from 0.10.0-1
  66. - Generate more archives to avoid people using github's, because they're just
  67. bad.
  68. * Mon Oct 20 2014 Peter Jones <pjones@redhat.com> - 0.10.0-1
  69. - Make -o parameter validation work better and be more informative
  70. - Better exit values
  71. - Fix a segfault with appending ascii arguments.
  72. * Tue Sep 09 2014 Peter Jones <pjones@redhat.com> - 0.8.0-1
  73. - Release 0.8.0
  74. * Mon Jan 13 2014 Peter Jones <pjones@redhat.com> - 0.6.1-1
  75. - Release 0.6.1
  76. * Mon Jan 13 2014 Jared Dominguez <Jared_Dominguez@dell.com>
  77. - new home https://github.com/vathpela/efibootmgr
  78. * Thu Jan 3 2008 Matt Domsch <Matt_Domsch@dell.com> 0.5.4-1
  79. - split efibootmgr into its own RPM for Fedora/RHEL.
  80. * Tue Aug 24 2004 Matt Domsch <Matt_Domsch@dell.com>
  81. - new home linux.dell.com
  82. * Fri May 18 2001 Matt Domsch <Matt_Domsch@dell.com>
  83. - See doc/ChangeLog