efivar-vl.spec 4.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172
  1. Name: efivar
  2. Summary: Tools to manage UEFI variables
  3. Version: 37
  4. Release: 2%{?_dist_release}
  5. Vendor: Project Vine
  6. Distribution: Vine Linux
  7. Packager: tomop
  8. License: LGPLv2.1
  9. URL: https://github.com/rhinstaller/efivar
  10. Requires: %{name}-libs = %{version}-%{release}
  11. ExclusiveArch: %{ix86} x86_64 aarch64
  12. BuildRequires: popt-devel
  13. Source0: https://github.com/rhinstaller/efivar/releases/download/efivar-%{version}/efivar-%{version}.tar.bz2
  14. Patch0: efivar-37-HEAD.patch
  15. %description
  16. efivar provides a simple command line interface to the UEFI variable facility.
  17. %package libs
  18. Summary: Library to manage UEFI variables
  19. %description libs
  20. Library to allow for the simple manipulation of UEFI variables.
  21. %package devel
  22. Summary: Development headers for libefivar
  23. Requires: %{name}-libs = %{version}-%{release}
  24. %description devel
  25. development headers required to use libefivar.
  26. %prep
  27. %setup -q -n %{name}-%{version}
  28. %patch0 -p1
  29. %build
  30. make libdir=%{_libdir} bindir=%{_bindir} OPT_FLAGS="$RPM_OPT_FLAGS"
  31. %install
  32. rm -rf $RPM_BUILD_ROOT
  33. %makeinstall
  34. %clean
  35. rm -rf $RPM_BUILD_ROOT
  36. %post libs
  37. /sbin/ldconfig
  38. %postun libs
  39. /sbin/ldconfig
  40. %files
  41. %{!?_licensedir:%global license %%doc}
  42. %license COPYING
  43. %doc README.md
  44. %{_bindir}/efivar
  45. %{_mandir}/man1/*
  46. %files devel
  47. %{_mandir}/man3/*
  48. %{_includedir}/*
  49. %{_libdir}/*.so
  50. %{_libdir}/pkgconfig/*.pc
  51. %files libs
  52. %{_libdir}/*.so.*
  53. %changelog
  54. * Wed Jul 29 2020 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> - 37-2
  55. - imported patches from upstream git.
  56. * Sat Sep 14 2019 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> - 37-1
  57. - new upstream release.
  58. - dropped Patch0.
  59. * Tue Dec 15 2015 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> - 0.21-3
  60. - initial build for Vine Linux.
  61. - added Patch0.
  62. * Mon Nov 02 2015 Peter Jones <pjones@redhat.com> - 0.21-2
  63. - Bump the release here so f22->f23->f24 updates work.
  64. * Mon Jul 13 2015 Peter Jones <pjones@redhat.com> - 0.21-1
  65. - Rename "make test" so packagers don't think it's a good idea to run it
  66. during builds.
  67. - Error check sizes in vars_get_variable()
  68. - Fix some file size comparisons
  69. - make SONAME reflect the correct values.
  70. - Fix some uses of "const"
  71. - Compile with -O2 by default
  72. - Fix some strict-aliasing violations
  73. - Fix some of the .pc files and how we do linking to work better.
  74. * Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.20-2
  75. - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
  76. * Tue Jun 02 2015 Peter Jones <pjones@redhat.com> - 0.20-1
  77. - Update to 0.20
  78. - Make sure tester is build with the right link order for libraries.
  79. - Adjust linker order for pkg-config
  80. - Work around LocateDevicePath() not grokking PcieRoot() devices properly.
  81. - Rectify some missing changelog entries
  82. * Thu May 28 2015 Peter Jones <pjones@redhat.com> - 0.19-1
  83. - Update to 0.19
  84. - add API from efibootmgr so fwupdate and other tools can use it.
  85. * Wed Oct 15 2014 Peter Jones <pjones@redhat.com> - 0.15-1
  86. - Update to 0.15
  87. - Make 32-bit builds set variables' DataSize correctly.
  88. * Wed Oct 08 2014 Peter Jones <pjones@redhat.com> - 0.14-1
  89. - Update to 0.14
  90. - add efi_id_guid_to_guid() and efi_guid_to_id_guid(), which support {ID GUID}
  91. as a concept.
  92. - Add some vendor specific guids to our guid list.
  93. - Call "empty" "zero" now, as many other places do. References to
  94. efi_guid_is_empty() and efi_guid_empty still exist for ABI compatibility.
  95. - add "efivar -L" to the man page.
  96. * Tue Oct 07 2014 Peter Jones <pjones@redhat.com> - 0.13-1
  97. - Update to 0.13:
  98. - add efi_symbol_to_guid()
  99. - efi_name_to_guid() will now fall back on efi_symbol_to_guid() as a last
  100. resort
  101. - "efivar -L" to list all the guids we know about
  102. - better namespacing on libefivar.so (rename well_known_* -> efi_well_known_*)
  103. * Thu Sep 25 2014 Peter Jones <pjones@redhat.com> - 0.12-1
  104. - Update to 0.12
  105. * Wed Aug 20 2014 Peter Jones <pjones@redhat.com> - 0.11-1
  106. - Update to 0.11
  107. * Fri May 02 2014 Peter Jones <pjones@redhat.com> - 0.10-1
  108. - Update package to 0.10.
  109. - Fixes a build error due to different cflags in the builders vs updstream
  110. makefile.
  111. * Fri May 02 2014 Peter Jones <pjones@redhat.com> - 0.9-0.1
  112. - Update package to 0.9.
  113. * Tue Apr 01 2014 Peter Jones <pjones@redhat.com> - 0.8-0.1
  114. - Update package to 0.8 as well.
  115. * Fri Oct 25 2013 Peter Jones <pjones@redhat.com> - 0.7-1
  116. - Update package to 0.7
  117. - adds --append support to the binary.
  118. * Fri Sep 06 2013 Peter Jones <pjones@redhat.com> - 0.6-1
  119. - Update package to 0.6
  120. - fixes to documentation from lersek
  121. - more validation of uefi guids
  122. - use .xz for archives
  123. * Thu Sep 05 2013 Peter Jones <pjones@redhat.com> - 0.5-0.1
  124. - Update to 0.5
  125. * Mon Jun 17 2013 Peter Jones <pjones@redhat.com> - 0.4-0.2
  126. - Fix ldconfig invocation
  127. * Mon Jun 17 2013 Peter Jones <pjones@redhat.com> - 0.4-0.1
  128. - Initial spec file