lzo/lzo.spec

112 lines
2.7 KiB
RPMSpec
Raw Normal View History

#
# spec file for package lzo (Version 2.02)
#
# Copyright (c) 2008 SUSE LINUX Products GmbH, Nuernberg, Germany.
# This file and all modifications and additions to the pristine
# package are under the same license as the package itself.
#
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
# norootforbuild
Name: lzo
Url: http://www.oberhumer.com/opensource/lzo/
Version: 2.02
Release: 96
Group: Development/Libraries/C and C++
Source: lzo-%{version}.tar.bz2
Patch: lzo-noexec.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: gcc-c++
Summary: A Real-Time Data Compression Library
License: GPL v2 only
%package devel
Summary: a real-time data compression library
License: GPL v2 only
Group: Development/Languages/Fortran
Requires: lzo = %{version} glibc-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. LZO is suitable for data compression
and decompression in real-time. This means it favors speed over
compression ratio.
Authors:
--------
Markus Franz Xaver Johannes Oberhumer <markus@oberhumer.com>
%description devel
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. LZO is suitable for data
de-/compression in real-time. This means it favours speed over
compression ratio.
Authors:
--------
Markus Franz Xaver Johannes Oberhumer <markus@oberhumer.com>
%prep
%setup -q
%patch0 -p1
%build
%configure --enable-shared
%{__make}
%check
%{__make} check test
%install
%makeinstall
%clean
%{__rm} -rf %{buildroot}
%post -p /sbin/ldconfig
%postun -p /sbin/ldconfig
%files
%defattr (-,root,root)
%doc AUTHORS BUGS COPYING NEWS README THANKS
%doc doc/* util/*
%{_libdir}/liblzo*.so.*
%files devel
%defattr (-,root,root)
%{_libdir}/liblzo*.*a*
%{_libdir}/liblzo*.so
%_includedir/lzo
%changelog
* Mon Feb 25 2008 crrodriguez@suse.de
- run ldconfig
* Mon Feb 12 2007 meissner@suse.de
- added marker for nonexec stack/heap to i386 assembler.
* Wed Sep 27 2006 poeml@suse.de
- add BuildRequires: gcc-c++ for building on Fedora
* Wed Jan 25 2006 mls@suse.de
- converted neededforbuild to BuildRequires
* Mon Jan 16 2006 mrueckert@suse.de
- update to version 2.02
* Mon Sep 26 2005 mls@suse.de
- make devel package require base package
* Tue Jun 28 2005 cthiel@suse.de
- update to version 2.01
* Thu Jun 02 2005 hvogel@suse.de
- update to version 2.0
* Fri Jan 09 2004 adrian@suse.de
- move devel files to -devel package
* Wed Aug 20 2003 cwh@suse.de
- initial release