Summary: A real-time data compression library. Name: lzo Version: 2.02 Release: 1 Group: System Environment/Libraries License: GPL Source: http://www.oberhumer.com/opensource/lzo/download/%{name}-%{version}.tar.gz URL: http://www.oberhumer.com/opensource/lzo/ BuildRoot: %{_tmppath}/%{name}-%{version}-root %description LZO is a portable lossless data compression library written in ANSI C. It implements a number of algorithms with the following features: - Decompression is simple and *very* fast. - Requires no memory for decompression. - Compression is pretty fast. - Requires 64 kB of memory for compression. - Allows you to dial up extra compression at a speed cost in the compressor. The speed of the decompressor is not reduced. - Includes compression levels for generating pre-compressed data which achieve a quite competitive compression ratio. - There is also a compression level which needs only 8 kB for compression. - Supports overlapping compression and in-place decompression. - Algorithm is thread safe. - Algorithm is lossless. %package devel Summary: Development files for the lzo compression library. Group: Development/Libraries Requires: %{name} = %{version} %description devel LZO is a portable lossless data compression library written in ANSI C. It implements a number of algorithms with many features. Install the package if you need to build programs that will use the lzo compression library. %prep %setup -q %build export CC=xlc export CFLAGS="-O2" ./configure \ --prefix=/opt/freeware \ --enable-shared --disable-static make %{?_smp_mflags} %install [ "$RPM_BUILD_ROOT" != "/" ] && rm -rf $RPM_BUILD_ROOT make install DESTDIR=$RPM_BUILD_ROOT %clean [ "$RPM_BUILD_ROOT" != "/" ] && rm -rf $RPM_BUILD_ROOT %files %defattr(-,root,system) %doc AUTHORS BUGS NEWS README THANKS doc/LZO.FAQ %{_libdir}/liblzo2.a %files devel %defattr(-,root,system) %doc doc/LZO.TXT doc/LZOAPI.TXT %{_includedir}/* %{_libdir}/liblzo2.la %changelog * Tue Jan 03 2006 Michael Perzl - 2.02-1 - first version for AIX V5.1 and higher