|
@@ -1,7 +1,11 @@
|
|
|
Name: efivar
|
|
|
-Version: 37
|
|
|
-Release: 1%{?_dist_release}
|
|
|
Summary: Tools to manage UEFI variables
|
|
|
+Version: 37
|
|
|
+Release: 2%{?_dist_release}
|
|
|
+Vendor: Project Vine
|
|
|
+Distribution: Vine Linux
|
|
|
+Packager: tomop
|
|
|
+
|
|
|
License: LGPLv2.1
|
|
|
URL: https://github.com/rhinstaller/efivar
|
|
|
Requires: %{name}-libs = %{version}-%{release}
|
|
@@ -9,20 +13,19 @@ ExclusiveArch: %{ix86} x86_64 aarch64
|
|
|
|
|
|
BuildRequires: popt-devel
|
|
|
Source0: https://github.com/rhinstaller/efivar/releases/download/efivar-%{version}/efivar-%{version}.tar.bz2
|
|
|
-
|
|
|
-Vendor: Project Vine
|
|
|
-Distribution: Vine Linux
|
|
|
-Packager: tomop
|
|
|
+Patch0: efivar-37-HEAD.patch
|
|
|
|
|
|
%description
|
|
|
efivar provides a simple command line interface to the UEFI variable facility.
|
|
|
|
|
|
+
|
|
|
%package libs
|
|
|
Summary: Library to manage UEFI variables
|
|
|
|
|
|
%description libs
|
|
|
Library to allow for the simple manipulation of UEFI variables.
|
|
|
|
|
|
+
|
|
|
%package devel
|
|
|
Summary: Development headers for libefivar
|
|
|
Requires: %{name}-libs = %{version}-%{release}
|
|
@@ -30,25 +33,31 @@ Requires: %{name}-libs = %{version}-%{release}
|
|
|
%description devel
|
|
|
development headers required to use libefivar.
|
|
|
|
|
|
+
|
|
|
%prep
|
|
|
%setup -q -n %{name}-%{version}
|
|
|
+%patch0 -p1
|
|
|
|
|
|
%build
|
|
|
make libdir=%{_libdir} bindir=%{_bindir} OPT_FLAGS="$RPM_OPT_FLAGS"
|
|
|
|
|
|
+
|
|
|
%install
|
|
|
rm -rf $RPM_BUILD_ROOT
|
|
|
%makeinstall
|
|
|
|
|
|
+
|
|
|
%clean
|
|
|
rm -rf $RPM_BUILD_ROOT
|
|
|
|
|
|
+
|
|
|
%post libs
|
|
|
/sbin/ldconfig
|
|
|
|
|
|
%postun libs
|
|
|
/sbin/ldconfig
|
|
|
|
|
|
+
|
|
|
%files
|
|
|
%{!?_licensedir:%global license %%doc}
|
|
|
%license COPYING
|
|
@@ -66,7 +75,11 @@ rm -rf $RPM_BUILD_ROOT
|
|
|
%{_libdir}/*.so.*
|
|
|
|
|
|
%changelog
|
|
|
+* Wed Jul 29 2020 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> - 37-2
|
|
|
+- imported patches from upstream git.
|
|
|
+
|
|
|
* Sat Sep 14 2019 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> - 37-1
|
|
|
+- new upstream release.
|
|
|
- dropped Patch0.
|
|
|
|
|
|
* Tue Dec 15 2015 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> - 0.21-3
|