Name: mooltipass-udev Version: 2023011200 Release: 1%{?dist} Summary: Udev rules for Mooltipass devices License: GPL-3.0-or-later URL: https://github.com/mooltipass/%{name} Source0: %{url}/archive/%{version}/%{name}-%{version}.tar.gz Source1: %{url}/releases/download/%{version}/%{name}-%{version}.tar.gz.asc Source2: mooltipass-udev-gpgkey.gpg BuildArch: noarch Requires: udev BuildRequires: gnupg2 # for _udevrulesdir macro BuildRequires: systemd-rpm-macros %description Udev rules to allow user access to Mooltipass devices for use with Moolticute. %prep %{gpgverify} --keyring='%{SOURCE2}' --signature='%{SOURCE1}' --data='%{SOURCE0}' %autosetup -p1 %build # Nothing to build %install install -Dpm 0644 udev/69-mooltipass.rules %{buildroot}%{_udevrulesdir}/69-mooltipass.rules %files %license license.txt %doc README.md %{_udevrulesdir}/69-mooltipass.rules %changelog * Fri Jan 13 2023 Arthur Bols - 2023011200-1 - Upstream release 2023011200 * Thu Jan 12 2023 Arthur Bols - 2019120501-1 - Initial package