- up to 2.5
[packages/lbzip2.git] / lbzip2.spec
1 Summary:        Parallel bzip2/bunzip2 Filter
2 Name:           lbzip2
3 Version:        2.5
4 Release:        1
5 Source0:        https://github.com/kjn/lbzip2/archive/v%{version}.tar.gz
6 # Source0-md5:  288e404f325d9073bdc80759cae30adc
7 License:        GPL v2+
8 Group:          Applications/Archiving
9 URL:            http://lbzip2.org/
10 BuildRequires:  autoconf
11 BuildRequires:  automake
12 BuildRequires:  gnulib
13 BuildRequires:  perl-base
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
33 %setup -q
34
35 %build
36 ./build-aux/autogen.sh
37 %configure \
38         --disable-silent-rules
39
40 %{__make}
41
42 %install
43 rm -rf $RPM_BUILD_ROOT
44
45 %{__make} install \
46         DESTDIR=$RPM_BUILD_ROOT
47
48 %clean
49 rm -rf $RPM_BUILD_ROOT
50
51 %files
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*
This page took 0.038527 seconds and 3 git commands to generate.