]>
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 | |
4c44e210 | 4 | Version: 1.14 |
87363d6f | 5 | Release: 1 |
ec1ea7a1 JB |
6 | License: GPL v3+ |
7 | Group: Applications/Archiving | |
ee1cbf49 | 8 | Source0: http://download.savannah.gnu.org/releases/lzip/clzip/%{name}-%{version}.tar.lz |
4c44e210 | 9 | # Source0-md5: e03cba196a8c0780e6c2f8cc439c09eb |
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 | |
4c44e210 | 35 | |
ec1ea7a1 JB |
36 | %{__make} all info |
37 | ||
38 | %install | |
39 | rm -rf $RPM_BUILD_ROOT | |
40 | ||
41 | %{__make} install \ | |
42 | DESTDIR=$RPM_BUILD_ROOT | |
43 | ||
44 | %clean | |
45 | rm -rf $RPM_BUILD_ROOT | |
46 | ||
47 | %post -p /sbin/postshell | |
48 | -/usr/sbin/fix-info-dir -c %{_infodir} | |
49 | ||
50 | %postun -p /sbin/postshell | |
51 | -/usr/sbin/fix-info-dir -c %{_infodir} | |
52 | ||
53 | %files | |
54 | %defattr(644,root,root,755) | |
55 | %doc AUTHORS ChangeLog NEWS README | |
56 | %attr(755,root,root) %{_bindir}/clzip | |
57 | %{_mandir}/man1/clzip.1* | |
58 | %{_infodir}/clzip.info* |