diff --git a/README.md b/README.md index 13448f3..5aee8fb 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,4 @@ # mokutil +Utility to manipulate machine owner keys. + diff --git a/mokutil.spec b/mokutil.spec new file mode 100644 index 0000000..c7d5d02 --- /dev/null +++ b/mokutil.spec @@ -0,0 +1,49 @@ +Name: mokutil +Version: 0.7.2 +Release: 1mamba +Summary: Utility to manipulate machine owner keys +Group: System/Security +Vendor: openmamba +Distribution: openmamba +Packager: Silvan Calarco +URL: https://github.com/lcp/mokutil +Source: https://github.com/lcp/mokutil.git/%{version}/mokutil-%{version}.tar.bz2 +License: GPL +## AUTOBUILDREQ-BEGIN +BuildRequires: glibc-devel +BuildRequires: libefivar-devel +BuildRequires: libkeyutils-devel +BuildRequires: libopenssl-devel +BuildRequires: libxcrypt-devel +## AUTOBUILDREQ-END + +%description +Utility to manipulate machine owner keys. + +%debug_package + +%prep +%setup -q +./autogen.sh + +%build +%configure +%make + +%install +[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" +%makeinstall + +%clean +[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" + +%files +%defattr(-,root,root) +%{_bindir}/mokutil +%{_datadir}/bash-completion/completions/mokutil +%{_mandir}/man1/mokutil.1* +%doc COPYING + +%changelog +* Fri Nov 01 2024 Silvan Calarco 0.7.2-1mamba +- package created using the webbuild interface