From 01afb01198e00c41eed6382dd5790e007a7b4cd4 Mon Sep 17 00:00:00 2001 From: arabian Date: Thu, 25 Sep 2025 17:54:10 +0300 Subject: [PATCH] add missing files to pwsp.spec --- pwsp.spec | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/pwsp.spec b/pwsp.spec index 79dce75..72e8c65 100644 --- a/pwsp.spec +++ b/pwsp.spec @@ -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 \ No newline at end of file