1 Summary: Parallel bzip2/bunzip2 Filter
5 Source0: https://github.com/kjn/lbzip2/archive/v%{version}.tar.gz
6 # Source0-md5: 288e404f325d9073bdc80759cae30adc
8 Group: Applications/Archiving
9 URL: http://lbzip2.org/
10 BuildRequires: autoconf
11 BuildRequires: automake
13 BuildRequires: perl-base
14 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
17 Lbzip2 is a Pthreads-based parallel bzip2/bunzip2 filter, passable to
18 GNU tar with the --use-compress-program option.
20 It isn't restricted to regular files on input, nor output. Successful
21 splitting for decompression isn't guaranteed, just very likely
22 (failure is detected). Splitting in both modes and compression itself
23 occur with an approximate 900k block size.
25 On an Athlon-64 X2 6000+, lbzip2 was 92% faster than standard bzip2
26 when compressing, and 45% faster when decompressing (based on wall
29 Lbzip2 strives to be portable by requiring UNIX 98 APIs only, besides
36 ./build-aux/autogen.sh
38 --disable-silent-rules
43 rm -rf $RPM_BUILD_ROOT
46 DESTDIR=$RPM_BUILD_ROOT
49 rm -rf $RPM_BUILD_ROOT
52 %defattr(644,root,root,755)
53 %doc ALGORITHM AUTHORS ChangeLog* NEWS THANKS
54 %attr(755,root,root) %{_bindir}/lbzip2
55 %attr(755,root,root) %{_bindir}/lbunzip2
56 %attr(755,root,root) %{_bindir}/lbzcat
57 %{_mandir}/man1/lbzip2.1*
58 %{_mandir}/man1/lbunzip2.1*
59 %{_mandir}/man1/lbzcat.1*