| 1 | Summary: File archiver with highest compression ratio
|
|---|
| 2 | Name: p7zip
|
|---|
| 3 | Version: 16.02
|
|---|
| 4 | Release: 1
|
|---|
| 5 | License: LGPL v2.1+
|
|---|
| 6 | Group: Applications/Archiving
|
|---|
| 7 | URL: http://p7zip.sourceforge.net/
|
|---|
| 8 |
|
|---|
| 9 | %scm_source github https://github.com/ydario/p7zip master-os2
|
|---|
| 10 | #scm_source git file://F:/rd/ports/p7zip/p7zip master-os2
|
|---|
| 11 |
|
|---|
| 12 | BuildRequires: libstdc++6
|
|---|
| 13 | BuildRequires: libcx-devel
|
|---|
| 14 | BuildRequires: pthread-devel
|
|---|
| 15 |
|
|---|
| 16 | %description
|
|---|
| 17 | 7-Zip is a file archiver with highest compression ratio.
|
|---|
| 18 |
|
|---|
| 19 | The main features of 7z format:
|
|---|
| 20 | - Open architecture
|
|---|
| 21 | - High compression ratio
|
|---|
| 22 | - Strong AES-256 encryption
|
|---|
| 23 | - Ability of using any compression, conversion or encryption method
|
|---|
| 24 | - Supporting files with sizes up to 16000000000 GB
|
|---|
| 25 | - Unicode file names
|
|---|
| 26 | - Solid compressing
|
|---|
| 27 | - Archive headers compressing
|
|---|
| 28 |
|
|---|
| 29 | %package standalone
|
|---|
| 30 | Summary: Standalone 7zip executable
|
|---|
| 31 | Group: Applications/Archiving
|
|---|
| 32 | Obsoletes: p7zip-stand-alone
|
|---|
| 33 |
|
|---|
| 34 | %description standalone
|
|---|
| 35 | Standalone version of 7zip. It handles less archive formats than
|
|---|
| 36 | plugin capable version.
|
|---|
| 37 |
|
|---|
| 38 |
|
|---|
| 39 | %debug_package
|
|---|
| 40 |
|
|---|
| 41 |
|
|---|
| 42 | %prep
|
|---|
| 43 | %scm_setup
|
|---|
| 44 |
|
|---|
| 45 |
|
|---|
| 46 | %build
|
|---|
| 47 | %{__make} %{?_smp_mflags} all3 \
|
|---|
| 48 | OPTFLAGS="${OPTFLAGS:-%optflags}"
|
|---|
| 49 |
|
|---|
| 50 |
|
|---|
| 51 | %install
|
|---|
| 52 | rm -rf $RPM_BUILD_ROOT
|
|---|
| 53 | install -d $RPM_BUILD_ROOT%{_bindir}
|
|---|
| 54 | install -d $RPM_BUILD_ROOT%{_libdir}/%{name}/Codecs
|
|---|
| 55 | install -d $RPM_BUILD_ROOT%{_libdir}/%{name}/Formats
|
|---|
| 56 | install -d $RPM_BUILD_ROOT%{_mandir}/man1
|
|---|
| 57 |
|
|---|
| 58 | install bin/*.exe $RPM_BUILD_ROOT%{_bindir}
|
|---|
| 59 | install bin/*.dll $RPM_BUILD_ROOT%{_libdir}/%{name}
|
|---|
| 60 | install bin/Codecs/*.dll $RPM_BUILD_ROOT%{_libdir}/%{name}/Codecs
|
|---|
| 61 | install bin/7zCon.sfx $RPM_BUILD_ROOT%{_libdir}/%{name}
|
|---|
| 62 |
|
|---|
| 63 | install man1/*.1 $RPM_BUILD_ROOT%{_mandir}/man1
|
|---|
| 64 |
|
|---|
| 65 |
|
|---|
| 66 | %clean
|
|---|
| 67 | rm -rf $RPM_BUILD_ROOT
|
|---|
| 68 |
|
|---|
| 69 |
|
|---|
| 70 | %files
|
|---|
| 71 | %defattr(644,root,root,755)
|
|---|
| 72 | %doc DOC/
|
|---|
| 73 | # devel: %doc DOC/7zC.txt
|
|---|
| 74 | %attr(755,root,root) %{_bindir}/7z.exe
|
|---|
| 75 | %attr(755,root,root) %{_bindir}/7zr.exe
|
|---|
| 76 | %dir %{_libdir}/%{name}
|
|---|
| 77 | %attr(755,root,root) %{_libdir}/%{name}/7zCon.sfx
|
|---|
| 78 | %attr(755,root,root) %{_libdir}/%{name}/7z.dll
|
|---|
| 79 | %dir %{_libdir}/%{name}/Codecs
|
|---|
| 80 | %attr(755,root,root) %{_libdir}/%{name}/Codecs/*.dll
|
|---|
| 81 | %{_mandir}/man1/7z.1*
|
|---|
| 82 | %{_mandir}/man1/7zr.1*
|
|---|
| 83 |
|
|---|
| 84 | %files standalone
|
|---|
| 85 | %defattr(644,root,root,755)
|
|---|
| 86 | %attr(755,root,root) %{_bindir}/7za.exe
|
|---|
| 87 | %{_mandir}/man1/7za.1*
|
|---|
| 88 |
|
|---|
| 89 |
|
|---|
| 90 | %changelog
|
|---|
| 91 | * Tue Feb 05 2019 yd <yd@os2power.com> 16.02-1
|
|---|
| 92 | - Load dynamic modules from /@unixroot path.
|
|---|
| 93 | - Fix handling of drive letter also on OS/2.
|
|---|
| 94 | - Import OS/2 patches by Ruediger Ihle.
|
|---|
| 95 | - initial rpm build.
|
|---|