SHA256
1
0
forked from pool/peazip

Accepting request 970085 from devel:languages:pascal

OBS-URL: https://build.opensuse.org/request/show/970085
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/peazip?expand=0&rev=35
This commit is contained in:
Dominique Leuenberger 2022-04-14 15:25:40 +00:00 committed by Git OBS Bridge
commit 47dca7e562
9 changed files with 131 additions and 89 deletions

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:f4ffb4ca1e912eb89d8d32338166bad2bdb0dc86fffb747921eb2c2b90c8aa74
size 6896758

3
peazip-8.6.0.src.zip Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:a0dd9e5fb45594904e3f2c45dd1077fe4e4ec426471483240ea5b1a8bccd2e1b
size 5832576

View File

@ -5,24 +5,24 @@ Subject: Build PIE binaries
Set lazarus project files so that we produce position
independent executables.
Index: peazip-6.7.2.src/project_pea.lpi
Index: peazip-8.6.0.src/project_pea.lpi
===================================================================
--- peazip-6.7.2.src.orig/project_pea.lpi
+++ peazip-6.7.2.src/project_pea.lpi
@@ -485,6 +485,8 @@
<GenerateDebugInfo Value="False"/>
</Debugging>
<Options>
+ <PassLinkerOptions Value="True"/>
+ <LinkerOptions Value="-pie"/>
<Win32>
<GraphicApplication Value="True"/>
</Win32>
Index: peazip-6.7.2.src/project_peach.lpi
===================================================================
--- peazip-6.7.2.src.orig/project_peach.lpi
+++ peazip-6.7.2.src/project_peach.lpi
@@ -1411,6 +1411,8 @@
--- peazip-8.6.0.src.orig/project_pea.lpi
+++ peazip-8.6.0.src/project_pea.lpi
@@ -552,6 +552,8 @@
<DebugInfoType Value="dsDwarf3"/>
</Debugging>
<Options>
+ <PassLinkerOptions Value="True"/>
+ <LinkerOptions Value="-pie"/>
<Win32>
<GraphicApplication Value="True"/>
</Win32>
Index: peazip-8.6.0.src/project_peach.lpi
===================================================================
--- peazip-8.6.0.src.orig/project_peach.lpi
+++ peazip-8.6.0.src/project_peach.lpi
@@ -1591,6 +1591,8 @@
<GenerateDebugInfo Value="False"/>
</Debugging>
<Options>

View File

@ -1,15 +1,8 @@
From: Luigi Baldoni <aloisio@gmx.com>
Date: 2018-05-07 09:26:31 +0200
Subject: Create debug packages
Set lazarus project files so that we produce debuginfo
and debugsource packages.
Index: peazip-6.6.0.src/project_pea.lpi
Index: peazip-8.6.0.src/project_peach.lpi
===================================================================
--- peazip-6.6.0.src.orig/project_pea.lpi
+++ peazip-6.6.0.src/project_pea.lpi
@@ -483,7 +483,7 @@
--- peazip-8.6.0.src.orig/project_peach.lpi
+++ peazip-8.6.0.src/project_peach.lpi
@@ -1588,7 +1588,7 @@
</CodeGeneration>
<Linking>
<Debugging>
@ -18,16 +11,16 @@ Index: peazip-6.6.0.src/project_pea.lpi
</Debugging>
<Options>
<PassLinkerOptions Value="True"/>
Index: peazip-6.6.0.src/project_peach.lpi
Index: peazip-8.6.0.src/project_pea.lpi
===================================================================
--- peazip-6.6.0.src.orig/project_peach.lpi
+++ peazip-6.6.0.src/project_peach.lpi
@@ -1350,7 +1350,7 @@
--- peazip-8.6.0.src.orig/project_pea.lpi
+++ peazip-8.6.0.src/project_pea.lpi
@@ -548,7 +548,7 @@
</CodeGeneration>
<Linking>
<Debugging>
- <GenerateDebugInfo Value="False"/>
+ <GenerateDebugInfo Value="True"/>
<DebugInfoType Value="dsDwarf3"/>
</Debugging>
<Options>
<PassLinkerOptions Value="True"/>

View File

