Introduce openrgb udev rule rpm package
Some checks failed
Build openrgb-udev-rules / Build and push image (push) Failing after 1m55s
Some checks failed
Build openrgb-udev-rules / Build and push image (push) Failing after 1m55s
This commit is contained in:
38
openrgb-udev-rules.spec
Normal file
38
openrgb-udev-rules.spec
Normal file
@@ -0,0 +1,38 @@
|
||||
Name: openrgb-udev-rules
|
||||
Vendor: hydros
|
||||
Version: 0.9
|
||||
Release: %autorelease
|
||||
Summary: Additional udev file for openrgb support
|
||||
|
||||
License: Apache-2.0
|
||||
URL: https://openrgb.org/
|
||||
|
||||
BuildArch: noarch
|
||||
Supplements: systemd-udev
|
||||
|
||||
Source0: https://openrgb.org/releases/release_%{version}/60-openrgb.rules
|
||||
|
||||
%description
|
||||
Adds udev rules providing compatibilities for supported openrgb devices
|
||||
|
||||
%prep
|
||||
%autosetup
|
||||
|
||||
%build
|
||||
|
||||
%install
|
||||
mkdir -p -m0755 %{buildroot}%{_datadir}/%{VENDOR}/openrgb
|
||||
|
||||
# add openrgb remote-sourced rules
|
||||
install -m0644 %{SOURCE0} %{buildroot}%{_datadir}/%{VENDOR}/openrgb/60-openrgb.rules
|
||||
|
||||
mkdir -p -m0755 %{buildroot}%{_exec_prefix}/lib/udev/rules.d
|
||||
install -p -m0644 %{buildroot}%{_datadir}/%{VENDOR}/openrgb/60-openrgb.rules %{buildroot}%{_exec_prefix}/lib/udev/rules.d/
|
||||
|
||||
%files
|
||||
%{_datadir}/%{VENDOR}/openrgb/60-openrgb.rules
|
||||
%{_exec_prefix}/lib/udev/rules.d/60-openrgb.rules
|
||||
|
||||
|
||||
%changelog
|
||||
%autochangelog
|
||||
Reference in New Issue
Block a user