SHA256
1
0
forked from pool/peazip

Accepting request 208271 from home:enzokiel

New package:

Free Zip files utility

OBS-URL: https://build.opensuse.org/request/show/208271
OBS-URL: https://build.opensuse.org/package/show/devel:languages:pascal/peazip?expand=0&rev=1
This commit is contained in:
Lars Vogdt 2013-12-15 15:49:45 +00:00 committed by Git OBS Bridge
commit ae1d2259f3
7 changed files with 299 additions and 0 deletions

23
.gitattributes vendored Normal file
View File

@ -0,0 +1,23 @@
## Default LFS
*.7z filter=lfs diff=lfs merge=lfs -text
*.bsp filter=lfs diff=lfs merge=lfs -text
*.bz2 filter=lfs diff=lfs merge=lfs -text
*.gem filter=lfs diff=lfs merge=lfs -text
*.gz filter=lfs diff=lfs merge=lfs -text
*.jar filter=lfs diff=lfs merge=lfs -text
*.lz filter=lfs diff=lfs merge=lfs -text
*.lzma filter=lfs diff=lfs merge=lfs -text
*.obscpio filter=lfs diff=lfs merge=lfs -text
*.oxt filter=lfs diff=lfs merge=lfs -text
*.pdf filter=lfs diff=lfs merge=lfs -text
*.png filter=lfs diff=lfs merge=lfs -text
*.rpm filter=lfs diff=lfs merge=lfs -text
*.tbz filter=lfs diff=lfs merge=lfs -text
*.tbz2 filter=lfs diff=lfs merge=lfs -text
*.tgz filter=lfs diff=lfs merge=lfs -text
*.ttf filter=lfs diff=lfs merge=lfs -text
*.txz filter=lfs diff=lfs merge=lfs -text
*.whl filter=lfs diff=lfs merge=lfs -text
*.xz filter=lfs diff=lfs merge=lfs -text
*.zip filter=lfs diff=lfs merge=lfs -text
*.zst filter=lfs diff=lfs merge=lfs -text

1
.gitignore vendored Normal file
View File

@ -0,0 +1 @@
.osc

2
altconf.txt Normal file
View File

@ -0,0 +1,2 @@
[alternative configuration's path: specify a location for bookmarks.txt, conf.txt and rnd (either absolute or relative path, use " and ' if needed); write "same" to use this path, "appdata" to use user's application data or home path]
appdata

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

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

108
peazip-desktop.patch Normal file
View File