@ -1,6 +1,7 @@
diff -ru a/res/share/batch/freedesktop_integration/KDE-servicemenus/KDE4-dolphin/peazipadd.desktop b/res/share/batch/freedesktop_integration/KDE-servicemenus/KDE4-dolphin/peazipadd.desktop
--- a/res/share/batch/freedesktop_integration/KDE-servicemenus/KDE4-dolphin/peazipadd.desktop 2010-04-29 01:11:38.000000000 +0200
+++ b/res/share/batch/freedesktop_integration/KDE-servicemenus/KDE4-dolphin/peazipadd.desktop 2021-09-30 10:21:48.967391937 +0200
Index: peazip-8.6.0.src/res/share/batch/freedesktop_integration/KDE-servicemenus/KDE4-dolphin/peazipadd.desktop
===================================================================
--- peazip-8.6.0.src.orig/res/share/batch/freedesktop_integration/KDE-servicemenus/KDE4-dolphin/peazipadd.desktop
+++ peazip-8.6.0.src/res/share/batch/freedesktop_integration/KDE-servicemenus/KDE4-dolphin/peazipadd.desktop
@@ -2,6 +2,8 @@
Exec=peazip -add2archive %F
Icon=peazip
@ -10,14 +11,15 @@ diff -ru a/res/share/batch/freedesktop_integration/KDE-servicemenus/KDE4-dolphin
[Desktop Entry]
Type=Service
@@ -11,3 +13,4 @@
@@ -11,3 +13,4 @@ Name=peazipadd
Name[en_US]=peazipadd
Icon=peazip
ServiceTypes=KonqPopupMenu/Plugin,all/all
+X-SuSE-translate=true
diff -ru a/res/share/batch/freedesktop_integration/KDE-servicemenus/KDE4-dolphin/peazipext.desktop b/res/share/batch/freedesktop_integration/KDE-servicemenus/KDE4-dolphin/peazipext.desktop
--- a/res/share/batch/freedesktop_integration/KDE-servicemenus/KDE4-dolphin/peazipext.desktop 2010-04-29 01:11:38.000000000 +0200
+++ b/res/share/batch/freedesktop_integration/KDE-servicemenus/KDE4-dolphin/peazipext.desktop 2021-09-30 10:21:51.743403456 +0200
Index: peazip-8.6.0.src/res/share/batch/freedesktop_integration/KDE-servicemenus/KDE4-dolphin/peazipext.desktop
===================================================================
--- peazip-8.6.0.src.orig/res/share/batch/freedesktop_integration/KDE-servicemenus/KDE4-dolphin/peazipext.desktop
+++ peazip-8.6.0.src/res/share/batch/freedesktop_integration/KDE-servicemenus/KDE4-dolphin/peazipext.desktop
@@ -1,7 +1,9 @@
[Desktop Action peazipext]
Exec=peazip -ext2full %F
@ -29,14 +31,15 @@ diff -ru a/res/share/batch/freedesktop_integration/KDE-servicemenus/KDE4-dolphin
[Desktop Entry]
Type=Service
@@ -11,3 +13,4 @@
@@ -11,3 +13,4 @@ Encoding=UTF-8
Name=peazipext
Name[en_US]=peazipext
ServiceTypes=KonqPopupMenu/Plugin,all/all
+X-SuSE-translate=true
diff -ru a/res/share/batch/freedesktop_integration/KDE-servicemenus/KDE4-dolphin/peazipextfolder.desktop b/res/share/batch/freedesktop_integration/KDE-servicemenus/KDE4-dolphin/peazipextfolder.desktop
--- a/res/share/batch/freedesktop_integration/KDE-servicemenus/KDE4-dolphin/peazipextfolder.desktop 2010-04-29 01:11:38.000000000 +0200
+++ b/res/share/batch/freedesktop_integration/KDE-servicemenus/KDE4-dolphin/peazipextfolder.desktop 2021-09-30 10:21:53.783411921 +0200
Index: peazip-8.6.0.src/res/share/batch/freedesktop_integration/KDE-servicemenus/KDE4-dolphin/peazipextfolder.desktop
===================================================================
--- peazip-8.6.0.src.orig/res/share/batch/freedesktop_integration/KDE-servicemenus/KDE4-dolphin/peazipextfolder.desktop
+++ peazip-8.6.0.src/res/share/batch/freedesktop_integration/KDE-servicemenus/KDE4-dolphin/peazipextfolder.desktop
@@ -1,7 +1,9 @@
[Desktop Action peazipextfolder]
Exec=peazip -ext2folder %F
@ -48,14 +51,15 @@ diff -ru a/res/share/batch/freedesktop_integration/KDE-servicemenus/KDE4-dolphin
[Desktop Entry]
Type=Service
@@ -11,3 +13,4 @@
@@ -11,3 +13,4 @@ Icon=peazip
Name=peazipextfolder
Name[en_US]=peazipextfolder
ServiceTypes=KonqPopupMenu/Plugin,all/all
+X-SuSE-translate=true
diff -ru a/res/share/batch/freedesktop_integration/KDE-servicemenus/KDE4-dolphin/peazipexthere.desktop b/res/share/batch/freedesktop_integration/KDE-servicemenus/KDE4-dolphin/peazipexthere.desktop
--- a/res/share/batch/freedesktop_integration/KDE-servicemenus/KDE4-dolphin/peazipexthere.desktop 2010-04-29 01:11:38.000000000 +0200
+++ b/res/share/batch/freedesktop_integration/KDE-servicemenus/KDE4-dolphin/peazipexthere.desktop 2021-09-30 10:21:55.807420319 +0200
Index: peazip-8.6.0.src/res/share/batch/freedesktop_integration/KDE-servicemenus/KDE4-dolphin/peazipexthere.desktop
===================================================================
--- peazip-8.6.0.src.orig/res/share/batch/freedesktop_integration/KDE-servicemenus/KDE4-dolphin/peazipexthere.desktop
+++ peazip-8.6.0.src/res/share/batch/freedesktop_integration/KDE-servicemenus/KDE4-dolphin/peazipexthere.desktop
@@ -1,7 +1,9 @@
[Desktop Action peazipexthere]
Exec=peazip -ext2here %F
@ -67,14 +71,15 @@ diff -ru a/res/share/batch/freedesktop_integration/KDE-servicemenus/KDE4-dolphin
[Desktop Entry]
Type=Service
@@ -11,3 +13,4 @@
@@ -11,3 +13,4 @@ Icon=peazip
Name=peazipexthere
Name[en_US]=peazipexthere
ServiceTypes=KonqPopupMenu/Plugin,all/all
+X-SuSE-translate=true
diff -ru a/res/share/batch/freedesktop_integration/KDE-servicemenus/KDE4-dolphin/peazipopen.desktop b/res/share/batch/freedesktop_integration/KDE-servicemenus/KDE4-dolphin/peazipopen.desktop
--- a/res/share/batch/freedesktop_integration/KDE-servicemenus/KDE4-dolphin/peazipopen.desktop 2010-04-29 01:11:38.000000000 +0200
+++ b/res/share/batch/freedesktop_integration/KDE-servicemenus/KDE4-dolphin/peazipopen.desktop 2021-09-30 10:21:58.735432468 +0200
Index: peazip-8.6.0.src/res/share/batch/freedesktop_integration/KDE-servicemenus/KDE4-dolphin/peazipopen.desktop
===================================================================
--- peazip-8.6.0.src.orig/res/share/batch/freedesktop_integration/KDE-servicemenus/KDE4-dolphin/peazipopen.desktop
+++ peazip-8.6.0.src/res/share/batch/freedesktop_integration/KDE-servicemenus/KDE4-dolphin/peazipopen.desktop
@@ -2,6 +2,8 @@
Exec=peazip -ext2browse %F
Icon=peazip
@ -84,14 +89,15 @@ diff -ru a/res/share/batch/freedesktop_integration/KDE-servicemenus/KDE4-dolphin
[Desktop Entry]
Type=Service
@@ -11,3 +13,4 @@
@@ -11,3 +13,4 @@ Icon=peazip
Name=peazipopen
Name[en_US]=peazipopen
ServiceTypes=KonqPopupMenu/Plugin,all/all
+X-SuSE-translate=true
diff -ru a/res/share/batch/freedesktop_integration/KDE-servicemenus/KDE5-dolphin/peazipadd.desktop b/res/share/batch/freedesktop_integration/KDE-servicemenus/KDE5-dolphin/peazipadd.desktop
--- a/res/share/batch/freedesktop_integration/KDE-servicemenus/KDE5-dolphin/peazipadd.desktop 2010-04-29 01:11:38.000000000 +0200
+++ b/res/share/batch/freedesktop_integration/KDE-servicemenus/KDE5-dolphin/peazipadd.desktop 2021-09-30 10:21:39.779353810 +0200
Index: peazip-8.6.0.src/res/share/batch/freedesktop_integration/KDE-servicemenus/KDE5-dolphin/peazipadd.desktop
===================================================================
--- peazip-8.6.0.src.orig/res/share/batch/freedesktop_integration/KDE-servicemenus/KDE5-dolphin/peazipadd.desktop
+++ peazip-8.6.0.src/res/share/batch/freedesktop_integration/KDE-servicemenus/KDE5-dolphin/peazipadd.desktop
@@ -2,6 +2,8 @@
Exec=peazip -add2archive %F
Icon=peazip
@ -101,14 +107,15 @@ diff -ru a/res/share/batch/freedesktop_integration/KDE-servicemenus/KDE5-dolphin
[Desktop Entry]
Type=Service
@@ -11,3 +13,4 @@
@@ -11,3 +13,4 @@ Name=peazipadd
Name[en_US]=peazipadd
Icon=peazip
ServiceTypes=KonqPopupMenu/Plugin,all/all
+X-SuSE-translate=true
diff -ru a/res/share/batch/freedesktop_integration/KDE-servicemenus/KDE5-dolphin/peazipext.desktop b/res/share/batch/freedesktop_integration/KDE-servicemenus/KDE5-dolphin/peazipext.desktop
--- a/res/share/batch/freedesktop_integration/KDE-servicemenus/KDE5-dolphin/peazipext.desktop 2010-04-29 01:11:38.000000000 +0200
+++ b/res/share/batch/freedesktop_integration/KDE-servicemenus/KDE5-dolphin/peazipext.desktop 2021-09-30 10:21:37.023342374 +0200
Index: peazip-8.6.0.src/res/share/batch/freedesktop_integration/KDE-servicemenus/KDE5-dolphin/peazipext.desktop
===================================================================
--- peazip-8.6.0.src.orig/res/share/batch/freedesktop_integration/KDE-servicemenus/KDE5-dolphin/peazipext.desktop
+++ peazip-8.6.0.src/res/share/batch/freedesktop_integration/KDE-servicemenus/KDE5-dolphin/peazipext.desktop
@@ -1,7 +1,9 @@
[Desktop Action peazipext]
Exec=peazip -ext2full %F
@ -120,14 +127,15 @@ diff -ru a/res/share/batch/freedesktop_integration/KDE-servicemenus/KDE5-dolphin
[Desktop Entry]
Type=Service
@@ -11,3 +13,4 @@
@@ -11,3 +13,4 @@ Encoding=UTF-8
Name=peazipext
Name[en_US]=peazipext
ServiceTypes=KonqPopupMenu/Plugin,all/all
+X-SuSE-translate=true
diff -ru a/res/share/batch/freedesktop_integration/KDE-servicemenus/KDE5-dolphin/peazipextfolder.desktop b/res/share/batch/freedesktop_integration/KDE-servicemenus/KDE5-dolphin/peazipextfolder.desktop
--- a/res/share/batch/freedesktop_integration/KDE-servicemenus/KDE5-dolphin/peazipextfolder.desktop 2010-04-29 01:11:38.000000000 +0200
+++ b/res/share/batch/freedesktop_integration/KDE-servicemenus/KDE5-dolphin/peazipextfolder.desktop 2021-09-30 10:21:34.319331153 +0200
Index: peazip-8.6.0.src/res/share/batch/freedesktop_integration/KDE-servicemenus/KDE5-dolphin/peazipextfolder.desktop
===================================================================
--- peazip-8.6.0.src.orig/res/share/batch/freedesktop_integration/KDE-servicemenus/KDE5-dolphin/peazipextfolder.desktop
+++ peazip-8.6.0.src/res/share/batch/freedesktop_integration/KDE-servicemenus/KDE5-dolphin/peazipextfolder.desktop
@@ -1,7 +1,9 @@
[Desktop Action peazipextfolder]
Exec=peazip -ext2folder %F
@ -139,14 +147,15 @@ diff -ru a/res/share/batch/freedesktop_integration/KDE-servicemenus/KDE5-dolphin
[Desktop Entry]
Type=Service
@@ -11,3 +13,4 @@
@@ -11,3 +13,4 @@ Icon=peazip
Name=peazipextfolder
Name[en_US]=peazipextfolder
ServiceTypes=KonqPopupMenu/Plugin,all/all
+X-SuSE-translate=true
diff -ru a/res/share/batch/freedesktop_integration/KDE-servicemenus/KDE5-dolphin/peazipexthere.desktop b/res/share/batch/freedesktop_integration/KDE-servicemenus/KDE5-dolphin/peazipexthere.desktop
--- a/res/share/batch/freedesktop_integration/KDE-servicemenus/KDE5-dolphin/peazipexthere.desktop 2010-04-29 01:11:38.000000000 +0200
+++ b/res/share/batch/freedesktop_integration/KDE-servicemenus/KDE5-dolphin/peazipexthere.desktop 2021-09-30 10:21:26.175297353 +0200
Index: peazip-8.6.0.src/res/share/batch/freedesktop_integration/KDE-servicemenus/KDE5-dolphin/peazipexthere.desktop
===================================================================
--- peazip-8.6.0.src.orig/res/share/batch/freedesktop_integration/KDE-servicemenus/KDE5-dolphin/peazipexthere.desktop
+++ peazip-8.6.0.src/res/share/batch/freedesktop_integration/KDE-servicemenus/KDE5-dolphin/peazipexthere.desktop
@@ -1,7 +1,9 @@
[Desktop Action peazipexthere]
Exec=peazip -ext2here %F
@ -158,14 +167,15 @@ diff -ru a/res/share/batch/freedesktop_integration/KDE-servicemenus/KDE5-dolphin
[Desktop Entry]
Type=Service
@@ -11,3 +13,4 @@
@@ -11,3 +13,4 @@ Icon=peazip
Name=peazipexthere
Name[en_US]=peazipexthere
ServiceTypes=KonqPopupMenu/Plugin,all/all
+X-SuSE-translate=true
diff -ru a/res/share/batch/freedesktop_integration/KDE-servicemenus/KDE5-dolphin/peazipopen.desktop b/res/share/batch/freedesktop_integration/KDE-servicemenus/KDE5-dolphin/peazipopen.desktop
--- a/res/share/batch/freedesktop_integration/KDE-servicemenus/KDE5-dolphin/peazipopen.desktop 2010-04-29 01:11:38.000000000 +0200
+++ b/res/share/batch/freedesktop_integration/KDE-servicemenus/KDE5-dolphin/peazipopen.desktop 2021-09-30 10:21:21.987279972 +0200
Index: peazip-8.6.0.src/res/share/batch/freedesktop_integration/KDE-servicemenus/KDE5-dolphin/peazipopen.desktop
===================================================================
--- peazip-8.6.0.src.orig/res/share/batch/freedesktop_integration/KDE-servicemenus/KDE5-dolphin/peazipopen.desktop
+++ peazip-8.6.0.src/res/share/batch/freedesktop_integration/KDE-servicemenus/KDE5-dolphin/peazipopen.desktop
@@ -2,6 +2,8 @@
Exec=peazip -ext2browse %F
Icon=peazip
@ -175,14 +185,15 @@ diff -ru a/res/share/batch/freedesktop_integration/KDE-servicemenus/KDE5-dolphin
[Desktop Entry]
Type=Service
@@ -11,3 +13,4 @@
@@ -11,3 +13,4 @@ Icon=peazip
Name=peazipopen
Name[en_US]=peazipopen
ServiceTypes=KonqPopupMenu/Plugin,all/all
+X-SuSE-translate=true
diff -ru a/res/share/batch/freedesktop_integration/peazip.desktop b/res/share/batch/freedesktop_integration/peazip.desktop
--- a/res/share/batch/freedesktop_integration/peazip.desktop 2021-09-08 19:51:52.000000000 +0200
+++ b/res/share/batch/freedesktop_integration/peazip.desktop 2021-09-30 10:18:31.958574357 +0200
Index: peazip-8.6.0.src/res/share/batch/freedesktop_integration/peazip.desktop
===================================================================
--- peazip-8.6.0.src.orig/res/share/batch/freedesktop_integration/peazip.desktop
+++ peazip-8.6.0.src/res/share/batch/freedesktop_integration/peazip.desktop
@@ -1,14 +1,21 @@
[Desktop Entry]
Name=PeaZip
@ -208,7 +219,7 @@ diff -ru a/res/share/batch/freedesktop_integration/peazip.desktop b/res/share/ba
Actions=add;extract;extracthere;extractheresmart;
[Desktop Action add]
@@ -29,4 +36,4 @@
@@ -29,4 +36,4 @@ Icon=peazip_extract
[Desktop Action extractheresmart]
Name=PeaZip, extract here (smart new folder)
Exec=peazip -ext2folder %F

