You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
21 lines
717 B
21 lines
717 B
3 months ago
|
[package]
|
||
|
extra-files = [
|
||
|
"%{_datadir}/speakersafetyd/",
|
||
|
"%{_unitdir}/speakersafetyd.service",
|
||
|
"%{_sharedstatedir}/speakersafetyd/",
|
||
|
"%{_udevrulesdir}/95-speakersafetyd.rules",
|
||
|
]
|
||
|
|
||
|
[requires]
|
||
|
build = ["systemd-rpm-macros"]
|
||
|
bin = ["systemd-udev"]
|
||
|
|
||
|
[scripts]
|
||
|
install.post = [
|
||
|
"install -p -m 0644 -D speakersafetyd.service %{buildroot}%{_unitdir}/speakersafetyd.service",
|
||
|
"install -p -m 0644 -D 95-speakersafetyd.rules %{buildroot}%{_udevrulesdir}/95-speakersafetyd.rules",
|
||
|
"install -d -m 0755 %{buildroot}%{_datadir}/speakersafetyd/apple",
|
||
|
"install -p -m 0644 -t %{buildroot}%{_datadir}/speakersafetyd/apple conf/apple/*",
|
||
|
"install -d -m 0755 %{buildroot}%{_sharedstatedir}/speakersafetyd/blackbox",
|
||
|
]
|