efivar-vl.spec 4.6 KB

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