View File

@ -1,6 +1,8 @@
--- peazip-8.3.0.src/peach.pas.orig 2021-11-17 08:05:28.276986802 +0100
+++ peazip-8.3.0.src/peach.pas 2021-11-17 08:05:58.097106865 +0100
@@ -41412,7 +41412,7 @@
Index: peazip-8.6.0.src/peach.pas
===================================================================
--- peazip-8.6.0.src.orig/peach.pas
+++ peazip-8.6.0.src/peach.pas
@@ -41307,7 +41307,7 @@ end;
procedure TForm_peach.baboutlocalhelpClick(Sender: TObject);
begin
@ -9,7 +11,7 @@
end;
procedure TForm_peach.baboutremoveadditionalClick(Sender: TObject);
@@ -63622,7 +63622,7 @@
@@ -63737,7 +63737,7 @@ end;
procedure TForm_peach.mpeahelpofflineClick(Sender: TObject);
begin

View File

@ -1,3 +1,34 @@
-------------------------------------------------------------------
Thu Apr 14 05:38:23 UTC 2022 - Paolo Stivanin <info@paolostivanin.com>
- Update to 8.6.0:
BACKEND
* Pea 1.07
* 7z updated to 21.07
* (Linux) Zstd 1.5.2
CODE
* Fixed dictionary size for ZIP using XZ compression
* Compiled with Lazarus 2.2.0
* Various fixes
FILE MANAGER
* Improved theming
* New .ico and .png icons are now available in (peazip)/res/share/icons
directory for customizing the application on Linux, macOS, and Windows systems
* Simplified organization of UI layout
* Added link to devices mounted in /var/run/media in filesystem treeview, when applicable
* File / archive browser can now alternatively display larger details,
and large list modes (from Style menu on status bar) in order to improve readability and touch usability
EXTRACTION and ARCHIVING
* Added "Immediate execution" option for Profiles and Presets, in Add button's dropdown menu
* Added command line switches to compress items using one of the compression presets
or loading a saved custom compression setting
* Added option to not immediately save edited files into archive, keeping changes for further editing
(or for manually saving to archive from context menu, More submenu)
* Labels in status bar of Archiving and Extraction screens are clickable to show synthetic information about the task
* Improved compression settings
* Improved usage of Layouts
- Switch from GTK2 to QT5
-------------------------------------------------------------------
Wed Jan 26 13:05:11 UTC 2022 - Paolo Stivanin <info@paolostivanin.com>

