# Authority: dag # Archs: i386 i686 Summary: A portable lossless data compression library written in ANSI C Name: lzo Version: 1.04 Release: 2 License: GPL Group: System Environment/Libraries URL: http://www.oberhumer.com/opensource/lzo/ Packager: Dag Wieers Vendor: Dag Apt Repository, http://dag.wieers.com/apt/ Source: http://www.oberhumer.com/opensource/%{name}/download/%{name}-%{version}.tar.gz BuildRoot: %{_tmppath}/root-%{name}-%{version} Prefix: %{_prefix} BuildRequires: zlib-devel 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: Includes and static lib for lzo data compression library Group: Development/Libraries Requires: %{name} = %{version} %description devel Includes and static lib for lzo data compression library. %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}/*.so.* %files devel %defattr(-, root, root, 0755) %{_includedir}/*.h %{_libdir}/*.a %{_libdir}/*.so %exclude %{_libdir}/*.la %changelog * Fri Dec 27 2002 Dag Wieers - 1.08-0 - Updated to 1.08 * Fri Aug 31 2001 Dag Wieers - 1.04-0 - Made use of macros, made relocatable. * Thu May 21 1998 Arne Coucheron - updated to 1.04-1 - using BuildRoot - using RPM_OPT_FLAGS during make - using %%{name} and %%{version} macros - removed Packager: line; use /etc/rpmrc for this if you need it - using %defattr and %attr macros in filelist. NB! needs rpm 2.5 to build - simplified the filelist - removed %pre and added a %postun - added -q parameter to %setup - added striping of the library - removed COPYING file from %doc, copyright is in the header