source: spec/trunk/SPECS/p7zip.spec@ 1644

Last change on this file since 1644 was 1589, checked in by Yuri Dario, 7 years ago

spec: p7zip: Release version 16.02-1.

File size: 2.3 KB
Line 
1Summary: File archiver with highest compression ratio
2Name: p7zip
3Version: 16.02
4Release: 1
5License: LGPL v2.1+
6Group: Applications/Archiving
7URL: 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
12BuildRequires: libstdc++6
13BuildRequires: libcx-devel
14BuildRequires: pthread-devel
15
16%description
177-Zip is a file archiver with highest compression ratio.
18
19The 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
30Summary: Standalone 7zip executable
31Group: Applications/Archiving
32Obsoletes: p7zip-stand-alone
33
34%description standalone
35Standalone version of 7zip. It handles less archive formats than
36plugin 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
52rm -rf $RPM_BUILD_ROOT
53install -d $RPM_BUILD_ROOT%{_bindir}
54install -d $RPM_BUILD_ROOT%{_libdir}/%{name}/Codecs
55install -d $RPM_BUILD_ROOT%{_libdir}/%{name}/Formats
56install -d $RPM_BUILD_ROOT%{_mandir}/man1
57
58install bin/*.exe $RPM_BUILD_ROOT%{_bindir}
59install bin/*.dll $RPM_BUILD_ROOT%{_libdir}/%{name}
60install bin/Codecs/*.dll $RPM_BUILD_ROOT%{_libdir}/%{name}/Codecs
61install bin/7zCon.sfx $RPM_BUILD_ROOT%{_libdir}/%{name}
62
63install man1/*.1 $RPM_BUILD_ROOT%{_mandir}/man1
64
65
66%clean
67rm -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.
Note: See TracBrowser for help on using the repository browser.