| 1 | 1 |
new file mode 100644 |
| ... | ... |
@@ -0,0 +1,37 @@ |
| 0 |
+Summary: Tools and libraries to manipulate EFI variables |
|
| 1 |
+Name: efivar |
|
| 2 |
+Version: 0.20 |
|
| 3 |
+Release: 1%{?dist}
|
|
| 4 |
+License: GPLv2 |
|
| 5 |
+URL: https://github.com/rhinstaller/efivar/ |
|
| 6 |
+Group: System Environment/System Utilities |
|
| 7 |
+Vendor: VMware, Inc. |
|
| 8 |
+Distribution: Photon |
|
| 9 |
+Source0: https://github.com/rhinstaller/efivar/releases/download/%{version}/%{name}-%{version}.tar.bz2
|
|
| 10 |
+%define sha1 efivar=a66a6d00b59bffe07cbdfc98c727d749157d4140 |
|
| 11 |
+BuildRequires: popt-devel |
|
| 12 |
+%description |
|
| 13 |
+efivar provides a simle CLI to the UEFI variable facility |
|
| 14 |
+%prep |
|
| 15 |
+%setup -q |
|
| 16 |
+%build |
|
| 17 |
+make %{?_smp_mflags} PREFIX=%{_prefix} \
|
|
| 18 |
+ libdir=%{_libdir} \
|
|
| 19 |
+ bindir=%{_bindir}
|
|
| 20 |
+%install |
|
| 21 |
+[ %{buildroot} != "/"] && rm -rf %{buildroot}/*
|
|
| 22 |
+make DESTDIR=%{buildroot} \
|
|
| 23 |
+ PREFIX=%{_prefix} \
|
|
| 24 |
+ install |
|
| 25 |
+ |
|
| 26 |
+%clean |
|
| 27 |
+rm -rf %{buildroot}/*
|
|
| 28 |
+%files |
|
| 29 |
+%defattr(-,root,root) |
|
| 30 |
+%{_bindir}/*
|
|
| 31 |
+%{_lib64dir}/*
|
|
| 32 |
+%{_includedir}/*
|
|
| 33 |
+%{_datadir}/*
|
|
| 34 |
+%changelog |
|
| 35 |
+* Mon Jul 6 2015 Sharath George <sharathg@vmware.com> 0.20-1 |
|
| 36 |
+- Initial build. First version |