2007-01-16 00:24:27 +01:00
|
|
|
#
|
2008-08-22 20:07:18 +02:00
|
|
|
# spec file for package lzo (Version 2.03)
|
2007-01-16 00:24:27 +01:00
|
|
|
#
|
2008-02-25 17:29:09 +01:00
|
|
|
# Copyright (c) 2008 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
2007-01-16 00:24:27 +01:00
|
|
|
#
|
2008-08-22 20:07:18 +02:00
|
|
|
# All modifications and additions to the file contributed by third parties
|
|
|
|
# remain the property of their copyright owners, unless otherwise agreed
|
|
|
|
# upon. The license for this file, and modifications and additions to the
|
|
|
|
# file, is the same license as for the pristine package itself (unless the
|
|
|
|
# license for the pristine package is not an Open Source License, in which
|
|
|
|
# case the license is the MIT License). An "Open Source License" is a
|
|
|
|
# license that conforms to the Open Source Definition (Version 1.9)
|
|
|
|
# published by the Open Source Initiative.
|
|
|
|
|
2007-01-16 00:24:27 +01:00
|
|
|
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
|
|
|
#
|
|
|
|
|
|
|
|
# norootforbuild
|
|
|
|
|
2008-02-25 17:29:09 +01:00
|
|
|
|
2007-01-16 00:24:27 +01:00
|
|
|
Name: lzo
|
2008-02-25 17:29:09 +01:00
|
|
|
Url: http://www.oberhumer.com/opensource/lzo/
|
2008-08-22 20:07:18 +02:00
|
|
|
Version: 2.03
|
|
|
|
Release: 2
|
2007-01-16 00:24:27 +01:00
|
|
|
Group: Development/Libraries/C and C++
|
|
|
|
Source: lzo-%{version}.tar.bz2
|
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|
|
|
BuildRequires: gcc-c++
|
|
|
|
Summary: A Real-Time Data Compression Library
|
2008-02-25 17:29:09 +01:00
|
|
|
License: GPL v2 only
|
|
|
|
|
2008-08-22 20:07:18 +02:00
|
|
|
%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>
|
|
|
|
|
|
|
|
%define library_package liblzo2-2
|
|
|
|
%define debug_package_requires %{library_package} = %{version}-%{release}
|
|
|
|
|
|
|
|
%package -n liblzo2-2
|
2008-02-25 17:29:09 +01:00
|
|
|
License: GPL v2 only
|
2008-08-22 20:07:18 +02:00
|
|
|
Group: Development/Libraries/C and C++
|
|
|
|
Summary: A Real-Time Data Compression Library
|
|
|
|
Provides: lzo = %{version}-%{release}
|
|
|
|
Obsoletes: lzo < %{version}
|
2007-01-16 00:24:27 +01:00
|
|
|
|
2008-08-22 20:07:18 +02:00
|
|
|
%description -n liblzo2-2
|
2007-01-16 00:24:27 +01:00
|
|
|
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>
|
|
|
|
|
2008-08-22 20:07:18 +02:00
|
|
|
%package devel
|
|
|
|
License: GPL v2 only
|
|
|
|
Group: Development/Languages/C and C++
|
|
|
|
Requires: %{library_package} = %{version}
|
|
|
|
Summary: Development files for lzo
|
|
|
|
|
2007-01-16 00:24:27 +01:00
|
|
|
%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
|
2007-02-12 17:00:24 +01:00
|
|
|
%setup -q
|
2007-01-16 00:24:27 +01:00
|
|
|
|
|
|
|
%build
|
2008-08-22 20:07:18 +02:00
|
|
|
%configure --enable-shared --disable-static --libdir=/%{_lib}
|
2007-01-16 00:24:27 +01:00
|
|
|
%{__make}
|
2008-02-25 17:29:09 +01:00
|
|
|
|
|
|
|
%check
|
2007-01-16 00:24:27 +01:00
|
|
|
%{__make} check test
|
|
|
|
|
|
|
|
%install
|
|
|
|
%makeinstall
|
2008-08-22 20:07:18 +02:00
|
|
|
%{__rm} -v %{buildroot}/%{_lib}/liblzo2.la
|
|
|
|
#
|
|
|
|
%{__install} -d -m 0755 %{buildroot}%{_libdir}
|
|
|
|
#%{__mv} -v %{buildroot}{/%{_lib},%{_libdir}}/liblzo2.so
|
|
|
|
%{__ln_s} -v /%{_lib}/$(readlink %{buildroot}/%{_lib}/liblzo2.so) %{buildroot}%{_libdir}/liblzo2.so
|
|
|
|
%{__rm} -v %{buildroot}/%{_lib}/liblzo2.so
|
2007-01-16 00:24:27 +01:00
|
|
|
|
|
|
|
%clean
|
|
|
|
%{__rm} -rf %{buildroot}
|
|
|
|
|
2008-08-22 20:07:18 +02:00
|
|
|
%post -n %{library_package} -p /sbin/ldconfig
|
2008-02-25 17:29:09 +01:00
|
|
|
|
2008-08-22 20:07:18 +02:00
|
|
|
%postun -n %{library_package} -p /sbin/ldconfig
|
2008-02-25 17:29:09 +01:00
|
|
|
|
2008-08-22 20:07:18 +02:00
|
|
|
%files -n %{library_package}
|
|
|
|
%defattr(-,root,root)
|
|
|
|
/%{_lib}/liblzo2.so.*
|
2007-01-16 00:24:27 +01:00
|
|
|
|
|
|
|
%files devel
|
|
|
|
%defattr (-,root,root)
|
2008-08-22 20:07:18 +02:00
|
|
|
%doc AUTHORS BUGS COPYING NEWS README THANKS
|
|
|
|
%doc doc/* util/*
|
|
|
|
%{_libdir}/liblzo2.so
|
2007-01-16 00:24:27 +01:00
|
|
|
%_includedir/lzo
|
|
|
|
|
2008-02-25 17:29:09 +01:00
|
|
|
%changelog
|
2008-08-22 20:07:18 +02:00
|
|
|
* Fri Aug 22 2008 mrueckert@suse.de
|
|
|
|
- update to 2.03
|
|
|
|
featuring major speedups for 64-bit architectures like AMD64,
|
|
|
|
minor overall speedups, portability enhancements for LLP64
|
|
|
|
programming models, and lots of other small improvements
|
|
|
|
- dropped lzo-noexec.patch: fix included upstream
|
|
|
|
- split out liblzo2-2
|
|
|
|
- move the lib to /%%_lib
|
2008-04-10 14:53:26 +02:00
|
|
|
* Thu Apr 10 2008 ro@suse.de
|
|
|
|
- added baselibs.conf file to build xxbit packages
|
|
|
|
for multilib support
|
2008-02-25 17:29:09 +01:00
|
|
|
* Mon Feb 25 2008 crrodriguez@suse.de
|
|
|
|
- run ldconfig
|
|
|
|
* Mon Feb 12 2007 meissner@suse.de
|
2007-02-12 17:00:24 +01:00
|
|
|
- added marker for nonexec stack/heap to i386 assembler.
|
2008-02-25 17:29:09 +01:00
|
|
|
* Wed Sep 27 2006 poeml@suse.de
|
2007-01-16 00:24:27 +01:00
|
|
|
- add BuildRequires: gcc-c++ for building on Fedora
|
2008-02-25 17:29:09 +01:00
|
|
|
* Wed Jan 25 2006 mls@suse.de
|
2007-01-16 00:24:27 +01:00
|
|
|
- converted neededforbuild to BuildRequires
|
2008-02-25 17:29:09 +01:00
|
|
|
* Mon Jan 16 2006 mrueckert@suse.de
|
2007-01-16 00:24:27 +01:00
|
|
|
- update to version 2.02
|
2008-02-25 17:29:09 +01:00
|
|
|
* Mon Sep 26 2005 mls@suse.de
|
2007-01-16 00:24:27 +01:00
|
|
|
- make devel package require base package
|
2008-02-25 17:29:09 +01:00
|
|
|
* Tue Jun 28 2005 cthiel@suse.de
|
2007-01-16 00:24:27 +01:00
|
|
|
- update to version 2.01
|
2008-02-25 17:29:09 +01:00
|
|
|
* Thu Jun 02 2005 hvogel@suse.de
|
2007-01-16 00:24:27 +01:00
|
|
|
- update to version 2.0
|
2008-02-25 17:29:09 +01:00
|
|
|
* Fri Jan 09 2004 adrian@suse.de
|
2007-01-16 00:24:27 +01:00
|
|
|
- move devel files to -devel package
|
2008-02-25 17:29:09 +01:00
|
|
|
* Wed Aug 20 2003 cwh@suse.de
|
2007-01-16 00:24:27 +01:00
|
|
|
- initial release
|