mirror of
https://github.com/terrapkg/packages.git
synced 2026-05-31 09:01:55 +00:00
* add: wooting-udev-rules
* fix: typo and remnant from other udev package this was based on
* refactor: Simplify rules
(cherry picked from commit 06041a5942)
Co-authored-by: Roice Young <dekodx@proton.me>
This commit is contained in:
@@ -0,0 +1,7 @@
|
||||
# Legacy Wootings
|
||||
SUBSYSTEM=="hidraw", ATTRS{idVendor}=="03eb", MODE:="0660", TAG+="uaccess"
|
||||
SUBSYSTEM=="usb", ATTRS{idVendor}=="03eb", MODE:="0660", TAG+="uaccess"
|
||||
|
||||
# Generic Wootings
|
||||
SUBSYSTEM=="hidraw", ATTRS{idVendor}=="31e3", MODE:="0660", TAG+="uaccess"
|
||||
SUBSYSTEM=="usb", ATTRS{idVendor}=="31e3", MODE:="0660", TAG+="uaccess"
|
||||
@@ -0,0 +1,6 @@
|
||||
project pkg {
|
||||
rpm {
|
||||
spec = "wooting-udev-rules.spec"
|
||||
}
|
||||
arches = ["x86_64"]
|
||||
}
|
||||
@@ -0,0 +1,40 @@
|
||||
%global appid io.wooting.Udev
|
||||
|
||||
|
||||
Name: wooting-udev-rules
|
||||
Version: 1
|
||||
Release: 1%{?dist}
|
||||
Summary: Udev rules for wooting keyboards
|
||||
Provides: wooting-udev = %{version}-%{release}
|
||||
License: Unlicense
|
||||
Source0: 70-wooting.rules
|
||||
BuildArch: noarch
|
||||
BuildRequires: systemd
|
||||
BuildRequires: anda-srpm-macros
|
||||
Requires: systemd-udev
|
||||
|
||||
%global udev_order 70
|
||||
|
||||
%description
|
||||
Udev rules for Wooting keyboards to enable device access for use with the Wootility AppImage on Linux systems.
|
||||
|
||||
%prep
|
||||
|
||||
%build
|
||||
|
||||
%install
|
||||
install -D -p -m 644 %SOURCE0 %{buildroot}%{_udevrulesdir}/%{udev_order}-wooting.rules
|
||||
#
|
||||
%post
|
||||
%udev_rules_update
|
||||
|
||||
%postun
|
||||
%udev_rules_update
|
||||
|
||||
%files
|
||||
%_udevrulesdir/%{udev_order}-wooting.rules
|
||||
|
||||
|
||||
%changelog
|
||||
* Mon Jan 05 2026 Roice Young <dekodx@proton.me>
|
||||
- Initial release
|
||||
Reference in New Issue
Block a user