Lzo-2.x.spec

Summary: Portable lossless data compression library Name: lzo Version: 2.02 Release: 1 License: GPL Group: System Environment/Libraries URL: http://www.oberhumer.com/opensource/lzo/ Source: http://www.oberhumer.com/opensource/lzo/download/lzo-%{version}.tar.gz BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root BuildRequires: zlib-devel, autoconf Requires: zlib >= 1.0.0 %description LZO is a portable lossless data compression library written in ANSI C. It offers pretty fast compression and *very* fast decompression. Decompression requires no memory. In addition there are slower compression levels achieving a quite competitive compression ratio while still decompressing at this very high speed. %package devel Summary: Header files, libraries and development documentation for %{name} Group: Development/Libraries Requires: %{name} = %{version}-%{release} %description devel This package contains the header files, static libraries and development documentation for %{name}. If you like to develop programs using %{name}, you will need to install %{name}-devel. %prep %setup %build %configure \ --enable-shared %{__make} %{?_smp_mflags} %install %{__rm} -rf %{buildroot} %makeinstall %post -p /sbin/ldconfig %postun -p /sbin/ldconfig %clean %{__rm} -rf %{buildroot} %files %defattr(-, root, root, 0755) %doc AUTHORS BUGS ChangeLog NEWS README THANKS doc/ %{_libdir}/liblzo2.so.* %files devel %defattr(-, root, root, 0755) %{_includedir}/lzo/ %{_libdir}/liblzo2.a %exclude %{_libdir}/liblzo2.la %{_libdir}/liblzo2.so %changelog
 * 1) $Id: lzo.spec 3101 2005-04-04 20:13:17Z dag $