]> git.pld-linux.org Git - packages/lbzip2.git/blame - lbzip2.spec
- new; based on openSUSE src.rpm
[packages/lbzip2.git] / lbzip2.spec
CommitLineData
e55e5ac7
ER
1Summary: Parallel bzip2/bunzip2 Filter
2Name: lbzip2
3Version: 0.20
4Release: 1
5Source0: http://lacos.web.elte.hu/pub/lbzip2/%{name}-%{version}.tar.gz
6# Source0-md5: 9f5479de40f928e77062a62c8a74d831
7Patch1: %{name}-makefile.patch
8License: GPL v2+
9Group: Applications/Archiving
10URL: http://lacos.hu/
11BuildRequires: bzip2-devel
12BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
13
14%description
15Lbzip2 is a Pthreads-based parallel bzip2/bunzip2 filter, passable to
16GNU tar with the --use-compress-program option.
17
18It isn't restricted to regular files on input, nor output. Successful
19splitting for decompression isn't guaranteed, just very likely
20(failure is detected). Splitting in both modes and compression itself
21occur with an approximate 900k block size.
22
23On an Athlon-64 X2 6000+, lbzip2 was 92% faster than standard bzip2
24when compressing, and 45% faster when decompressing (based on wall
25clock time).
26
27Lbzip2 strives to be portable by requiring UNIX 98 APIs only, besides
28an unmodified libbz2.
29
30%prep
31%setup -q -n %{name}
32%patch1
33
34%build
35%{__make} \
36 CC="%{__cc}" \
37 OPTFLAGS="%{optflags}"
38
39%install
40rm -rf $RPM_BUILD_ROOT
41install -D lbzip2 $RPM_BUILD_ROOT%{_bindir}/lbzip2
42install -D lbzip2.1 $RPM_BUILD_ROOT%{_mandir}/man1/lbzip2.1
43
44%clean
45rm -rf "$RPM_BUILD_ROOT"
46
47%files
48%defattr(644,root,root,755)
49%doc ChangeLog README
50%attr(755,root,root) %{_bindir}/lbzip2
51%{_mandir}/man1/lbzip2.1*
This page took 0.031616 seconds and 4 git commands to generate.