@ -0,0 +1,108 @@
--- FreeDesktop_integration/peazip.desktop.orig 2013-06-28 18:09:03.707102954 +0200
+++ FreeDesktop_integration/peazip.desktop 2013-06-28 18:09:03.735102420 +0200
@@ -1,13 +1,15 @@
[Desktop Entry]
-Version=1.0
-Encoding=UTF-8
Name=PeaZip
-MimeType=application/x-gzip;application/x-lha;application/x-tar;application/x-tgz;application/x-tbz;application/x-tbz2;application/x-zip;application/zip;application/x-bzip;application/x-rar;application/x-tarz;application/x-archive;application/x-bzip2;application/x-jar;application/x-deb;application/x-ace;application/x-7z;application/x-arc;application/x-arj;application/x-compress;application/x-cpio;
-GenericName=Archiving Tool
-Exec=peazip %F
-Icon=peazip.png
-Type=Application
+Exec=peazip
+Icon=peazip
Terminal=false
+Type=Application
+GenericName=Free Zip files utility
+GenericName[de]=Freies Zip-Dateien Utility
+Comment=Free Zip files utility, supports 150+ formats: 7Z, ISO, RAR, ZIP, ZIPX
+Comment[de]=Freies Zip-Dateien Utility, unterstützt 150+ Formate: 7Z, ISO, RAR, ZIP, ZIPX
+MimeType=application/x-gzip;application/x-lha;application/x-tar;application/x-tgz;application/x-tbz;application/x-tbz2;application/x-zip;application/zip;application/x-bzip;application/x-rar;application/x-tarz;application/x-archive;application/x-bzip2;application/x-jar;application/x-deb;application/x-ace;application/x-7z;application/x-arc;application/x-arj;application/x-compress;application/x-cpio;
X-KDE-HasTempFileOption=true
-Categories=GTK;KDE;Utility;System;Archiving;
-Name[en_US]=peazip.desktop
+Categories=Qt;KDE;Utility;System;Archiving;
+X-KDE-StartupNotify=true
+X-SuSE-translate=true
--- FreeDesktop_integration/kde4-dolphin/usr/share/kde4/services/ServiceMenus/peazipadd.desktop.orig 2013-06-28 18:15:13.403044659 +0200
+++ FreeDesktop_integration/kde4-dolphin/usr/share/kde4/services/ServiceMenus/peazipadd.desktop 2013-06-28 18:35:53.746570906 +0200
@@ -2,6 +2,7 @@
Exec=peazip -add2archive %F
Icon=peazip
Name=Archive with PeaZip
+Name[de]=Archivieren mit PeaZip
[Desktop Entry]
Type=Service
@@ -11,3 +12,4 @@
Name[en_US]=peazipadd
Icon=peazip
ServiceTypes=KonqPopupMenu/Plugin,all/all
+X-SuSE-translate=true
--- FreeDesktop_integration/kde4-dolphin/usr/share/kde4/services/ServiceMenus/peazipext.desktop.orig 2013-06-28 18:16:19.890789671 +0200
+++ FreeDesktop_integration/kde4-dolphin/usr/share/kde4/services/ServiceMenus/peazipext.desktop 2013-06-28 18:35:50.724628518 +0200
@@ -1,7 +1,8 @@
[Desktop Action peazipext]
Exec=peazip -ext2full %F
Icon=peazip
-Name=Extract (PeaZip)
+Name=Extract with PeaZip
+Name=Extrahieren mit PeaZip
[Desktop Entry]
Type=Service
@@ -11,3 +12,4 @@
Name=peazipext
Name[en_US]=peazipext
ServiceTypes=KonqPopupMenu/Plugin,all/all
+X-SuSE-translate=true
--- FreeDesktop_integration/kde4-dolphin/usr/share/kde4/services/ServiceMenus/peazipextfolder.desktop.orig 2013-06-28 18:17:38.117320932 +0200
+++ FreeDesktop_integration/kde4-dolphin/usr/share/kde4/services/ServiceMenus/peazipextfolder.desktop 2013-06-28 18:35:47.669686757 +0200
@@ -1,7 +1,8 @@
[Desktop Action peazipextfolder]
Exec=peazip -ext2folder %F
Icon=peazip
-Name=Extract here to new folder (PeaZip)
+Name=Extract here to new folder with PeaZip
+Name[de]=Hier mit PeaZip in neues Verzeichnis extrahieren
[Desktop Entry]
Type=Service
@@ -11,3 +12,4 @@
Name=peazipextfolder
Name[en_US]=peazipextfolder
ServiceTypes=KonqPopupMenu/Plugin,all/all
+X-SuSE-translate=true
--- FreeDesktop_integration/kde4-dolphin/usr/share/kde4/services/ServiceMenus/peazipexthere.desktop.orig 2013-06-28 18:18:21.979496523 +0200
+++ FreeDesktop_integration/kde4-dolphin/usr/share/kde4/services/ServiceMenus/peazipexthere.desktop 2013-06-28 18:35:44.635744595 +0200
@@ -1,7 +1,8 @@
[Desktop Action peazipexthere]
Exec=peazip -ext2here %F
Icon=peazip
-Name=Extract here (PeaZip)
+Name=Extract here with PeaZip
+Name[de]=Hier mit PeaZip extrahieren
[Desktop Entry]
Type=Service
@@ -11,3 +12,4 @@
Name=peazipexthere
Name[en_US]=peazipexthere
ServiceTypes=KonqPopupMenu/Plugin,all/all
+X-SuSE-translate=true
--- FreeDesktop_integration/kde4-dolphin/usr/share/kde4/services/ServiceMenus/peazipopen.desktop.orig 2013-06-28 18:35:39.946833978 +0200
+++ FreeDesktop_integration/kde4-dolphin/usr/share/kde4/services/ServiceMenus/peazipopen.desktop 2013-06-28 18:35:42.594783501 +0200
@@ -2,6 +2,7 @@
Exec=peazip -ext2browse %F
Icon=peazip
Name=Open with PeaZip
+Name[de]=Öffnen mit PeaZip
[Desktop Entry]
Type=Service
@@ -11,3 +12,4 @@
Name=peazipopen
Name[en_US]=peazipopen
ServiceTypes=KonqPopupMenu/Plugin,all/all
+X-SuSE-translate=true

24
peazip.changes Normal file
View File

@ -0,0 +1,24 @@
* Mon Nov 25 2013 joerg.lorenzen@ki.tng.de
- update to version 5.2.0
* PeaZip 5.2.0 introduces secure deletion of free space, and zero deletion mode overwriting file
or free space content with all 0 in order to optimize compressibility of backup disk images
and virtual machine disks. This release also brings improvements in UAC integration,
makes help file available locally, and adds capability to archive/extract at once multiple files
from different paths each to original location.
* Sun Oct 6 2013 joerg.lorenzen@ki.tng.de
- update to version 5.1.1
* 5.1.1 update brings various fixes to improve user experience, and updates translations.
175 file extensions are supported.
* Sun Sep 1 2013 joerg.lorenzen@ki.tng.de
- update to version 5.1.0
* 5.1.0 update brings various fixes, improves Windows installer,
and adds a Schedule tab to Archive/Convert and Extract interfaces,
integrated with system's Task Scheduler (Windows Vista/7/8/8.1),
for help users creating scheduled backup/restore scripts from a single place.
175 file extensions are supported, PeaZip now handles .ipsw iOS devices firmware packages.
* Sun Jul 21 2013 joerg.lorenzen@ki.tng.de
- update to version 5.0.1
* 5.0.1 update brings various fixes, updates embedded translations,
improves Windows installer, and is compiled with new Lazarus 1.0.10.
* Mon Jul 1 2013 joerg.lorenzen@ki.tng.de
- Initial package, version 5.0

