[mokutil] First independent package.

Peter Jones pjones at fedoraproject.org
Thu Oct 9 02:02:07 UTC 2014


commit b4f0a33e9bb78b074d26e010a06867d04b7af66a
Author: Peter Jones <pjones at redhat.com>
Date:   Wed Oct 8 22:01:34 2014 -0400

    First independent package.
    
    Signed-off-by: Peter Jones <pjones at redhat.com>

 .gitignore   |    3 +++
 mokutil.spec |   47 +++++++++++++++++++++++++++++++++++++++++++++++
 sources      |    1 +
 3 files changed, 51 insertions(+), 0 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e69de29..f930f0c 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1,3 @@
+*.tar.*
+clog
+*.rpm
diff --git a/mokutil.spec b/mokutil.spec
new file mode 100644
index 0000000..f2ce685
--- /dev/null
+++ b/mokutil.spec
@@ -0,0 +1,47 @@
+Name:           mokutil
+Version:        0.2.0
+Release:        1%{?dist}
+Epoch:          1
+Summary:        Tool to manage UEFI Secure Boot MoK Keys
+License:        GPLv3+
+URL:            https://github.com/lcp/mokutil
+ExclusiveArch:  %{ix86} x86_64 aarch64
+BuildRequires:  autoconf automake gnu-efi git openssl-devel openssl
+Source0:        https://github.com/lcp/mokutil/archive/%{version}.tar.gz
+Conflicts:      shim < 0.8-1%{?dist}
+Obsoletes:      mokutil < 0.2.0
+
+%description
+mokutil provides a tool to manage keys for Secure Boot through the MoK
+("Machine's Own Keys") mechanism.
+
+%prep
+%setup -q -n %{name}-%{version}
+git init
+git config user.email "%{name}-owner at fedoraproject.org"
+git config user.name "Fedora Ninjas"
+git add .
+git commit -a -q -m "%{version} baseline."
+git am %{patches} </dev/null
+git config --unset user.email
+git config --unset user.name
+
+%build
+./autogen.sh
+%configure
+make %{?_smp_mflags}
+
+%install
+rm -rf %{buildroot}
+make PREFIX=%{_prefix} LIBDIR=%{_libdir} DESTDIR=%{buildroot} install
+
+%files
+%{!?_licensedir:%global license %%doc}
+%license COPYING
+%doc README
+%{_bindir}/mokutil
+%{_mandir}/man1/*
+
+%changelog
+* Mon Oct 06 2014 Peter Jones <pjones at redhat.com> - 0.2.0-1
+- First independent package.
diff --git a/sources b/sources
index e69de29..26904e2 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+c09af2a94f6fe8f106ba96d7e4317047  0.2.0.tar.gz


More information about the scm-commits mailing list