OSDN Git Service

efivar 27
[android-x86/external-efivar.git] / efivar.spec.in
1 Name:           efivar
2 Version:        @@VERSION@@
3 Release:        1%{?dist}
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
10 BuildRequires:  popt-devel popt-static git glibc-static
11 Source0:        https://github.com/rhinstaller/efivar/releases/download/efivar-%{version}/efivar-%{version}.tar.bz2
12
13 %description
14 efivar provides a simple command line interface to the UEFI variable facility.
15
16 %package libs
17 Summary: Library to manage UEFI variables
18
19 %description libs
20 Library to allow for the simple manipulation of UEFI variables.
21
22 %package devel
23 Summary: Development headers for libefivar
24 Requires: %{name}-libs = %{version}-%{release}
25
26 %description devel
27 development headers required to use libefivar.
28
29 %prep
30 %setup -q -n %{name}-%{version}
31 git init
32 git config user.email "%{name}-owner@fedoraproject.org"
33 git config user.name "Fedora Ninjas"
34 git add .
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
39
40 %build
41 make libdir=%{_libdir} bindir=%{_bindir} CFLAGS="$RPM_OPT_FLAGS" LDFLAGS="$RPM_LD_FLAGS"
42
43 %install
44 rm -rf $RPM_BUILD_ROOT
45 %makeinstall
46
47 %clean
48 rm -rf $RPM_BUILD_ROOT
49
50 %post libs -p /sbin/ldconfig
51
52 %postun libs -p /sbin/ldconfig
53
54 %files
55 %{!?_licensedir:%global license %%doc}
56 %license COPYING
57 %doc README.md
58 %{_bindir}/efivar
59 %exclude %{_bindir}/efivar-static
60 %{_mandir}/man1/*
61
62 %files devel
63 %{_mandir}/man3/*
64 %{_includedir}/*
65 %{_libdir}/*.so
66 %{_libdir}/pkgconfig/*.pc
67
68 %files libs
69 %{_libdir}/*.so.*
70
71 %changelog
72 * Tue Aug 16 2016 Peter Jones <pjones@redhat.com> - 27-1
73 - Bug fix for 086eeb17 in efivar 26.
74
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.
79
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.
85
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
88   during builds.
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.
96
97 * Tue Jun 02 2015 Peter Jones <pjones@redhat.com> - 0.20-1
98 - Update to 0.20
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
103
104 * Thu May 28 2015 Peter Jones <pjones@redhat.com> - 0.19-1
105 - Update to 0.19
106 - add API from efibootmgr so fwupdate and other tools can use it.
107
108 * Wed Oct 15 2014 Peter Jones <pjones@redhat.com> - 0.15-1
109 - Update to 0.15
110 - Make 32-bit builds set variables' DataSize correctly.
111
112 * Wed Oct 08 2014 Peter Jones <pjones@redhat.com> - 0.14-1
113 - Update to 0.14
114 - add efi_id_guid_to_guid() and efi_guid_to_id_guid(), which support {ID GUID}
115   as a concept.
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.
120
121 * Tue Oct 07 2014 Peter Jones <pjones@redhat.com> - 0.13-1
122 - Update to 0.13:
123 - add efi_symbol_to_guid()
124 - efi_name_to_guid() will now fall back on efi_symbol_to_guid() as a last
125   resort
126 - "efivar -L" to list all the guids we know about
127 - better namespacing on libefivar.so (rename well_known_* -> efi_well_known_*)
128
129 * Thu Sep 25 2014 Peter Jones <pjones@redhat.com> - 0.12-1
130 - Update to 0.12
131
132 * Wed Aug 20 2014 Peter Jones <pjones@redhat.com> - 0.11-1
133 - Update to 0.11
134
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
138   makefile.
139
140 * Fri May 02 2014 Peter Jones <pjones@redhat.com> - 0.9-0.1
141 - Update package to 0.9.
142
143 * Tue Apr 01 2014 Peter Jones <pjones@redhat.com> - 0.8-0.1
144 - Update package to 0.8 as well.
145
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.
149
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
155
156 * Thu Sep 05 2013 Peter Jones <pjones@redhat.com> - 0.5-0.1
157 - Update to 0.5
158
159 * Mon Jun 17 2013 Peter Jones <pjones@redhat.com> - 0.4-0.2
160 - Fix ldconfig invocation
161
162 * Mon Jun 17 2013 Peter Jones <pjones@redhat.com> - 0.4-0.1
163 - Initial spec file