]> git.pld-linux.org Git - packages/lbzip2.git/blame - lbzip2.spec
- up to 2.5
[packages/lbzip2.git] / lbzip2.spec
CommitLineData
e55e5ac7
ER
1Summary: Parallel bzip2/bunzip2 Filter
2Name: lbzip2
0251412c 3Version: 2.5
e55e5ac7 4Release: 1
0251412c
AM
5Source0: https://github.com/kjn/lbzip2/archive/v%{version}.tar.gz
6# Source0-md5: 288e404f325d9073bdc80759cae30adc
e55e5ac7
ER
7License: GPL v2+
8Group: Applications/Archiving
0251412c
AM
9URL: http://lbzip2.org/
10BuildRequires: autoconf
11BuildRequires: automake
12BuildRequires: gnulib
13BuildRequires: perl-base
e55e5ac7
ER
14BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
15
16%description
17Lbzip2 is a Pthreads-based parallel bzip2/bunzip2 filter, passable to
18GNU tar with the --use-compress-program option.
19
20It isn't restricted to regular files on input, nor output. Successful
21splitting for decompression isn't guaranteed, just very likely
22(failure is detected). Splitting in both modes and compression itself
23occur with an approximate 900k block size.
24
25On an Athlon-64 X2 6000+, lbzip2 was 92% faster than standard bzip2
26when compressing, and 45% faster when decompressing (based on wall
27clock time).
28
29Lbzip2 strives to be portable by requiring UNIX 98 APIs only, besides
30an 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
43rm -rf $RPM_BUILD_ROOT
0251412c
AM
44
45%{__make} install \
46 DESTDIR=$RPM_BUILD_ROOT
e55e5ac7
ER
47
48%clean
19467d08 49rm -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*
This page took 0.06023 seconds and 4 git commands to generate.