From 640df8d9719faea24e2a9dfad15457da5d7539d8 Mon Sep 17 00:00:00 2001 From: Raboneko <119771935+raboneko@users.noreply.github.com> Date: Sat, 22 Mar 2025 01:16:55 -0700 Subject: [PATCH] fix(peazip): Install desktop file, icons, and file manager integration (#4098) (#4110) * Install desktop file, icons, and file explorer integration Signed-off-by: Gilver * Bump release Signed-off-by: Gilver * Actually that's more correct Signed-off-by: Gilver * Yike Signed-off-by: Gilver --------- Signed-off-by: Gilver (cherry picked from commit 5fb5f91df673cc405e2e738d8e85764fc1c3f186) Co-authored-by: Gilver --- anda/apps/peazip/peazip.spec | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/anda/apps/peazip/peazip.spec b/anda/apps/peazip/peazip.spec index c3a2c34ee9..e5a3190d32 100644 --- a/anda/apps/peazip/peazip.spec +++ b/anda/apps/peazip/peazip.spec @@ -3,7 +3,7 @@ Name: peazip Version: 10.3.0 -Release: 2%?dist +Release: 3%?dist Summary: Free Zip / Unzip software and Rar file extractor. Cross-platform file and archive manager License: LGPL-3.0-only URL: https://peazip.github.io @@ -101,10 +101,19 @@ lazbuild --ws=qt6 dev/project_pea.lpi && cp dev/pea ../pea.qt6 %install install -Dm755 peazip.* -t %buildroot%_bindir install -Dm755 pea.* -t %buildroot%_bindir +install -Dm644 peazip-sources/res/share/batch/freedesktop_integration/peazip.desktop -t %{buildroot}%{_datadir}/applications +install -Dm644 peazip-sources/res/share/batch/freedesktop_integration/*.png -t %{buildroot}%{_datadir}/pixmaps +install -Dm644 peazip-sources/res/share/batch/freedesktop_integration/KDE-servicemenus/KDE6-dolphin/peazip-kde6.desktop -t %{buildroot}%{_datadir}/kio/servicemenus +install -Dm644 peazip-sources/res/share/batch/freedesktop_integration/Nautilus-scripts/PeaZip/* -t %{buildroot}%{_datadir}/nautilus/scripts/PeaZip %files %doc README.md %license LICENSE SECURITY.md +%{_datadir}/applications/peazip.desktop +%{_datadir}/pixmaps/peazip*.png +%{_datadir}/kio/servicemenus/peazip-kde6.desktop +%dir %{_datadir}/nautilus/scripts/PeaZip +%{_datadir}/nautilus/scripts/PeaZip/* %files -n pea %doc README.md