commit 29519148fc86d7637bd30e5cb2ef0da6e24f9fae Author: y00511953 Date: Mon Nov 25 20:00:46 2019 +0800 init diff --git a/1.0.2.tar.gz b/1.0.2.tar.gz new file mode 100644 index 0000000..7a73983 Binary files /dev/null and b/1.0.2.tar.gz differ diff --git a/u2f-hidraw-policy.spec b/u2f-hidraw-policy.spec new file mode 100644 index 0000000..7c528db --- /dev/null +++ b/u2f-hidraw-policy.spec @@ -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 - 1.0.2-9 +- Package init