加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
efivar.spec 2.47 KB
一键复制 编辑 原始数据 按行查看 历史
duyiwei 提交于 2022-06-13 11:30 . upgrade efivar to 38
Name: efivar
Version: 38
Release: 1
Summary: Tools and libraries to work with EFI variables
License: LGPL-2.1-only
URL: https://github.com/rhboot/%{name}
Source0: https://github.com/rhboot/%{name}/releases/download/%{version}/%{name}-%{version}.tar.bz2
BuildRequires: popt-devel glibc-static
BuildRequires: gcc
Requires: %{name}-libs = %{version}-%{release}
%description
Some command line interface of the UEFI variables tools are offered by %{name}.
%package libs
Summary: Libraries for %{name}
%description libs
Libraries for %{name}.
%package devel
Summary: Development headers requred by libefivar
Requires: %{name}-libs = %{version}-%{release}
%description devel
Development titles to use libefivar must be included.
%package_help
%prep
%autosetup -n %{name}-%{version} -p1
%build
export LDFLAGS="-flto-partition=none"
for f in efisecdb.1; do
cp docs/"$f".mdoc docs/"$f"
done
%make_build
%install
%make_install
install -m 0644 src/abignore %{buildroot}%{_includedir}/efivar/.abignore
%ldconfig_scriptlets libs
%files
%defattr(-,root,root)
%license COPYING
%{_bindir}/%{name}
%{_bindir}/efisecdb
%files libs
%defattr(-,root,root)
%{_libdir}/*.so.*
%files devel
%defattr(-,root,root)
%{_includedir}/*
%{_libdir}/pkgconfig/*.pc
%{_libdir}/*.so
%files help
%defattr(-,root,root)
%doc README.md
%{_mandir}/man1/*
%{_mandir}/man3/*
%changelog
* Mon Jun 13 2022 duyiwei <duyiwei@kylinos.cn> - 38-1
- upgrade efivar to 38
* Mon May 16 2022 mylee <liweiganga@uniontech.com> - 37-8
- fix spec changelog date
* Thu Mar 24 2022 xinghe <xinghe2@h-partners.com> - 37-7
- Type:bugfix
- ID:NA
- SUG:NA
- DESC:fix efibootmgr -v error
* Fri Jul 30 2021 gaihuiying <gaihuiying1@huawei.com> - 37-6
- Type:bugfix
- ID:NA
- SUG:NA
- DESC:fix build error with gcc10
* Thu May 27 2021 lijingyuan <lijingyuan3@huawei.com> - 37-5
- Type:bugfix
- ID:NA
- SUG:NA
- DESC:Add the compilation dependency of gcc.
* Tue 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
* Mon Feb 17 2020 hexiujun <hexiujun1@huawei.com> - 37-3
- Type:enhancement
- ID:NA
- SUG:NA
- DESC:unpack libs subpackage
* Thu Oct 17 2019 openEuler Buildteam <buildteam@openeuler.org> - 37-2
- Type:bugfix
- Id:NA
- SUG:NA
- DESC:remove the libabigail in buildRequires.
* Mon Sep 2 2019 openEuler Buildteam <buildteam@openeuler.org> - 37-1
- Package init
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化