-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathclevis-yubikey.spec
67 lines (51 loc) · 1.62 KB
/
clevis-yubikey.spec
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
Name: clevis-yubikey
Version: 0.2
Release: 1%{?dist}
Summary: Yubikey plugin for Clevis Automated decryption framework
License: GPLv3+
URL: https://github.com/ctrliq/%{name}
Source0: https://github.com/ctrliq/%{name}/releases/download/v%{version}/%{name}-%{version}.tar.gz
BuildArch: noarch
BuildRequires: asciidoc
BuildRequires: dracut
BuildRequires: meson
BuildRequires: ninja-build
BuildRequires: pandoc
Requires: clevis >= 15
Requires: clevis-dracut >= 15
Requires: clevis-luks >= 15
Requires: jose >= 8
Requires: coreutils
Requires: dracut
Requires: openssl
Requires: vim-common
Requires: ykpers
%description
Clevis is a framework for automated decryption. It allows you to encrypt
data using sophisticated unlocking policies which enable decryption to
occur automatically.
This package contains Yubikey integration for clevis, allowing you to
use a Yubikey to automatically unlock a LUKS partition.
%prep
%autosetup
%build
%meson
%meson_build
pandoc README.md -t plain -o README
%install
%meson_install
mkdir -p %{buildroot}%{_docdir}/clevis-yubikey
install -m 0644 README %{buildroot}%{_docdir}/clevis-yubikey/
%files
%license COPYING
%{_bindir}/clevis-decrypt-yubikey
%{_bindir}/clevis-encrypt-yubikey
%{_mandir}/man1/clevis-encrypt-yubikey*
%{_prefix}/lib/dracut/modules.d/60clevis-pin-yubikey
%doc %{_docdir}/clevis-yubikey/
%changelog
* Wed Dec 04 2024 Jonathan Dieter <[email protected]> - 0.2-1
- Add man page
- Build from source URL
* Tue Dec 03 2024 Jonathan Dieter <[email protected]> - 0.1-1
- Initial release