1 Summary: LZMA Encoder/Decoder
2 Summary(pl): Koder/Dekoder LZMA
7 Group: Applications/Archiving
8 Source0: http://dl.sourceforge.net/sevenzip/%{name}443.tar.bz2
9 # Source0-md5: c4e1b467184c7cffd4371c74df2baf0f
10 Patch0: %{name}-quiet.patch
11 Patch1: %{name}427_zlib.patch
12 URL: http://www.7-zip.org/sdk.html
13 BuildRequires: gcc >= 5:3.4.0
14 BuildRequires: libstdc++-devel
15 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
18 LZMA is default and general compression method of 7z format in 7-Zip
19 program. LZMA provides high compression ratio and very fast
20 decompression, so it is very suitable for embedded applications. For
21 example, it can be used for ROM (firmware) compressing.
25 - Compressing speed: 500 KB/s on 1 GHz CPU
26 - Decompressing speed:
27 - 8-12 MB/s on 1 GHz Intel Pentium 3 or AMD Athlon.
28 - 500-1000 KB/s on 100 MHz ARM, MIPS, PowerPC or other simple RISC
30 - Small memory requirements for decompressing: 8-32 KB + dictionary
32 - Small code size for decompressing: 2-8 KB (depending from speed
36 LZMA jest domy¶lnym i ogólnym algorytmem kompresji formatu 7z
37 stosowanego przez 7-Zip. LZMA zapewnia wysoki stopieñ kompresji i
38 bardzo szybk± dekompresjê, wiêc nadaje siê do zastosowañ osadzonych.
39 Przyk³adowo, mo¿e byæ u¿yty do kompresji ROM-u (firmware'u).
43 - Szybko¶æ kompresowania: 500 KB/s na 1 GHz procesorze,
44 - Szybko¶æ dekompresowania:
45 - 8-12 MB/s na 1 GHz Pentium 3 lub Athlonie,
46 - 500-1000 KB/s na 100 MHz procesorach ARM, MIPS, PowerPC lub innych
48 - Ma³a ilo¶æ pamiêci potrzebna do dekompresowania: 8-32 KB + rozmiar
50 - Ma³y rozmiar kodu dekompresuj±cego: 2-8 KB (w zale¿no¶ci od opcji
55 Summary(pl): Biblioteka LZMA
56 Group: Development/Libraries
61 %description devel -l pl
70 cd C/7zip/Compress/LZMA_Alone
71 %{__make} -f makefile.gcc \
74 CFLAGS="%{rpmcflags} -fprofile-generate -c -I ../../.." \
75 LDFLAGS="%{rpmldflags} -fprofile-generate" \
80 tar cf test3 ../../../../*
91 %{__make} -f makefile.gcc clean
93 %{__make} -f makefile.gcc \
96 CFLAGS="%{rpmcflags} -fprofile-use -c -I ../../.." \
97 LDFLAGS="%{rpmldflags}"
100 %{__make} -f makefile \
102 CFLAGS="%{rpmcflags} -c"
105 rm -rf $RPM_BUILD_ROOT
106 install -d $RPM_BUILD_ROOT{%{_bindir},%{_libdir}}
108 install C/7zip/Compress/LZMA_Alone/lzma $RPM_BUILD_ROOT%{_bindir}
109 install C/7zip/Compress/LZMA_Lib/liblzma.a $RPM_BUILD_ROOT%{_libdir}
112 rm -rf $RPM_BUILD_ROOT
115 %defattr(644,root,root,755)
116 %doc history.txt lzma.txt
117 %attr(755,root,root) %{_bindir}/*
120 %defattr(644,root,root,755)