]>
Commit | Line | Data |
---|---|---|
e55e5ac7 ER |
1 | Summary: Parallel bzip2/bunzip2 Filter |
2 | Name: lbzip2 | |
0251412c | 3 | Version: 2.5 |
e55e5ac7 | 4 | Release: 1 |
0251412c AM |
5 | Source0: https://github.com/kjn/lbzip2/archive/v%{version}.tar.gz |
6 | # Source0-md5: 288e404f325d9073bdc80759cae30adc | |
e55e5ac7 ER |
7 | License: GPL v2+ |
8 | Group: Applications/Archiving | |
0251412c AM |
9 | URL: http://lbzip2.org/ |
10 | BuildRequires: autoconf | |
11 | BuildRequires: automake | |
12 | BuildRequires: gnulib | |
13 | BuildRequires: perl-base | |
e55e5ac7 ER |
14 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
15 | ||
16 | %description | |
17 | Lbzip2 is a Pthreads-based parallel bzip2/bunzip2 filter, passable to | |
18 | GNU tar with the --use-compress-program option. | |
19 | ||
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. | |
24 | ||
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 | |
27 | clock time). | |
28 | ||
29 | Lbzip2 strives to be portable by requiring UNIX 98 APIs only, besides | |
30 | an unmodified libbz2. | |
31 | ||
32 | %prep | |
0251412c | 33 | %setup -q |
e55e5ac7 ER |
34 | |
35 | %build | |
0251412c AM |
36 | ./build-aux/autogen.sh |
37 | %configure \ | |
38 | --disable-silent-rules | |
39 | ||
40 | %{__make} | |
e55e5ac7 ER |
41 | |
42 | %install | |
43 | rm -rf $RPM_BUILD_ROOT | |
0251412c AM |
44 | |
45 | %{__make} install \ | |
46 | DESTDIR=$RPM_BUILD_ROOT | |
e55e5ac7 ER |
47 | |
48 | %clean | |
19467d08 | 49 | rm -rf $RPM_BUILD_ROOT |
e55e5ac7 ER |
50 | |
51 | %files | |
52 | %defattr(644,root,root,755) | |
0251412c | 53 | %doc ALGORITHM AUTHORS ChangeLog* NEWS THANKS |
e55e5ac7 | 54 | %attr(755,root,root) %{_bindir}/lbzip2 |
0251412c AM |
55 | %attr(755,root,root) %{_bindir}/lbunzip2 |
56 | %attr(755,root,root) %{_bindir}/lbzcat | |
e55e5ac7 | 57 | %{_mandir}/man1/lbzip2.1* |
0251412c AM |
58 | %{_mandir}/man1/lbunzip2.1* |
59 | %{_mandir}/man1/lbzcat.1* |