init
This commit is contained in:
commit
29519148fc
BIN
1.0.2.tar.gz
Normal file
BIN
1.0.2.tar.gz
Normal file
Binary file not shown.
32
u2f-hidraw-policy.spec
Normal file
32
u2f-hidraw-policy.spec
Normal file
@ -0,0 +1,32 @@
|
|||||||
|
me: u2f-hidraw-policy
|
||||||
|
Version: 1.0.2
|
||||||
|
Release: 9
|
||||||
|
Summary: Udev rule to allow desktop access to HIDRAW U2F tokens
|
||||||
|
License: LGPLv2+
|
||||||
|
URL: https://github.com/amluto/u2f-hidraw-policy/
|
||||||
|
Source0: https://github.com/amluto/%{name}/archive/%{version}.tar.gz
|
||||||
|
BuildRequires: gcc systemd systemd-devel
|
||||||
|
Requires: systemd
|
||||||
|
|
||||||
|
%description
|
||||||
|
The package is a udev helper that detects U2F HID tokens as described
|
||||||
|
by the U2F spec.
|
||||||
|
|
||||||
|
%prep
|
||||||
|
%autosetup %{name}-%{version} -p1
|
||||||
|
|
||||||
|
%build
|
||||||
|
%make_build CFLAGS="%{optflags} %{__global_ldflags}"
|
||||||
|
|
||||||
|
%install
|
||||||
|
make install DESTDIR="%{buildroot}/usr"
|
||||||
|
|
||||||
|
%files
|
||||||
|
%license LICENSE
|
||||||
|
%doc README.md
|
||||||
|
%{_udevrulesdir}/60-u2f-hidraw.rules
|
||||||
|
%{_udevrulesdir}/../u2f_hidraw_id
|
||||||
|
|
||||||
|
%changelog
|
||||||
|
* Fri Nov 8 2019 Lijin Yang <yanglijin@huawei.com> - 1.0.2-9
|
||||||
|
- Package init
|
||||||
Loading…
x
Reference in New Issue
Block a user