diff --git a/README.md b/README.md index 194282d..7096bc9 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,16 @@ # liblzo +LZO is a data compression library which is suitable for data de-/compression in real-time. This means it favours speed over compression ratio. +LZO is written in ANSI C. Both the source code and the compressed data format are designed to be portable across platforms. +LZO 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 +* algorithm is thread safe +* algorithm is lossless. +LZO supports overlapping compression and in-place decompression. + diff --git a/liblzo.spec b/liblzo.spec new file mode 100644 index 0000000..b1f3fd9 --- /dev/null +++ b/liblzo.spec @@ -0,0 +1,118 @@ +Name: liblzo +Version: 2.06 +Release: 1mamba +Summary: A real-time lossless data compression library +Group: System/Libraries +Vendor: openmamba +Distribution: openmamba +Packager: Silvan Calarco +URL: http://www.oberhumer.com/opensource/lzo/ +Source: http://www.oberhumer.com/opensource/lzo/download/lzo-%{version}.tar.gz +License: GPL +Obsoletes: liblzo1 +Obsoletes: liblzo2 +Provides: liblzo2 +BuildRoot: %{_tmppath}/%{name}-%{version}-root + +%description +LZO is a data compression library which is suitable for data de-/compression in real-time. This means it favours speed over compression ratio. +LZO is written in ANSI C. Both the source code and the compressed data format are designed to be portable across platforms. +LZO 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 +* algorithm is thread safe +* algorithm is lossless. +LZO supports overlapping compression and in-place decompression. + +%package devel +Summary: Static libraries and headers for %{name} +Group: Development/Libraries +Requires: %{name} = %{?epoch:%epoch:}%{version} +Obsoletes: liblzo1-devel +Obsoletes: liblzo2-devel +Provides: liblzo2-devel + +%description devel +LZO is a data compression library which is suitable for data de-/compression in real-time. +This means it favours speed over compression ratio. LZO is written in ANSI C. +Both the source code and the compressed data format are designed to be portable across platforms. +LZO 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 +* algorithm is thread safe +* algorithm is lossless. +LZO supports overlapping compression and in-place decompression. + +This package contains static libraries and header files need for development. + +%prep +%setup -q -n lzo-%{version} + +%build +%configure --enable-shared +%make + +%install +[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" +%makeinstall + +rm -rf %{buildroot}%{_docdir}/lzo + +%clean +[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" + +%post -p /sbin/ldconfig +%postun -p /sbin/ldconfig + +%files +%defattr(-,root,root) +%{_libdir}/liblzo2.so.* +%doc AUTHORS COPYING + +%files devel +%defattr(-,root,root) +%{_includedir}/lzo/ +%{_libdir}/*.a +%{_libdir}/*.la +%{_libdir}/*.so +%doc BUGS ChangeLog NEWS README THANKS + +%changelog +* Sat Aug 13 2011 Automatic Build System 2.06-1mamba +- automatic version update by autodist + +* Thu May 12 2011 Automatic Build System 2.05-1mamba +- automatic update by autodist + +* Thu Nov 04 2010 Automatic Build System 2.04-1mamba +- automatic update by autodist + +* Mon May 26 2008 Silvan Calarco 2.03-2mamba +- fixed distribution and vendor fields +- rename to libzo (was liblzo2) and obsolete liblzo1 + +* Sun May 18 2008 Silvan Calarco 2.03-1mamba +- update to 2.03 + +* Mon Jan 22 2007 Davide Madrisan 2.02-3qilnx +- compatibility package %{name}1 removed + +* Mon Oct 09 2006 Stefano Cotta Ramusino 2.02-2qilnx +- fixed package %{name}1 + +* Fri Jan 27 2006 Stefano Cotta Ramusino 2.02-1qilnx +- update to version 2.02 by autospec +- new compatibility package %{name}1 + +* Mon Sep 13 2004 Silvan Calarco 1.08-1qilnx +- package created by autospec