SHA256
1
0
forked from pool/peazip
peazip/peazip.spec
Lars Vogdt 322152b5f1 Accepting request 560105 from home:alois:branches:devel:languages:pascal
- Update to version 6.5.0
  FILE MANAGER
  * Updated GUI and themes
  * Can now move and rename objects inside existing archives
    (7z/p7zip supported formats)
  EXTRACTION and ARCHIVING
  * Added option to force browsing of archives containing errors
    (default off)
  * Added option to show which options are volatile (context
    dependent) rather than persistent
  * Improved archive conversion
    + "Change password" switch (default off) asks to provide a new
       password to be applied to converted archive(s), otherwise
       current password (if any) will be applied - decompression
       stage test current password for each input archive, asking
       new password in case of error
  * Improved support for WIM format
    + in archiving and extraction interfaces, Advanced tab, were
      added options to operate including NT security information and
      NTFS Alternate Data Stream
    + file manager shows SHA-1 hash value for items in WIM archives
  * Scheduled deletion after archiving/extraction will not be
    performed if errors are detected
  CODE
  * Privacy directive is available as GUI option
    + 0 default, no password request
    + 1 application asks for password when starts, skippable
    + 2 application asks for password when starts, not skippable
      (password or keyfile must be provided)
  * Updated Wolfgang Ehrhardt's crypto library units
    + crc_hash_2017-06-04
    + fca_2016-05-01
    + util_2017-06-04
  * Various fixes and improvements
  version 6.4.1
  CODE
  * Added experimental privacy_mode directive (at current state
    can be changed only from configuration file, or hardcoded at
    compile time) meant to help users not forgetting to provide a
    password when working on sensitive data
    + 0 default, no password request
    + 1 application asks for password when stars, skippable
    + 2 application asks for password when starts, not skippable
      (password or keyfile must be provided)
  FILE MANAGER
  * Rightclicking on file manager's column header shows context
    menu for
    + customizing columns
    + applying on the fly checksum/hash, search for duplicates,
      and set algorithm for those two functions
    + save GUI content as tab-separated TXT file
  * Clicking the style icon on the right of the status bar shows
    menu of presets for file manager
    + Style icon now changes reflecting the style applied to the
      file manager
  * New "Navigation bar" entry in status bar menu show/hide side
    navigation bar
  * Some keyboard shortcuts were updated
    + Shift+Ctrl+N create new folder
    + Ctrl+N extract to new folder
    + Shift+Del quick delete (do not sent to recycle bin)
    + Ctrl+Del secure delete
    + Alt+Enter properties
  * Various improvements in archive browsing
  * Various improvements of UI usability with custom system colors
  EXTRACTION and ARCHIVING
  * During archive update only relevant options are shown,
    allowing to set password and to change action (add, update,
    freshen, sync)
  version 6.4.0
  BACKEND
  * pea 0.61
    + crc/hash marks duplicate files
    + shows number of copies found
    + to find duplicates, value of best checksum or hash algorithm
      is checked
  * (PeaUtils GUI) secure delete removes items from list if
    successfully erased
  CODE
  * Various fixes, visual updates and code cleanup
  FILE MANAGER
  * Added tabbed browsing
    + Tab bar is toggled from "Tab bar" entry available in from
      main menu > Organize, and in address bar and tab bar context
      menus
    + Tab bar is also shown clicking on "Open in a new tab" in
      context menu
    + Tabs can be added, deleted, moved, and resized
  * Added rename options (context menu, File manager > Rename) :
    prepend and append parent directory name
  * Improved rename dialog (F2)
  EXTRACTION and ARCHIVING
  * Added option to archive and extract using relative, full, or
    absolute paths (non-persistent value, in advanced options) for
    7z / p7zip supported archive formats
  * Improved archive conversion
    + If "Add each object to a separate archive" is checked
      (default), no extra root foder is added to the converted
      archive (supported for conversion toward all 7z/p7zip formats)
    + If the option is unchecked (consolidate multiple archives
      into one), it is added an extra folder with archive name to
      keep content separated
  version 6.3.1
  CODE
  * Various fixes
  FILE MANAGER
  * Minor visual updates
  version 6.3.0
  CODE
  * Improved DPI awareness
  * New command line directive "-peaziplanguage" to
    programmatically change application's localization
    + second parameter is the name of the localization file,
      proper localization directory "lang" is resolved by the program
        example: peazip.exe -peaziplanguage it.txt
    + please note if other instances of PeaZip are open, they will
      overwrite language in configuration when they close
  EXTRACTION and ARCHIVING
  * Added hamburger menu button in tabs bar to provide alternative
    access to archiving/extraction context menu
  * Improved archive creation screen
    + Added installer-mode sfx modules for 7z (advanced options
      tab)
        Replicated archiving action options in main options page
        (7z/p7zip supported types)
        Provided new update options: update only items already in
        archive (ignore extra items on disk), and synchronize archive
        with content on disk (remove items from archive if removed
        from disk)
  version 6.2.0
  BACKEND
  * Pea 0.58
  FILE MANAGER
  * Can now save list of items being browsed to TXT file,
    Navigation > Save as TXT
  * Reorganized keyboad shortcuts
    + Ctrl+O open selected item as archive
    + Ctrl+D toggle bookmarks panel
    + Ctrl+H toggle history panel
    + Ctrl+Alt+H toggle session history panel
  * Separated Add and Convert dropdown menus
  * Single "Extract" button for simplicity - quick extraction
    action/options are now all featured in Extract button dropdown
    menu
  * Browser, and archive/extraction screens, shows "filter" icon
    when advanced filters are set
  * Updated Ten teme
  EXTRACTION and ARCHIVING
  * Archiving and extraction screens shows cumulative progress bar
    when executing multiple operations
  * Improved command line options
    + added -ext2simple and -ext2simplefolder as "blanket"
      extraction command for all backend, first parameter specify
      output path;
    + password is asked interactively (GUI); "folder" variant
      extracts to new folder
  * Various fixes
