forked from pool/peazip
Accepting request 351059 from home:enzokiel:branches:devel:languages:pascal
Create subpackage peazip-kf5 for openSUSE > 13.2 and Leap 42.1 OBS-URL: https://build.opensuse.org/request/show/351059 OBS-URL: https://build.opensuse.org/package/show/devel:languages:pascal/peazip?expand=0&rev=20
This commit is contained in:
parent
e1344d98df
commit
7583d6734a
@ -1,3 +1,8 @@
|
||||
-------------------------------------------------------------------
|
||||
Mon Dec 28 11:08:41 UTC 2015 - joerg.lorenzen@ki.tng.de
|
||||
|
||||
- Create subpackage peazip-kf5 for openSUSE > 13.2 and Leap 42.1.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Dec 16 11:57:23 UTC 2015 - joerg.lorenzen@ki.tng.de
|
||||
|
||||
|
50
peazip.spec
50
peazip.spec
@ -33,7 +33,11 @@ BuildRequires: fpc-src
|
||||
BuildRequires: lazarus
|
||||
BuildRequires: qt4pas-devel
|
||||
BuildRequires: xorg-x11-devel
|
||||
BuildRequires: kde4-filesystem
|
||||
%if 0%{?suse_version} > 1320 || 0%{?is_opensuse}
|
||||
BuildRequires: kf5-filesystem
|
||||
%else
|
||||
BuildRequires: kdebase4-workspace
|
||||
%endif
|
||||
BuildRequires: update-desktop-files
|
||||
BuildRequires: p7zip
|
||||
BuildRequires: upx
|
||||
@ -58,6 +62,30 @@ create self-extracting archives, split/join files, strong encryption with two fa
|
||||
encrypted password manager, secure deletion, find duplicate files, calculate hashes,
|
||||
export job definition as script.
|
||||
|
||||
%if 0%{?suse_version} > 1320 || 0%{?is_opensuse}
|
||||
|
||||
%package kf5
|
||||
Summary: KF5 servicemenu for peazip
|
||||
Group: Productivity/Archiving/Compression
|
||||
Requires: peazip
|
||||
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.
|
||||
|
||||
%else
|
||||
|
||||
%package kde4
|
||||
Summary: KDE4 servicemenu for peazip
|
||||
Group: Productivity/Archiving/Compression
|
||||
@ -79,6 +107,8 @@ create self-extracting archives, split/join files, strong encryption with two fa
|
||||
encrypted password manager, secure deletion, find duplicate files, calculate hashes,
|
||||
export job definition as script.
|
||||
|
||||
%endif
|
||||
|
||||
%prep
|
||||
%setup -q -n peazip-%{version}.src
|
||||
%patch0
|
||||
@ -116,9 +146,14 @@ 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
|
||||
%if 0%{?suse_version} > 1320 || 0%{?is_opensuse}
|
||||
mkdir -p %{buildroot}%{_kf5_servicesdir}/ServiceMenus
|
||||
install -m644 *.desktop %{buildroot}%{_kf5_servicesdir}/ServiceMenus
|
||||
%else
|
||||
mkdir -p %{buildroot}%{_kde4_servicesdir}/ServiceMenus
|
||||
install -m644 *.desktop %{buildroot}%{_kde4_servicesdir}/ServiceMenus
|
||||
%endif
|
||||
popd
|
||||
|
||||
%fdupes %{buildroot}
|
||||
@ -133,8 +168,19 @@ popd
|
||||
%{_datadir}/pixmaps/peazip.png
|
||||
%doc readme copying.txt peazip_help.pdf
|
||||
|
||||
%if 0%{?suse_version} > 1320 || 0%{?is_opensuse}
|
||||
|
||||
%files kf5
|
||||
%defattr(-,root,root)
|
||||
%dir %{_kf5_servicesdir}/ServiceMenus
|
||||
%{_kf5_servicesdir}/ServiceMenus/*.desktop
|
||||
|
||||
%else
|
||||
|
||||
%files kde4
|
||||
%defattr(-,root,root)
|
||||
%{_kde4_servicesdir}/ServiceMenus/*.desktop
|
||||
|
||||
%endif
|
||||
|
||||
%changelog
|
||||
|
Loading…
x
Reference in New Issue
Block a user