mirror of
https://github.com/arabianq/pipewire-soundpad.git
synced 2026-04-28 06:21:23 +00:00
add missing files to pwsp.spec
This commit is contained in:
@@ -1,4 +1,3 @@
|
||||
# Generated by rust2rpm 27
|
||||
%bcond check 1
|
||||
|
||||
# prevent library files from being installed
|
||||
@@ -37,10 +36,10 @@ install -Dm755 target/release/pwsp-cli %{buildroot}%{_bindir}/pwsp-cli
|
||||
install -Dm755 target/release/pwsp-daemon %{buildroot}%{_bindir}/pwsp-daemon
|
||||
install -Dm755 target/release/pwsp-gui %{buildroot}%{_bindir}/pwsp-gui
|
||||
|
||||
%if %{with check}
|
||||
%check
|
||||
cargo test
|
||||
%endif
|
||||
install -Dm644 assets/pwsp-gui.desktop %{buildroot}%{_datadir}/applications/pwsp.desktop
|
||||
install -Dm644 assets/icon.png %{buildroot}%{_datadir}/icons/hicolor/256x256/apps/pwsp.png
|
||||
|
||||
install -Dm644 assets/pwsp-daemon.service %{buildroot}%{_unitdir}/pwsp-daemon.service
|
||||
|
||||
%files
|
||||
%license LICENSE
|
||||
@@ -48,6 +47,9 @@ cargo test
|
||||
%{_bindir}/pwsp-cli
|
||||
%{_bindir}/pwsp-daemon
|
||||
%{_bindir}/pwsp-gui
|
||||
%{_datadir}/applications/pwsp.desktop
|
||||
%{_datadir}/icons/hicolor/256x256/apps/pwsp.png
|
||||
%{_unitdir}/pwsp-daemon.service
|
||||
|
||||
%changelog
|
||||
%autochangelog
|
||||
Reference in New Issue
Block a user