From faf22edc3de3bffdba01e942d54e226521b1e70a Mon Sep 17 00:00:00 2001 From: cvsextras Date: Mon, 8 Nov 2004 04:51:28 +0000 Subject: [PATCH] auto-import changelog data from lzo-1.08-0.fdr.2.rh80.src.rpm 1.08-0.fdr.2 - Typo un devel description - Added post and postun scriptlets - Added URL in Source0 Fri Apr 25 2003 Dams - Initial build. --- .cvsignore | 1 + lzo.spec | 76 ++++++++++++++++++++++++++++++++++++++++++++++++++++++ sources | 1 + 3 files changed, 78 insertions(+) create mode 100644 lzo.spec diff --git a/.cvsignore b/.cvsignore index e69de29..5d4cfb6 100644 --- a/.cvsignore +++ b/.cvsignore @@ -0,0 +1 @@ +lzo-1.08.tar.gz diff --git a/lzo.spec b/lzo.spec new file mode 100644 index 0000000..a1b851f --- /dev/null +++ b/lzo.spec @@ -0,0 +1,76 @@ +Summary: A data compression library with very fast (de)compression. +Name: lzo +Version: 1.08 +Release: 0.fdr.2.rh80 +Epoch: 0 +License: GPL +Group: System Environment/Libraries +URL: http://www.oberhumer.com/opensource/lzo/ +Source0: http://www.oberhumer.com/opensource/lzo/download/%{name}-%{version}.tar.gz +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-buildroot +BuildRequires: nasm zlib-devel + +%package devel +Summary: Development files for the lzo library. +Group: Development/Libraries +Requires: %{name} = %{epoch}:%{version}-%{release} +Requires: zlib-devel + +#--------------------------------------------------------------------- +%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. + +%description devel +LZO is a portable lossless data compression library written in ANSI C. +It offers pretty fast compression and very fast decompression. +This package contains development files needed for lzo. + +#--------------------------------------------------------------------- +%prep +%setup -q + +#--------------------------------------------------------------------- +%build +%configure --enable-shared +make %{?_smp_mflags} +make check test + +#--------------------------------------------------------------------- +%install +rm -rf %{buildroot} +%makeinstall + +#--------------------------------------------------------------------- +%clean +rm -rf %{buildroot} + +#--------------------------------------------------------------------- +%post -p /sbin/ldconfig +%postun -p /sbin/ldconfig + +#--------------------------------------------------------------------- +%files +%defattr(-,root,root,-) +%doc AUTHORS README COPYING ChangeLog THANKS NEWS +%{_libdir}/liblzo.so.* + +%files devel +%defattr(-,root,root,-) +%exclude %{_libdir}/liblzo.la +%{_includedir}/lzo*.h +%{_libdir}/liblzo.so +%{_libdir}/liblzo.a + +#--------------------------------------------------------------------- +%changelog +* Sun Apr 27 2003 Dams 0:1.08-0.fdr.2 +- Typo un devel description +- Added post and postun scriptlets +- Added URL in Source0 + +* Fri Apr 25 2003 Dams +- Initial build. diff --git a/sources b/sources index e69de29..50a22a4 100644 --- a/sources +++ b/sources @@ -0,0 +1 @@ +ab94d3da364c7cbd5b78d76f1875b0f6 lzo-1.08.tar.gz