commit 189a91fe05a1bd040ae7588714ff23181f5aa08e Author: overweight <5324761+overweight@user.noreply.gitee.com> Date: Mon Sep 30 10:37:57 2019 -0400 Package init diff --git a/efivar-37.tar.bz2 b/efivar-37.tar.bz2 new file mode 100644 index 0000000..23cfdde Binary files /dev/null and b/efivar-37.tar.bz2 differ diff --git a/efivar.spec b/efivar.spec new file mode 100644 index 0000000..e9af400 --- /dev/null +++ b/efivar.spec @@ -0,0 +1,57 @@ +Name: efivar +Version: 37 +Release: 1 +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 + +BuildRequires: popt-devel glibc-static libabigail +Provides: %{name}-libs +Obsoletes: %{name}-libs + +%description +Some command line interface of the UEFI variables tools are offered by %{name}. + +%package devel +Summary: Development headers requred by libefivar +Requires: %{name} = %{version}-%{release} + +%description devel +Development titles to use libefivar must be included. + +%package_help + +%prep +%autosetup -n %{name}-%{version} -p1 + +%build +%make_build + +%install +%make_install + +%ldconfig_scriptlets + +%files +%defattr(-,root,root) +%license COPYING +%{_bindir}/%{name} +%{_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 +* Mon Sep 2 2019 openEuler Buildteam - 37-1 +- Package init