All pastes #912524 Raw Edit

Stuff

public text v1 · immutable
·published 2008-02-21 13:02 UTC
rendered paste body

Summary:        Extremely powerful file compression utility
Name:           bzip2
Version:        1.0.4
Release: 3
License:        BSD
Group:          Archiving/Compression
URL:            http://www.bzip.org/index.html
Source0:        http://www.bzip.org/%{version}/%{name}-%{version}.tar.gz
Patch0:         bzip2-1.0.4-install_docs-1.patch
BuildRoot: %{_tmppath}/%{name}-buildroot


%description
Bzip2 compresses files using the Burrows-Wheeler block-sorting text
compression algorithm, and Huffman coding. Compression is generally
considerably better than that achieved by more conventional LZ77/LZ78-based
compressors, and approaches the performance of the PPM family of statistical
compressors.

The command-line options are deliberately very similar to those of GNU Gzip,
but they are not identical.

%prep

%setup -q -c
cd %{name}-%{version}
%patch0 -p1 -b .buildroot

%build
cd %{name}-%{version}
make -f Makefile-libbz2_so
make clean
make -j4


%install
rm -rf %{buildroot}
cd %{name}-%{version}
make install PREFIX=$RPM_BUILD_ROOT/usr

%clean
rm -rf %{buildroot}

%files
%defattr(-,root,root,755)
/*