Name: u2f-hidraw-policy Version: 1.0 Release: 1%{?dist} Summary: Udev rule to allow desktop access to HIDRAW U2F tokens License: GPLv2 URL: https://github.com/amluto/u2f-hidraw-policy/ Source0: https://github.com/amluto/%{name}/archive/%{version}.tar.gz BuildRequires: systemd-devel # systemd owns /usr/lib/udev/rules.d Requires: systemd %description u2f-hidraw-policy is a udev helper that detects U2F HID tokens as described by the U2F spec. %prep %setup -q %build make %{?_smp_mflags} CFLAGS="%{optflags}" %install mkdir -p %{buildroot}%{_prefix}/lib/udev/rules.d make install DESTDIR="%{buildroot}/usr" %files %{_prefix}/lib/udev/rules.d/60-u2f-hidraw.rules %{_prefix}/lib/udev/u2f_hidraw_id %license LICENSE %doc README.md %changelog * Mon Oct 19 2015 Andy Lutomirski - 1.0-1 - New package