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