2019-09-30 10:37:57 -04:00
|
|
|
Name: efivar
|
|
|
|
|
Version: 37
|
2020-06-09 17:46:51 +08:00
|
|
|
Release: 4
|
2019-09-30 10:37:57 -04:00
|
|
|
Summary: Tools and libraries to work with EFI variables
|
|
|
|
|
License: LGPLv2.1
|
|
|
|
|
URL: https://github.com/rhboot/%{name}
|
|
|
|
|
Source0: https://github.com/rhboot/%{name}/releases/download/%{version}/%{name}-%{version}.tar.bz2
|
2020-06-09 17:46:51 +08:00
|
|
|
Patch0001: first-fix-gcc9-new-waring.patch
|
|
|
|
|
Patch0002: second-fix-gcc9-new-waring.patch
|
2019-09-30 10:37:57 -04:00
|
|
|
|
2019-11-06 19:06:18 +08:00
|
|
|
BuildRequires: popt-devel glibc-static
|
2020-02-17 17:31:50 +08:00
|
|
|
Requires: %{name}-libs = %{version}-%{release}
|
2019-09-30 10:37:57 -04:00
|
|
|
|
|
|
|
|
%description
|
|
|
|
|
Some command line interface of the UEFI variables tools are offered by %{name}.
|
|
|
|
|
|
2020-02-17 17:31:50 +08:00
|
|
|
%package libs
|
|
|
|
|
Summary: Libraries for %{name}
|
|
|
|
|
|
|
|
|
|
%description libs
|
|
|
|
|
Libraries for %{name}.
|
|
|
|
|
|
2019-09-30 10:37:57 -04:00
|
|
|
%package devel
|
|
|
|
|
Summary: Development headers requred by libefivar
|
2020-02-17 17:31:50 +08:00
|
|
|
Requires: %{name}-libs = %{version}-%{release}
|
2019-09-30 10:37:57 -04:00
|
|
|
|
|
|
|
|
%description devel
|
|
|
|
|
Development titles to use libefivar must be included.
|
|
|
|
|
|
|
|
|
|
%package_help
|
|
|
|
|
|
|
|
|
|
%prep
|
|
|
|
|
%autosetup -n %{name}-%{version} -p1
|
|
|
|
|
|
|
|
|
|
%build
|
|
|
|
|
%make_build
|
|
|
|
|
|
|
|
|
|
%install
|
|
|
|
|
%make_install
|
|
|
|
|
|
2020-02-17 17:31:50 +08:00
|
|
|
%ldconfig_scriptlets libs
|
2019-09-30 10:37:57 -04:00
|
|
|
|
|
|
|
|
%files
|
|
|
|
|
%defattr(-,root,root)
|
|
|
|
|
%license COPYING
|
|
|
|
|
%{_bindir}/%{name}
|
2020-02-17 17:31:50 +08:00
|
|
|
|
|
|
|
|
%files libs
|
|
|
|
|
%defattr(-,root,root)
|
2019-09-30 10:37:57 -04:00
|
|
|
%{_libdir}/*.so.*
|
|
|
|
|
|
|
|
|
|
%files devel
|
|
|
|
|
%defattr(-,root,root)
|
|
|
|
|
%{_includedir}/%{name}/*.h
|
|
|
|
|
%{_libdir}/pkgconfig/*.pc
|
|
|
|
|
%{_libdir}/libefiboot.so
|
|
|
|
|
%{_libdir}/libefivar.so
|
|
|
|
|
|
|
|
|
|
%files help
|
|
|
|
|
%defattr(-,root,root)
|
|
|
|
|
%doc README.md
|
|
|
|
|
%{_mandir}/man1/%{name}.1.gz
|
|
|
|
|
%{_mandir}/man3/*
|
|
|
|
|
|
|
|
|
|
%changelog
|
2020-06-09 17:46:51 +08:00
|
|
|
* Yue Jun 9 2020 zhujunhao <zhujunhao8@huawei.com> - 37-4
|
|
|
|
|
- Type:bugfix
|
|
|
|
|
- ID:NA
|
|
|
|
|
- SUG:NA
|
|
|
|
|
- DESC:fix gcc9 new warning -Werror=address-of-packed-member
|
|
|
|
|
|
2020-02-17 17:31:50 +08:00
|
|
|
* Mon Feb 17 2020 hexiujun <hexiujun1@huawei.com> - 37-3
|
|
|
|
|
- Type:enhancement
|
|
|
|
|
- ID:NA
|
|
|
|
|
- SUG:NA
|
|
|
|
|
- DESC:unpack libs subpackage
|
|
|
|
|
|
2019-11-06 19:06:18 +08:00
|
|
|
* Thu Oct 17 2019 openEuler Buildteam <buildteam@openeuler.org> - 37-2
|
|
|
|
|
- Type:bugfix
|
|
|
|
|
- Id:NA
|
|
|
|
|
- SUG:NA
|
|
|
|
|
- DESC:remove the libabigail in buildRequires.
|
|
|
|
|
|
2019-09-30 10:37:57 -04:00
|
|
|
* Mon Sep 2 2019 openEuler Buildteam <buildteam@openeuler.org> - 37-1
|
|
|
|
|
- Package init
|