From ae1d2259f3e19ae31f4fa0047b989ff64b9f1903ea6cdd00fe96fe936a3bfb2f Mon Sep 17 00:00:00 2001 From: Lars Vogdt Date: Sun, 15 Dec 2013 15:49:45 +0000 Subject: [PATCH] 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 --- .gitattributes | 23 ++++++++ .gitignore | 1 + altconf.txt | 2 + peazip-5.2.0.src.zip | 3 + peazip-desktop.patch | 108 +++++++++++++++++++++++++++++++++ peazip.changes | 24 ++++++++ peazip.spec | 138 +++++++++++++++++++++++++++++++++++++++++++ 7 files changed, 299 insertions(+) create mode 100644 .gitattributes create mode 100644 .gitignore create mode 100644 altconf.txt create mode 100644 peazip-5.2.0.src.zip create mode 100644 peazip-desktop.patch create mode 100644 peazip.changes create mode 100644 peazip.spec diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..9b03811 --- /dev/null +++ b/.gitattributes @@ -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 diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..57affb6 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +.osc diff --git a/altconf.txt b/altconf.txt new file mode 100644 index 0000000..ba08570 --- /dev/null +++ b/altconf.txt @@ -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 diff --git a/peazip-5.2.0.src.zip b/peazip-5.2.0.src.zip new file mode 100644 index 0000000..b999b71 --- /dev/null +++ b/peazip-5.2.0.src.zip @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:7bc67a73deac1a56c94392e124a9ecc17fcbdcd7647a3b3ce34e29dbe587851b +size 3798471 diff --git a/peazip-desktop.patch b/peazip-desktop.patch new file mode 100644 index 0000000..dde1c91 --- /dev/null +++ b/peazip-desktop.patch @@ -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 diff --git a/peazip.changes b/peazip.changes new file mode 100644 index 0000000..0ce0c58 --- /dev/null +++ b/peazip.changes @@ -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 diff --git a/peazip.spec b/peazip.spec new file mode 100644 index 0000000..0b7434b --- /dev/null +++ b/peazip.spec @@ -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