3 %bcond_with system_lzma # use system lzma instead of internal
5 Summary: Long Range ZIP or Lzma RZIP
6 Summary(pl.UTF-8): Long Range ZIP lub Lzma RZIP
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
23 BuildRequires: perl-tools-pod
24 BuildRequires: zlib-devel
25 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
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.
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.
45 %if %{with system_lzma}
58 rm -rf $RPM_BUILD_ROOT
61 DESTDIR=$RPM_BUILD_ROOT
64 rm -rf $RPM_BUILD_ROOT
67 %defattr(644,root,root,755)
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*