]> git.pld-linux.org Git - packages/u2f-hidraw-policy.git/blob - u2f-hidraw-policy.spec
5787572cb835e0c601d5c9c75e97faad12aba6ea
[packages/u2f-hidraw-policy.git] / u2f-hidraw-policy.spec
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 \
26         DESTDIR="$RPM_BUILD_ROOT%{_prefix}"
27
28 %clean
29 rm -rf $RPM_BUILD_ROOT
30
31 %files
32 %defattr(644,root,root,755)
33 %doc README.md
34 %{_prefix}/lib/udev/rules.d/60-u2f-hidraw.rules
35 %attr(755,root,root) %{_prefix}/lib/udev/u2f_hidraw_id
This page took 0.08209 seconds and 2 git commands to generate.