Summary: Extremely powerful file compression utility Name: bzip2 Version: 1.0.2 Release: 1 Copyright: GPL Group: Utilities/Archiving Source: http://sources.redhat.com/bzip2/bzip2-1.0.2.tar.gz BuildRoot: /var/tmp/bzip2-root %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. %package devel Summary: Header file & library for bzip2 development Group: Development/Libraries Requires: bzip2 = 1.0.2 %description devel This package contains the header file and a static library for bzip2 development. %package doc Summary: man-pages and documentation of bzip2 Group: Documentation Requires: bzip2 = 1.0.2 %description doc This package contains the man pages and more documentation of bzip2. %prep %setup -q %build make CFLAGS=$RPM_OPT_FLAGS' -Wall -Winline -fno-strength-reduce $(BIGFILES)' %install rm -fr $RPM_BUILD_ROOT mkdir -p $RPM_BUILD_ROOT/usr/{bin,man/man1} make PREFIX=$RPM_BUILD_ROOT/usr install ls -lG $RPM_BUILD_ROOT/usr/bin/* $RPM_BUILD_ROOT/usr/lib/* strip $RPM_BUILD_ROOT/usr/bin/* $RPM_BUILD_ROOT/usr/lib/* || true ls -lG $RPM_BUILD_ROOT/usr/bin/* $RPM_BUILD_ROOT/usr/lib/* %files /usr/bin/bunzip2 /usr/bin/bzcat /usr/bin/bzcmp /usr/bin/bzdiff /usr/bin/bzegrep /usr/bin/bzfgrep /usr/bin/bzgrep /usr/bin/bzip2 /usr/bin/bzip2recover /usr/bin/bzless /usr/bin/bzmore %files devel /usr/include/bzlib.h /usr/lib/libbz2.a %files doc %doc CHANGES LICENSE README README.COMPILATION.PROBLEMS Y2K_INFO manual* /usr/man/man1/bzcmp.1* /usr/man/man1/bzdiff.1* /usr/man/man1/bzegrep.1* /usr/man/man1/bzfgrep.1* /usr/man/man1/bzgrep.1* /usr/man/man1/bzip2.1* /usr/man/man1/bzless.1* /usr/man/man1/bzmore.1* %clean rm -rf $RPM_BUILD_ROOT %changelog * Tue Sep 24 2002 Frank Meurer - package for rpm-2.x and inofficial RH 4.2 Linux/m68k * Thu Apr 09 1998 Cristian Gafton - first build for Manhattan