138
peazip.spec Normal file
View File

@ -0,0 +1,138 @@
#
# spec file for package peazip
#
# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
# 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 http://bugs.opensuse.org/
#
Name: peazip
Summary: Free Zip files utility
Version: 5.2.0
Release: 1
Url: http://sourceforge.net/projects/peazip/
Source0: peazip-%{version}.src.zip
Source1: altconf.txt
Patch0: peazip-desktop.patch
License: LGPL-3.0
Group: Productivity/Archiving/Compression
Requires: p7zip
Requires: upx
BuildRequires: fpc
BuildRequires: fpc-src
BuildRequires: lazarus
BuildRequires: qt4Pas-devel
BuildRequires: xorg-x11-devel
BuildRequires: kde4-filesystem
BuildRequires: update-desktop-files
BuildRequires: p7zip
BuildRequires: upx
BuildRequires: unzip
BuildRequires: dos2unix
BuildRequires: fdupes
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%define _peazipinstalldir %{_libdir}/peazip
%description
PeaZip is a free Zip files utility, providing an unified, natively portable,
cross-platform file and archive manager GUI for many Open Source technologies
like 7-Zip, FreeArc, PAQ, UPX.
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
Features of PeaZip includes extract, create and convert multiple archives at once,
create self-extracting archives, split/join files, strong encryption with two factor authentication,
encrypted password manager, secure deletion, find duplicate files, calculate hashes,
export job definition as script.
%package kde4
Summary: KDE4 servicemenu for peazip
Group: Productivity/Archiving/Compression
Requires: peazip
BuildArch: noarch
%kde4_runtime_requires
%description kde4
PeaZip is a free Zip files utility, providing an unified, natively portable,
cross-platform file and archive manager GUI for many Open Source technologies
like 7-Zip, FreeArc, PAQ, UPX.
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
Features of PeaZip includes extract, create and convert multiple archives at once,
create self-extracting archives, split/join files, strong encryption with two factor authentication,
encrypted password manager, secure deletion, find duplicate files, calculate hashes,
export job definition as script.
%prep
%setup -q -n peazip-%{version}.src
%patch0
chmod +w res/lang
dos2unix readme
%build
lazbuild \
--lazarusdir=%{_libdir}/lazarus \
%ifarch x86_64
--cpu=x86_64 \
%endif
--widgetset=qt \
-B project_pea.lpi project_peach.lpi project_gwrap.lpi
%install
mkdir -p %{buildroot}%{_bindir}
mkdir -p %{buildroot}%{_peazipinstalldir}
cp -r res %{buildroot}%{_peazipinstalldir}
cp %{S:1} %{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
install -m755 peazip %{buildroot}%{_peazipinstalldir}
ln -s %{_peazipinstalldir}/peazip %{buildroot}%{_bindir}/peazip
install -m755 pealauncher %{buildroot}%{_peazipinstalldir}/res
ln -s %{_peazipinstalldir}/res/pealauncher %{buildroot}%{_bindir}/pealauncher
install -m755 pea %{buildroot}%{_peazipinstalldir}/res
ln -s %{_peazipinstalldir}/res/pea %{buildroot}%{_bindir}/pea
install -D -m644 FreeDesktop_integration/peazip.desktop %{buildroot}%{_datadir}/applications/peazip.desktop
install -D -m644 FreeDesktop_integration/peazip.png %buildroot%{_datadir}/pixmaps/peazip.png
mkdir -p %{buildroot}%{_kde4_servicesdir}/ServiceMenus
pushd FreeDesktop_integration/kde4-dolphin/usr/share/kde4/services/ServiceMenus
install -m644 *.desktop %{buildroot}%{_kde4_servicesdir}/ServiceMenus
popd
%fdupes %{buildroot}
%files
%defattr(-,root,root)
%{_bindir}/pea
%{_bindir}/pealauncher
%{_bindir}/peazip
%{_peazipinstalldir}
%{_datadir}/applications/peazip.desktop
%{_datadir}/pixmaps/peazip.png
%doc readme copying.txt
%files kde4
%defattr(-,root,root)
%{_kde4_servicesdir}/ServiceMenus/*.desktop
%changelog