]> git.pld-linux.org Git - packages/lzip.git/blob - lzip.spec
- updated to 1.21
[packages/lzip.git] / lzip.spec
1 Summary:        LZMA file compressor
2 Summary(pl.UTF-8):      Kompresor plików oparty na algorytmie LZMA
3 Name:           lzip
4 Version:        1.21
5 Release:        1
6 License:        GPL v3+
7 Group:          Applications/Archiving
8 Source0:        http://download.savannah.gnu.org/releases/lzip/%{name}-%{version}.tar.gz
9 # Source0-md5:  c0061730d017ea593a09308edc547128
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
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.
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
62 %attr(755,root,root) %{_bindir}/lzip
63 %{_mandir}/man1/lzip.1*
64 %{_infodir}/lzip.info*
This page took 0.066165 seconds and 3 git commands to generate.