-
Notifications
You must be signed in to change notification settings - Fork 0
/
mkinitcpio-ykfde.spec
59 lines (51 loc) · 1.62 KB
/
mkinitcpio-ykfde.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
Name: mkinitcpio-ykfde
Version: 0.7.7
Release: 1%{?dist}
Summary: Full disk encryption with Yubikey (Yubico key)
License: GPL-3.0
URL: https://github.com/eworm-de/mkinitcpio-ykfde
Source0: %{name}-%{version}.tar.gz
BuildRequires: gcc
BuildRequires: make
BuildRequires: pkg-config
BuildRequires: libyubikey-devel
BuildRequires: ykpers-devel
BuildRequires: iniparser-devel
BuildRequires: libarchive-devel
BuildRequires: cryptsetup-devel
BuildRequires: python-markdown
BuildRequires: systemd-devel
BuildRequires: keyutils-libs-devel
%description
Full disk encryption with Yubikey (Yubico key)
%prep
%global debug_package %{nil}
%setup -q -n %{name}-%{version}
%build
make MD=markdown_py
%install
[ "$RPM_BUILD_ROOT" != "/" ] && rm -rf $RPM_BUILD_ROOT
%__make DESTDIR=$RPM_BUILD_ROOT install-dracut
%clean
[ "$RPM_BUILD_ROOT" != "/" ] && rm -rf $RPM_BUILD_ROOT
%files
%defattr(-,root,root)
%config /etc/ykfde.conf
/usr/bin/ykfde
/usr/bin/ykfde-cpio
/usr/lib/dracut/modules.d/90ykfde/20-ykfde.rules
/usr/lib/dracut/modules.d/90ykfde/module-setup.sh
/usr/lib/dracut/modules.d/90ykfde/parse-mod.sh
/usr/lib/dracut/modules.d/90ykfde/ykfde.sh
/usr/lib/systemd/system/ykfde-2f.service
/usr/lib/systemd/system/ykfde-worker.service
/usr/lib/systemd/system/ykfde.service
/usr/lib/ykfde/worker
%doc /usr/share/doc/ykfde/README-dracut.html
%doc /usr/share/doc/ykfde/README-dracut.md
%doc /usr/share/doc/ykfde/README-mkinitcpio.html
%doc /usr/share/doc/ykfde/README-mkinitcpio.md
%doc /usr/share/doc/ykfde/README.html
%doc /usr/share/doc/ykfde/README.md
%ghost /etc/ykfde.d/.gitignore
%changelog