]>
Commit | Line | Data |
---|---|---|
3a1c1362 JB |
1 | Summary: LZMA file compressor |
2 | Summary(pl.UTF-8): Kompresor plików oparty na algorytmie LZMA | |
3 | Name: lzip | |
341109b8 | 4 | Version: 1.23 |
f594ee2e | 5 | Release: 1 |
3a1c1362 JB |
6 | License: GPL v3+ |
7 | Group: Applications/Archiving | |
cb93284e | 8 | Source0: https://download.savannah.gnu.org/releases/lzip/%{name}-%{version}.tar.gz |
341109b8 | 9 | # Source0-md5: c47878da4af44ce7ab4115a75640a99d |
3a1c1362 JB |
10 | Patch0: %{name}-info.patch |
11 | URL: http://savannah.nongnu.org/projects/lzip/ | |
12 | BuildRequires: libstdc++-devel | |
13 | BuildRequires: texinfo | |
14 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
15 | ||
16 | %description | |
17 | Lzip is a lossless file compressor based on the LZMA | |
18 | (Lempel-Ziv-Markov chain-Algorithm) algorithm designed by Igor Pavlov. | |
19 | The high compression of LZMA comes from combining two basic, | |
20 | well-proven compression ideas: sliding dictionaries (i.e. LZ77/78), | |
21 | and Markov models (i.e. the thing used by every compression algorithm | |
22 | that uses a range encoder or similar order-0 entropy coder as its last | |
23 | stage) with segregation of contexts according to what the bits are | |
24 | used for. | |
25 | ||
26 | %description -l pl.UTF-8 | |
27 | lzip to bezstratny kompresor plików oparty na algorytmie LZMA | |
28 | (Lempel-Ziv-Markov chain-Algorithm) opracowanym przez Igora Pawłowa. | |
29 | Wysoki stopień kompresji LZMA wywodzi się z połączenia dwóch | |
30 | podstawowych, dobrze sprawdzonych idei kompresji: przesuwnych | |
c6a89b2a | 31 | słowników (LZ77/78) i modeli Markowa (używanych przez każdy algorytm |
32 | kompresji wykorzystujący w ostatnim stadium kodowanie zakresów lub | |
33 | podobne kodowanie entropii rzędu 0) z podziałem kontekstów w | |
34 | zależności od wykorzystania bitów. | |
3a1c1362 JB |
35 | |
36 | %prep | |
37 | %setup -q | |
38 | %patch0 -p1 | |
39 | ||
40 | %build | |
41 | %configure | |
42 | %{__make} all info | |
43 | ||
44 | %install | |
45 | rm -rf $RPM_BUILD_ROOT | |
46 | ||
47 | %{__make} install install-man \ | |
48 | DESTDIR=$RPM_BUILD_ROOT | |
49 | ||
50 | %clean | |
51 | rm -rf $RPM_BUILD_ROOT | |
52 | ||
53 | %post -p /sbin/postshell | |
54 | -/usr/sbin/fix-info-dir -c %{_infodir} | |
55 | ||
56 | %postun -p /sbin/postshell | |
57 | -/usr/sbin/fix-info-dir -c %{_infodir} | |
58 | ||
59 | %files | |
60 | %defattr(644,root,root,755) | |
61 | %doc AUTHORS ChangeLog NEWS README | |
c438751c | 62 | %attr(755,root,root) %{_bindir}/lzip |
3a1c1362 JB |
63 | %{_mandir}/man1/lzip.1* |
64 | %{_infodir}/lzip.info* |