This repository has been archived by the owner on Aug 24, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 14
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Signed-off-by: Peter Jones <[email protected]>
- Loading branch information
Showing
1 changed file
with
47 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,47 @@ | ||
Name: dbxtool | ||
Version: 0.4 | ||
Release: 1%{?dist} | ||
Summary: Secure Boot DBX updater | ||
License: GPLv2 | ||
URL: https://github.com/vathpela/dbxtool | ||
Requires: popt efivar-libs | ||
ExclusiveArch: i386 x86_64 aarch64 | ||
BuildRequires: popt-devel git efivar-devel | ||
Source0: https://github.com/vathpela/dbxtool/releases/download/dbxtool-%{version}/dbxtool-%{version}.tar.bz2 | ||
|
||
%description | ||
This package contains DBX updates for UEFI Secure Boot. | ||
|
||
%prep | ||
%setup -q -n %{name}-%{version} | ||
git init | ||
git config user.email "%{name}[email protected]" | ||
git config user.name "Fedora Ninjas" | ||
git add . | ||
git commit -a -q -m "%{version} baseline." | ||
git am %{patches} </dev/null | ||
|
||
%build | ||
make PREFIX=%{_prefix} LIBDIR=%{_libdir} CFLAGS="$RPM_OPT_FLAGS" | ||
|
||
%install | ||
rm -rf $RPM_BUILD_ROOT | ||
mkdir -p %{buildroot}/%{_libdir} | ||
make PREFIX=%{_prefix} LIBDIR=%{_libdir} INSTALLROOT=%{buildroot} \ | ||
install | ||
|
||
%clean | ||
rm -rf $RPM_BUILD_ROOT | ||
|
||
%files | ||
%doc COPYING | ||
%{_bindir}/dbxtool | ||
%{_mandir}/man1/* | ||
%dir %{_datadir}/dbxtool/ | ||
%{_datadir}/dbxtool/*.bin | ||
%{_unitdir}/dbxtool.service | ||
%{_mandir}/man1/* | ||
|
||
%changelog | ||
* Wed Aug 20 2014 Peter Jones <[email protected]> - 0.4-1 | ||
- First packaging attempt. |