]>
Commit | Line | Data |
---|---|---|
ec1ea7a1 JB |
1 | Summary: LZMA file compressor (C implementation) |
2 | Summary(pl.UTF-8): Kompresor plików oparty na algorytmie LZMA (implementacja w C) | |
3 | Name: clzip | |
ee1cbf49 | 4 | Version: 1.8 |
ec1ea7a1 JB |
5 | Release: 1 |
6 | License: GPL v3+ | |
7 | Group: Applications/Archiving | |
ee1cbf49 JB |
8 | Source0: http://download.savannah.gnu.org/releases/lzip/clzip/%{name}-%{version}.tar.lz |
9 | # Source0-md5: ccd7515dca90484f3c3c6e154f660b29 | |
ec1ea7a1 JB |
10 | Patch0: %{name}-info.patch |
11 | URL: http://savannah.nongnu.org/projects/lzip/ | |
12 | BuildRequires: lzip | |
13 | BuildRequires: tar >= 1:1.22 | |
14 | BuildRequires: texinfo | |
15 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
16 | ||
17 | %description | |
18 | Lzip is a lossless file compressor based on the LZMA | |
19 | (Lempel-Ziv-Markov chain-Algorithm) algorithm designed by Igor Pavlov. | |
20 | Clzip is in fact a C language version of lzip, intended for embedded | |
21 | devices or systems lacking a C++ compiler. | |
22 | ||
23 | %description -l pl.UTF-8 | |
24 | Lzip to bezstratny kompresor plików oparty na algorytmie LZMA | |
25 | (Lempel-Ziv-Markov chain-Algorithm) opracowanym przez Igora Pawłowa. | |
26 | Clzip to wersja lzipa napisana w języku C, przeznaczona głównie dla | |
27 | systemów wbudowanych lub nie mających kompilatora C++. | |
28 | ||
29 | %prep | |
30 | %setup -q | |
31 | %patch0 -p1 | |
32 | ||
33 | %build | |
34 | %configure | |
35 | %{__make} all info | |
36 | ||
37 | %install | |
38 | rm -rf $RPM_BUILD_ROOT | |
39 | ||
40 | %{__make} install \ | |
41 | DESTDIR=$RPM_BUILD_ROOT | |
42 | ||
43 | %clean | |
44 | rm -rf $RPM_BUILD_ROOT | |
45 | ||
46 | %post -p /sbin/postshell | |
47 | -/usr/sbin/fix-info-dir -c %{_infodir} | |
48 | ||
49 | %postun -p /sbin/postshell | |
50 | -/usr/sbin/fix-info-dir -c %{_infodir} | |
51 | ||
52 | %files | |
53 | %defattr(644,root,root,755) | |
54 | %doc AUTHORS ChangeLog NEWS README | |
55 | %attr(755,root,root) %{_bindir}/clzip | |
56 | %{_mandir}/man1/clzip.1* | |
57 | %{_infodir}/clzip.info* |