This commit is contained in:
y00511953 2019-11-25 20:00:46 +08:00
commit 29519148fc
2 changed files with 32 additions and 0 deletions

BIN
1.0.2.tar.gz Normal file

Binary file not shown.

32
u2f-hidraw-policy.spec Normal file
View 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