View File

@ -17,9 +17,9 @@
%define _peazipinstalldir %{_libdir}/peazip
%define _helpver 8.4.0
%define _helpver 8.6.0
Name: peazip
Version: 8.4.0
Version: 8.6.0
Release: 0
Summary: Graphical file archiver
License: LGPL-3.0-only
@ -43,6 +43,7 @@ BuildRequires: fpc
BuildRequires: fpc-src
BuildRequires: kf5-filesystem
BuildRequires: lazarus
BuildRequires: libQt5Pas-devel
BuildRequires: unzip
BuildRequires: upx
BuildRequires: zpaq
@ -102,7 +103,7 @@ lazbuild \
%ifarch x86_64
--cpu=x86_64 \
%endif
--widgetset=gtk2 \
--widgetset=qt5 \
--max-process-count=1 \
-B project_pea.lpi project_peach.lpi
@ -134,9 +135,13 @@ ln -s %{_peazipinstalldir}/res/pea %{buildroot}%{_bindir}/pea
mkdir -p %{buildroot}%{_datadir}/applications/
cp %{buildroot}%{_peazipinstalldir}/res/share/batch/freedesktop_integration/peazip.desktop %{buildroot}%{_datadir}/applications/
rm %{buildroot}%{_peazipinstalldir}/res/share/batch/freedesktop_integration/peazip.desktop
# Remove duplicate comment line
sed -i '/Comment=PeaZip/d' %{buildroot}%{_datadir}/applications/peazip.desktop
mkdir -p %{buildroot}%{_datadir}/pixmaps/
cp %{buildroot}%{_peazipinstalldir}/res/share/batch/freedesktop_integration/peazip.png %{buildroot}%{_datadir}/pixmaps/
rm %{buildroot}%{_peazipinstalldir}/res/share/batch/freedesktop_integration/peazip.png
# Remove hard linked png
rm %{buildroot}%{_peazipinstalldir}/res/share/icons/peazip_app.png
pushd %{buildroot}%{_peazipinstalldir}/res/share/batch/freedesktop_integration/KDE-servicemenus/KDE5-dolphin/
mkdir -p %{buildroot}%{_kf5_servicesdir}/ServiceMenus

View File

@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:c62361a8f9dce1316181b9b010dc937d031566dbb46e6f0f782e2c25187858ab
size 1091213
oid sha256:686942b3c926ac60b7166f4befc46d8bfb2284d95fe047b6f4c7bd999ed12037
size 1423653