- Dropped kde4 subpackage
- Added peazip-lazarus_1.8.0.patch
- Spec cleanup

OBS-URL: https://build.opensuse.org/request/show/560105
OBS-URL: https://build.opensuse.org/package/show/devel:languages:pascal/peazip?expand=0&rev=26
2018-02-01 08:35:55 +00:00

149 lines
5.0 KiB
RPMSpec

#
# spec file for package peazip
#
# Copyright (c) 2017 SUSE LINUX 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/
#
%define _peazipinstalldir %{_libdir}/peazip
Name: peazip
Version: 6.5.0
Release: 0
Summary: Free Zip files utility
License: LGPL-3.0
Group: Productivity/Archiving/Compression
URL: http://www.peazip.org
Source0: https://sourceforge.net/projects/peazip/files/%{version}/peazip-%{version}.src.zip
Source1: altconf.txt
Source2: https://sourceforge.net/projects/peazip/files/%{version}/peazip_help.pdf
Patch0: peazip-desktop.patch
# PATCH-FIX-UPSTREAM peazip-lazarus_1.8.0.patch -- aloisio@gmx.com
Patch1: peazip-lazarus_1.8.0.patch
BuildRequires: dos2unix
BuildRequires: fdupes
BuildRequires: fpc
BuildRequires: fpc-src
BuildRequires: lazarus
BuildRequires: p7zip
BuildRequires: libQt5Pas-devel
BuildRequires: unzip
BuildRequires: update-desktop-files
BuildRequires: upx
BuildRequires: xorg-x11-devel
Requires: p7zip
Requires: upx
BuildRequires: kf5-filesystem
%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 kf5
Summary: KF5 servicemenu for peazip
Group: Productivity/Archiving/Compression
Requires: peazip
Requires(post): update-desktop-files
Requires(postun): update-desktop-files
BuildArch: noarch
%description kf5
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 %{name}-%{version}.src
%patch0
%patch1 -p1
chmod +w res/lang
dos2unix readme
cp %{SOURCE2} .
%build
lazbuild \
--lazarusdir=%{_libdir}/lazarus \
%ifarch x86_64
--cpu=x86_64 \
%endif
--widgetset=qt5 \
-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 %{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
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
pushd FreeDesktop_integration/kde4-dolphin/usr/share/kde4/services/ServiceMenus
mkdir -p %{buildroot}%{_kf5_servicesdir}/ServiceMenus
install -m644 *.desktop %{buildroot}%{_kf5_servicesdir}/ServiceMenus
popd
%fdupes %{buildroot}
%post kf5
%desktop_database_post
%postun kf5
%desktop_database_postun
%files
%{_bindir}/pea
%{_bindir}/pealauncher
%{_bindir}/peazip
%{_peazipinstalldir}
%{_datadir}/applications/peazip.desktop
%{_datadir}/pixmaps/peazip.png
%doc readme copying.txt peazip_help.pdf
%files kf5
%dir %{_kf5_servicesdir}/ServiceMenus
%{_kf5_servicesdir}/ServiceMenus/*.desktop
%changelog