1 Summary: Parallel bzip2/bunzip2 Filter
5 Source0: http://lacos.web.elte.hu/pub/lbzip2/%{name}-%{version}.tar.gz
6 # Source0-md5: 72ab7fbfd3804e4ef1a2030f51ac3825
7 Patch1: %{name}-makefile.patch
9 Group: Applications/Archiving
11 BuildRequires: bzip2-devel
12 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
15 Lbzip2 is a Pthreads-based parallel bzip2/bunzip2 filter, passable to
16 GNU tar with the --use-compress-program option.
18 It isn't restricted to regular files on input, nor output. Successful
19 splitting for decompression isn't guaranteed, just very likely
20 (failure is detected). Splitting in both modes and compression itself
21 occur with an approximate 900k block size.
23 On an Athlon-64 X2 6000+, lbzip2 was 92% faster than standard bzip2
24 when compressing, and 45% faster when decompressing (based on wall
27 Lbzip2 strives to be portable by requiring UNIX 98 APIs only, besides
37 OPTFLAGS="%{optflags}"
40 rm -rf $RPM_BUILD_ROOT
41 install -D lbzip2 $RPM_BUILD_ROOT%{_bindir}/lbzip2
42 install -D lbzip2.1 $RPM_BUILD_ROOT%{_mandir}/man1/lbzip2.1
45 rm -rf $RPM_BUILD_ROOT
48 %defattr(644,root,root,755)
50 %attr(755,root,root) %{_bindir}/lbzip2
51 %{_mandir}/man1/lbzip2.1*