77 lines
2.3 KiB
RPMSpec
77 lines
2.3 KiB
RPMSpec
|
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 <anvil[AT]livna.org> 0:1.08-0.fdr.2
|
||
|
- Typo un devel description
|
||
|
- Added post and postun scriptlets
|
||
|
- Added URL in Source0
|
||
|
|
||
|
* Fri Apr 25 2003 Dams <anvil[AT]livna.org>
|
||
|
- Initial build.
|