]> git.pld-linux.org Git - packages/clzip.git/blob - clzip.spec
- new
[packages/clzip.git] / clzip.spec
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
4 Version:        1.5
5 Release:        1
6 License:        GPL v3+
7 Group:          Applications/Archiving
8 Source0:        http://download.savannah.gnu.org/releases/lzip/%{name}-%{version}.tar.lz
9 # Source0-md5:  950287ed64c30fb6a08f384f0f65aab9
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*
This page took 0.168495 seconds and 3 git commands to generate.