|
|
@ -7,9 +7,10 @@
|
|
|
|
Summary: Very high compression ratio file archiver
|
|
|
|
Summary: Very high compression ratio file archiver
|
|
|
|
Name: p7zip
|
|
|
|
Name: p7zip
|
|
|
|
Version: 16.02
|
|
|
|
Version: 16.02
|
|
|
|
Release: 21%{?dist}
|
|
|
|
Release: 31%{?dist}
|
|
|
|
# Files under C/Compress/Lzma/ are dual LGPL or CPL
|
|
|
|
# Files under C/Compress/Lzma/ are dual LGPL or CPL
|
|
|
|
License: LGPLv2 and (LGPLv2+ or CPL)
|
|
|
|
# Automatically converted from old format: LGPLv2 and (LGPLv2+ or CPL) - review is highly recommended.
|
|
|
|
|
|
|
|
License: LicenseRef-Callaway-LGPLv2 AND (LicenseRef-Callaway-LGPLv2+ OR CPL-1.0)
|
|
|
|
URL: http://p7zip.sourceforge.net/
|
|
|
|
URL: http://p7zip.sourceforge.net/
|
|
|
|
# RAR sources removed since their license is incompatible with the LGPL
|
|
|
|
# RAR sources removed since their license is incompatible with the LGPL
|
|
|
|
#Source: http://downloads.sf.net/p7zip/p7zip_%%{version}_src_all.tar.bz2
|
|
|
|
#Source: http://downloads.sf.net/p7zip/p7zip_%%{version}_src_all.tar.bz2
|
|
|
@ -32,17 +33,16 @@ Patch12: gcc10-conversion.patch
|
|
|
|
Patch13: 0001-fix-data-null-pointer.patch
|
|
|
|
Patch13: 0001-fix-data-null-pointer.patch
|
|
|
|
Patch14: 0001-fix-out-of-mem.patch
|
|
|
|
Patch14: 0001-fix-out-of-mem.patch
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
# Issue with hiding the password from the process history
|
|
|
|
|
|
|
|
# reported to upstream https://sourceforge.net/p/p7zip/patches/38/
|
|
|
|
|
|
|
|
Patch15: p7zip-015-hide-passwd.patch
|
|
|
|
|
|
|
|
|
|
|
|
BuildRequires: make
|
|
|
|
BuildRequires: make
|
|
|
|
BuildRequires: gcc
|
|
|
|
|
|
|
|
BuildRequires: gcc-c++
|
|
|
|
BuildRequires: gcc-c++
|
|
|
|
BuildRequires: cmake
|
|
|
|
BuildRequires: cmake
|
|
|
|
%if %{with gui}
|
|
|
|
%if %{with gui}
|
|
|
|
# for 7zG GUI
|
|
|
|
# for 7zG GUI
|
|
|
|
%if 0%{?rhel} && 0%{?rhel} <= 7
|
|
|
|
|
|
|
|
BuildRequires: wxGTK-devel
|
|
|
|
BuildRequires: wxGTK-devel
|
|
|
|
%else
|
|
|
|
|
|
|
|
BuildRequires: wxGTK3-devel
|
|
|
|
|
|
|
|
%endif
|
|
|
|
|
|
|
|
BuildRequires: kde-filesystem
|
|
|
|
BuildRequires: kde-filesystem
|
|
|
|
%endif
|
|
|
|
%endif
|
|
|
|
%ifarch %{ix86}
|
|
|
|
%ifarch %{ix86}
|
|
|
@ -128,10 +128,10 @@ mv %{buildroot}%{_docdir}/p7zip/DOC/* %{buildroot}%{_docdir}/p7zip
|
|
|
|
rmdir %{buildroot}%{_docdir}/p7zip/DOC/
|
|
|
|
rmdir %{buildroot}%{_docdir}/p7zip/DOC/
|
|
|
|
|
|
|
|
|
|
|
|
%if %{with gui}
|
|
|
|
%if %{with gui}
|
|
|
|
mkdir -p %{buildroot}%{_kde4_datadir}/kde4/services/ServiceMenus/
|
|
|
|
mkdir -p %{buildroot}%{_datadir}/kservices5/
|
|
|
|
# remove a duplicated of p7zip_compress.desktop
|
|
|
|
# remove a duplicated of p7zip_compress.desktop
|
|
|
|
rm GUI/kde4/p7zip_compress2.desktop
|
|
|
|
rm GUI/kde4/p7zip_compress2.desktop
|
|
|
|
cp GUI/kde4/*.desktop %{buildroot}%{_kde4_datadir}/kde4/services/ServiceMenus/
|
|
|
|
cp GUI/kde4/*.desktop %{buildroot}%{_datadir}/kservices5/
|
|
|
|
#fix non-executable-in-bin
|
|
|
|
#fix non-executable-in-bin
|
|
|
|
chmod +x %{buildroot}%{_bindir}/p7zipForFilemanager
|
|
|
|
chmod +x %{buildroot}%{_bindir}/p7zipForFilemanager
|
|
|
|
%endif
|
|
|
|
%endif
|
|
|
@ -171,7 +171,7 @@ make test
|
|
|
|
%{_bindir}/p7zipForFilemanager
|
|
|
|
%{_bindir}/p7zipForFilemanager
|
|
|
|
%{_libexecdir}/p7zip/7zG
|
|
|
|
%{_libexecdir}/p7zip/7zG
|
|
|
|
%{_libexecdir}/p7zip/Lang
|
|
|
|
%{_libexecdir}/p7zip/Lang
|
|
|
|
%{_kde4_datadir}/kde4/services/ServiceMenus/*.desktop
|
|
|
|
%{_datadir}/kservices5/*.desktop
|
|
|
|
%endif
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
|
|
%files doc
|
|
|
|
%files doc
|
|
|
@ -180,9 +180,40 @@ make test
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
%changelog
|
|
|
|
* Tue Jul 25 2023 Arkady L. Shane <ashejn@msvsphere.ru> - 16.02-21
|
|
|
|
* Fri Oct 04 2024 Sérgio Basto <sergio@serjux.com> - 16.02-31
|
|
|
|
|
|
|
|
- Fix wrapper to hide password from process history
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Wed Sep 04 2024 Miroslav Suchý <msuchy@redhat.com> - 16.02-30
|
|
|
|
|
|
|
|
- convert license to SPDX
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Thu Jul 18 2024 Fedora Release Engineering <releng@fedoraproject.org> - 16.02-29
|
|
|
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Thu Jan 25 2024 Fedora Release Engineering <releng@fedoraproject.org> - 16.02-28
|
|
|
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
|
|
|
|
|
|
|
|
- Fix the build by moving desktop files from kde4/services/ServiceMenus/ to kservices5
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Sun Jan 21 2024 Fedora Release Engineering <releng@fedoraproject.org> - 16.02-27
|
|
|
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Tue Jul 25 2023 Arkady L. Shane <ashejn@msvsphere.ru> - 16.02-26
|
|
|
|
- Rebuilt for MSVSphere 9.2
|
|
|
|
- Rebuilt for MSVSphere 9.2
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Thu Jul 20 2023 Fedora Release Engineering <releng@fedoraproject.org> - 16.02-26
|
|
|
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Thu Jan 19 2023 Fedora Release Engineering <releng@fedoraproject.org> - 16.02-25
|
|
|
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Thu Aug 04 2022 Scott Talbert <swt@techie.net> - 16.02-24
|
|
|
|
|
|
|
|
- Rebuild with wxWidgets 3.2
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Fri Jul 22 2022 Fedora Release Engineering <releng@fedoraproject.org> - 16.02-23
|
|
|
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Thu Jan 20 2022 Fedora Release Engineering <releng@fedoraproject.org> - 16.02-22
|
|
|
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
|
|
* Thu Jul 22 2021 Fedora Release Engineering <releng@fedoraproject.org> - 16.02-21
|
|
|
|
* Thu Jul 22 2021 Fedora Release Engineering <releng@fedoraproject.org> - 16.02-21
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
|
|