- Update to version 8.2.0 * BACKEND * Updated Brotli to 1.0.9 version * Added read support (browse / test / extract) to Lzip .lz file type * Added support for .apkm, .apks, and .aab packages Android package formats * Updated Pea 1.02 * Updated Zstd 1.50 * Updated p7zip 17.04 * CODE * maximum length of CL generated on Linux systems is now increased to 128 K characters in contrast to much more limited 32 K characters allowed on Windows systems * FILE MANAGER * Improved system directories shown by default in navigation tree on the left of file manager * Updated list of apps automatically detected for Open with submenu; apps and scripts can be customized in Options > Settings, Applications tab * Enabled System tools submenu in context menu > File manager * New Ctrl+Alt+A link to autoadjust file browser columns * Themes: added "Presets" link on the right of Application accent color picker, allowing to quickly customize both application and text accent colors accordingly to common color themes of reference Operating Systems e.g. Mint, Ubuntu, Windows * EXTRACTION and ARCHIVING * Added XZ (Linux, Windows) and Zstd (Linux) as optional algorithms for ZIP/ZIPX compression, from Advanced tab in archiving / conversion screen * Improved extraction * Improved raw file spanning, it is now possible to submit multiple separate input files at once to be split to specified size * Improved support for .xxxaa spanned files from Unix/Linux split command * New option for default behavior at application startup: Extract all here (smart new folder) * Added support (as container files) to .whl Python archives and .gem Ruby gem archives * Added option to extract all, selected or displayed items to extraction dropdown menu, replicating Extract button context menu * Added actions to Test all, selected or displayed items in Test button context menu - Rebase peazip-desktop.patch OBS-URL: https://build.opensuse.org/request/show/922321 OBS-URL: https://build.opensuse.org/package/show/devel:languages:pascal/peazip?expand=0&rev=94
169 lines
5.6 KiB
RPMSpec
169 lines
5.6 KiB
RPMSpec
#
|
|
# spec file for package peazip
|
|
#
|
|
# Copyright (c) 2021 SUSE LLC
|
|
#
|
|
# All modifications and additions to the file contributed by third parties
|
|
# remain the property of their copyright owners, unless otherwise agreed
|
|
# upon. The license for this file, and modifications and additions to the
|
|
# file, is the same license as for the pristine package itself (unless the
|
|
# license for the pristine package is not an Open Source License, in which
|
|
# case the license is the MIT License). An "Open Source License" is a
|
|
# license that conforms to the Open Source Definition (Version 1.9)
|
|
# published by the Open Source Initiative.
|
|
|
|
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
|
#
|
|
|
|
|
|
%define _peazipinstalldir %{_libdir}/peazip
|
|
%define _helpver 8.2.0
|
|
Name: peazip
|
|
Version: 8.2.0
|
|
Release: 0
|
|
Summary: Graphical file archiver
|
|
License: LGPL-3.0-only
|
|
Group: Productivity/Archiving/Compression
|
|
URL: https://peazip.github.io/
|
|
Source0: https://github.com/peazip/PeaZip/releases/download/%{version}/peazip-%{version}.src.zip
|
|
Source1: altconf.txt
|
|
Source2: https://github.com/peazip/PeaZip/releases/download/%{version}/peazip_help.pdf
|
|
Patch0: peazip-desktop.patch
|
|
# PATCH-FIX-OPENSUSE peazip-build_PIE.patch -- aloisio@gmx.com
|
|
Patch2: peazip-build_PIE.patch
|
|
# PATCH-FIX-OPENSUSE peazip-help_path.patch set correct path for the pdf guide -- aloisio@gmx.com
|
|
Patch3: peazip-help_path.patch
|
|
# PATCH-FEATURE-OPENSUSE peazip-debuginfo.patch
|
|
Patch4: peazip-debuginfo.patch
|
|
BuildRequires: arc
|
|
BuildRequires: brotli
|
|
BuildRequires: dos2unix
|
|
BuildRequires: fdupes
|
|
BuildRequires: fpc
|
|
BuildRequires: fpc-src
|
|
BuildRequires: kf5-filesystem
|
|
BuildRequires: lazarus
|
|
BuildRequires: unzip
|
|
BuildRequires: upx
|
|
BuildRequires: zpaq
|
|
BuildRequires: zstd
|
|
%if 0%{?suse_version} > 1500 || 0%{?sle_version} > 150100
|
|
BuildRequires: p7zip-full
|
|
Requires: p7zip-full
|
|
%else
|
|
BuildRequires: p7zip
|
|
Requires: p7zip
|
|
%endif
|
|
Requires: upx
|
|
%if 0%{?suse_version} < 1500
|
|
BuildRequires: update-desktop-files
|
|
%endif
|
|
Suggests: arc
|
|
Suggests: brotli
|
|
Suggests: zpaq
|
|
Suggests: zstd
|
|
|
|
%description
|
|
PeaZip is a file and archive manager GUI for many formats.
|
|
|
|
Create: 7Z, ARC, BZ2, GZ, *PAQ, PEA, QUAD/BALZ, TAR, UPX, WIM, XZ, ZIP files
|
|
|
|
Extract 150+ archive types: ACE, ARJ, CAB, DMG, ISO, LHA, RAR, UDF, ZIPX and more
|
|
|
|
It can extract, create and convert multiple archives at once,
|
|
create self-extracting archives, split/join files, supports strong encryption with two-factor authentication,
|
|
has an encrypted password manager, secure deletion, can find duplicate files, calculate hashes, and
|
|
export job definition as a script.
|
|
|
|
%package kf5
|
|
Summary: KF5 servicemenu for peazip
|
|
Group: Productivity/Archiving/Compression
|
|
Requires: peazip
|
|
%if 0%{?suse_version} < 1500
|
|
Requires(post): update-desktop-files
|
|
Requires(postun):update-desktop-files
|
|
%endif
|
|
BuildArch: noarch
|
|
|
|
%description kf5
|
|
PeaZip is a file and archive manager GUI for many formats.
|
|
This subpackage contains the KF5 integration.
|
|
|
|
%prep
|
|
%autosetup -p1 -n %{name}-%{version}.src
|
|
chmod +w res/lang
|
|
dos2unix readme
|
|
cp %{SOURCE2} peazip_help.pdf
|
|
|
|
%build
|
|
lazbuild \
|
|
--lazarusdir=%{_libdir}/lazarus \
|
|
%ifarch x86_64
|
|
--cpu=x86_64 \
|
|
%endif
|
|
--widgetset=gtk2 \
|
|
--max-process-count=1 \
|
|
-B project_pea.lpi project_peach.lpi
|
|
|
|
%install
|
|
mkdir -p %{buildroot}%{_bindir}
|
|
mkdir -p %{buildroot}%{_peazipinstalldir}
|
|
cp -r res %{buildroot}%{_peazipinstalldir}
|
|
cp %{SOURCE1} %{buildroot}%{_peazipinstalldir}/res
|
|
|
|
mkdir -p %{buildroot}%{_peazipinstalldir}/res/7z
|
|
mkdir -p %{buildroot}%{_peazipinstalldir}/res/upx
|
|
ln -s %{_bindir}/7z %{buildroot}%{_peazipinstalldir}/res/7z/7z
|
|
ln -s %{_bindir}/upx %{buildroot}%{_peazipinstalldir}/res/upx/upx
|
|
|
|
mkdir -p %{buildroot}%{_peazipinstalldir}/res/arc
|
|
mkdir -p %{buildroot}%{_peazipinstalldir}/res/brotli
|
|
mkdir -p %{buildroot}%{_peazipinstalldir}/res/zpaq
|
|
mkdir -p %{buildroot}%{_peazipinstalldir}/res/zstd
|
|
ln -s %{_bindir}/arc %{buildroot}%{_peazipinstalldir}/res/arc/arc
|
|
ln -s %{_bindir}/brotli %{buildroot}%{_peazipinstalldir}/res/brotli/brotli
|
|
ln -s %{_bindir}/zpaq %{buildroot}%{_peazipinstalldir}/res/zpaq/zpaq
|
|
ln -s %{_bindir}/zstd %{buildroot}%{_peazipinstalldir}/res/zstd/zstd
|
|
|
|
install -m755 peazip %{buildroot}%{_peazipinstalldir}
|
|
ln -s %{_peazipinstalldir}/peazip %{buildroot}%{_bindir}/peazip
|
|
install -m755 pea %{buildroot}%{_peazipinstalldir}/res
|
|
ln -s %{_peazipinstalldir}/res/pea %{buildroot}%{_bindir}/pea
|
|
|
|
mkdir -p %{buildroot}%{_datadir}/applications/
|
|
cp %{buildroot}%{_peazipinstalldir}/res/batch/freedesktop_integration/peazip.desktop %{buildroot}%{_datadir}/applications/
|
|
rm %{buildroot}%{_peazipinstalldir}/res/batch/freedesktop_integration/peazip.desktop
|
|
mkdir -p %{buildroot}%{_datadir}/pixmaps/
|
|
cp %{buildroot}%{_peazipinstalldir}/res/batch/freedesktop_integration/peazip.png %{buildroot}%{_datadir}/pixmaps/
|
|
rm %{buildroot}%{_peazipinstalldir}/res/batch/freedesktop_integration/peazip.png
|
|
|
|
pushd %{buildroot}%{_peazipinstalldir}/res/batch/freedesktop_integration/KDE-servicemenus/KDE5-dolphin/
|
|
mkdir -p %{buildroot}%{_kf5_servicesdir}/ServiceMenus
|
|
install -m644 *.desktop %{buildroot}%{_kf5_servicesdir}/ServiceMenus
|
|
popd
|
|
|
|
%fdupes %{buildroot}/%{_prefix}
|
|
|
|
%if 0%{?suse_version} < 1500
|
|
%post kf5
|
|
%desktop_database_post
|
|
|
|
%postun kf5
|
|
%desktop_database_postun
|
|
%endif
|
|
|
|
%files
|
|
%license copying.txt
|
|
%doc readme peazip_help.pdf
|
|
%{_bindir}/pea
|
|
%{_bindir}/peazip
|
|
%{_peazipinstalldir}
|
|
%{_datadir}/applications/peazip.desktop
|
|
%{_datadir}/pixmaps/peazip.png
|
|
|
|
%files kf5
|
|
%dir %{_kf5_servicesdir}/ServiceMenus
|
|
%{_kf5_servicesdir}/ServiceMenus/*.desktop
|
|
|
|
%changelog
|