]>
Commit | Line | Data |
---|---|---|
6da12946 AM |
1 | Summary: Udev rule to allow desktop access to HIDRAW U2F tokens |
2 | Name: u2f-hidraw-policy | |
3 | Version: 1.0.2 | |
4 | Release: 1 | |
5 | License: LGPL v2+ | |
6 | Group: Base | |
7 | URL: https://github.com/amluto/u2f-hidraw-policy/ | |
8 | Source0: https://github.com/amluto/u2f-hidraw-policy/archive/%{version}.tar.gz | |
9 | # Source0-md5: daf17918427fff12ccd5d0ce7dc53e27 | |
10 | ||
11 | %description | |
12 | u2f-hidraw-policy is a udev helper that detects U2F HID tokens as | |
13 | described by the U2F spec. | |
14 | ||
15 | %prep | |
16 | %setup -q | |
17 | ||
18 | %build | |
19 | %{__make} \ | |
20 | CFLAGS="%{rpmcflags} %{rpmcppflags} %{rpmldflags}" | |
21 | ||
22 | %install | |
23 | rm -rf $RPM_BUILD_ROOT | |
24 | ||
25 | %{__make} install \ | |
0a2e3c8b | 26 | DESTDIR="$RPM_BUILD_ROOT" |
6da12946 AM |
27 | |
28 | %clean | |
29 | rm -rf $RPM_BUILD_ROOT | |
30 | ||
31 | %files | |
32 | %defattr(644,root,root,755) | |
33 | %doc README.md | |
0a2e3c8b AM |
34 | /lib/udev/rules.d/60-u2f-hidraw.rules |
35 | %attr(755,root,root) /lib/udev/u2f_hidraw_id |