u2f-hidraw-policy/u2f-hidraw-policy.spec
2019-12-15 02:17:48 +08:00

33 lines
824 B
RPMSpec

name: 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