4 Summary: Tools to manage UEFI variables
6 URL: https://github.com/rhinstaller/efivar
7 Requires: %{name}-libs = %{version}-%{release}
8 ExclusiveArch: %{ix86} x86_64 aarch64
10 BuildRequires: popt-devel popt-static git glibc-static
11 Source0: https://github.com/rhinstaller/efivar/releases/download/efivar-%{version}/efivar-%{version}.tar.bz2
14 efivar provides a simple command line interface to the UEFI variable facility.
17 Summary: Library to manage UEFI variables
20 Library to allow for the simple manipulation of UEFI variables.
23 Summary: Development headers for libefivar
24 Requires: %{name}-libs = %{version}-%{release}
27 development headers required to use libefivar.
30 %setup -q -n %{name}-%{version}
32 git config user.email "%{name}-owner@fedoraproject.org"
33 git config user.name "Fedora Ninjas"
35 git commit -a -q -m "%{version} baseline."
36 git am %{patches} </dev/null
37 git config --unset user.email
38 git config --unset user.name
41 make libdir=%{_libdir} bindir=%{_bindir} CFLAGS="$RPM_OPT_FLAGS" LDFLAGS="$RPM_LD_FLAGS"
44 rm -rf $RPM_BUILD_ROOT
48 rm -rf $RPM_BUILD_ROOT
50 %post libs -p /sbin/ldconfig
52 %postun libs -p /sbin/ldconfig
55 %{!?_licensedir:%global license %%doc}
59 %exclude %{_bindir}/efivar-static
66 %{_libdir}/pkgconfig/*.pc
72 * Tue Aug 16 2016 Peter Jones <pjones@redhat.com> - 27-1
73 - Bug fix for 086eeb17 in efivar 26.
75 * Thu Aug 11 2016 Peter Jones <pjones@redhat.com> - 26-1
76 - Use symmacros.h to make newer compilers happy
77 - Fix a bug in efidp_size() double-counting End nodes sometimes.
78 - Handle nonnull comparisons in the headers more gracefully.
80 * Wed Aug 10 2016 Peter Jones <pjones@redhat.com> - 25-1
81 - Rework version numbers.
82 - Add error tracking API.
83 - Remove use of deprecated readdir_r
84 - SATA device path fixes.
86 * Mon Jul 13 2015 Peter Jones <pjones@redhat.com> - 0.21-1
87 - Rename "make test" so packagers don't think it's a good idea to run it
89 - Error check sizes in vars_get_variable()
90 - Fix some file size comparisons
91 - make SONAME reflect the correct values.
92 - Fix some uses of "const"
93 - Compile with -O2 by default
94 - Fix some strict-aliasing violations
95 - Fix some of the .pc files and how we do linking to work better.
97 * Tue Jun 02 2015 Peter Jones <pjones@redhat.com> - 0.20-1
99 - Make sure tester is build with the right link order for libraries.
100 - Adjust linker order for pkg-config
101 - Work around LocateDevicePath() not grokking PcieRoot() devices properly.
102 - Rectify some missing changelog entries
104 * Thu May 28 2015 Peter Jones <pjones@redhat.com> - 0.19-1
106 - add API from efibootmgr so fwupdate and other tools can use it.
108 * Wed Oct 15 2014 Peter Jones <pjones@redhat.com> - 0.15-1
110 - Make 32-bit builds set variables' DataSize correctly.
112 * Wed Oct 08 2014 Peter Jones <pjones@redhat.com> - 0.14-1
114 - add efi_id_guid_to_guid() and efi_guid_to_id_guid(), which support {ID GUID}
116 - Add some vendor specific guids to our guid list.
117 - Call "empty" "zero" now, as many other places do. References to
118 efi_guid_is_empty() and efi_guid_empty still exist for ABI compatibility.
119 - add "efivar -L" to the man page.
121 * Tue Oct 07 2014 Peter Jones <pjones@redhat.com> - 0.13-1
123 - add efi_symbol_to_guid()
124 - efi_name_to_guid() will now fall back on efi_symbol_to_guid() as a last
126 - "efivar -L" to list all the guids we know about
127 - better namespacing on libefivar.so (rename well_known_* -> efi_well_known_*)
129 * Thu Sep 25 2014 Peter Jones <pjones@redhat.com> - 0.12-1
132 * Wed Aug 20 2014 Peter Jones <pjones@redhat.com> - 0.11-1
135 * Fri May 02 2014 Peter Jones <pjones@redhat.com> - 0.10-1
136 - Update package to 0.10.
137 - Fixes a build error due to different cflags in the builders vs updstream
140 * Fri May 02 2014 Peter Jones <pjones@redhat.com> - 0.9-0.1
141 - Update package to 0.9.
143 * Tue Apr 01 2014 Peter Jones <pjones@redhat.com> - 0.8-0.1
144 - Update package to 0.8 as well.
146 * Fri Oct 25 2013 Peter Jones <pjones@redhat.com> - 0.7-1
147 - Update package to 0.7
148 - adds --append support to the binary.
150 * Fri Sep 06 2013 Peter Jones <pjones@redhat.com> - 0.6-1
151 - Update package to 0.6
152 - fixes to documentation from lersek
153 - more validation of uefi guids
154 - use .xz for archives
156 * Thu Sep 05 2013 Peter Jones <pjones@redhat.com> - 0.5-0.1
159 * Mon Jun 17 2013 Peter Jones <pjones@redhat.com> - 0.4-0.2
160 - Fix ldconfig invocation
162 * Mon Jun 17 2013 Peter Jones <pjones@redhat.com> - 0.4-0.1