]> git.pld-linux.org Git - packages/lrzip.git/blob - lrzip.spec
ff8550ca7b7c04471f5b77058d7e74c3e3a1de1a
[packages/lrzip.git] / lrzip.spec
1 #
2 # Conditional build:
3 %bcond_with     system_lzma     # use system lzma instead of internal
4 #
5 Summary:        Long Range ZIP or Lzma RZIP
6 Summary(pl.UTF-8):      Long Range ZIP lub Lzma RZIP
7 Name:           lrzip
8 Version:        0.608
9 Release:        1
10 License:        GPL v2
11 Group:          Applications/Archiving
12 Source0:        http://ck.kolivas.org/apps/lrzip/%{name}-%{version}.tar.bz2
13 # Source0-md5:  c8c6d5a7b2587684eb51f175ac23fb54
14 Patch0:         %{name}-lzma.patch
15 URL:            http://ck.kolivas.org/apps/lrzip/
16 BuildRequires:  autoconf
17 BuildRequires:  automake
18 BuildRequires:  bzip2-devel
19 BuildRequires:  libstdc++-devel
20 %{?with_system_lzma:BuildRequires:      lzma-devel >= 4.43-5}
21 BuildRequires:  lzo-devel >= 2.02-1
22 BuildRequires:  nasm
23 BuildRequires:  perl-tools-pod
24 BuildRequires:  zlib-devel
25 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
26
27 %description
28 This is a compression program optimised for large files. The larger
29 the file and the more memory you have, the better the compression
30 advantage this will provide, especially once the files are larger than
31 100MB. The advantage can be chosen to be either size (much smaller
32 than bzip2) or speed (much faster than bzip2). Decompression is much
33 always faster than bzip2.
34
35 %description -l pl.UTF-8
36 LRZIP to program kompresujący zoptymalizowany dla dużych plików. Im
37 większy jest plik i im więcej jest dostępnej pamięci, tym lepszą
38 kompresję można uzyskać, zwłaszcza dla plików większych niż 100MB.
39 Można wybrać kompresję bardziej korzystną pod względem rozmiaru (dużo
40 mniejszy niż bzip2) lub szybkości (dużo szybszy niż bzip2).
41 Dekompresja jest zawsze dużo szybsza niż bzip2.
42
43 %prep
44 %setup -q
45 %if %{with system_lzma}
46 rm -rf lzma
47 %patch0 -p1
48 %endif
49
50 %build
51 %{__aclocal} -I m4
52 %{__autoconf}
53 %configure \
54         --enable-asm
55 %{__make}
56
57 %install
58 rm -rf $RPM_BUILD_ROOT
59
60 %{__make} install \
61         DESTDIR=$RPM_BUILD_ROOT
62
63 %clean
64 rm -rf $RPM_BUILD_ROOT
65
66 %files
67 %defattr(644,root,root,755)
68 %doc README*
69 %doc AUTHORS BUGS ChangeLog README README-NOT-BACKWARD-COMPATIBLE TODO WHATS-NEW
70 %doc lzma/7zC.txt lzma/7zFormat.txt lzma/Methods.txt lzma/README lzma/README-Alloc lzma/history.txt lzma/lzma.txt
71 %doc doc/magic.header.txt doc/lrzip.conf.example doc/README.lzo_compresses.test.txt doc/README.benchmarks
72 %attr(755,root,root) %{_bindir}/lrunzip
73 %attr(755,root,root) %{_bindir}/lrzcat
74 %attr(755,root,root) %{_bindir}/lrzip
75 %attr(755,root,root) %{_bindir}/lrztar
76 %attr(755,root,root) %{_bindir}/lrzuntar
77 %{_mandir}/man1/lrunzip.1*
78 %{_mandir}/man1/lrzcat.1*
79 %{_mandir}/man1/lrzip.1*
80 %{_mandir}/man1/lrztar.1*
81 %{_mandir}/man1/lrzuntar.1*
82 %{_mandir}/man5/lrzip.conf.5*
This page took 0.060395 seconds and 2 git commands to generate.