Accepting request 287603 from home:pluskalm:branches:Base:System
- Cleanup spec file with spec-cleaner - Update to 2.09 * Work around gcc bug #64516 that could affect architectures like armv4, armv5 and sparc. OBS-URL: https://build.opensuse.org/request/show/287603 OBS-URL: https://build.opensuse.org/package/show/Base:System/lzo?expand=0&rev=28
This commit is contained in:
parent
47330b693a
commit
9bb421de50
@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:ac1b3e4dee46febe9fd28737eb7f5692d3232ef1a01da10444394c3d47536614
|
|
||||||
size 589045
|
|
3
lzo-2.09.tar.gz
Normal file
3
lzo-2.09.tar.gz
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:f294a7ced313063c057c504257f437c8335c41bfeed23531ee4e6a2b87bcb34c
|
||||||
|
size 594855
|
@ -1,3 +1,11 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue Feb 24 20:20:31 UTC 2015 - mpluskal@suse.com
|
||||||
|
|
||||||
|
- Cleanup spec file with spec-cleaner
|
||||||
|
- Update to 2.09
|
||||||
|
* Work around gcc bug #64516 that could affect architectures like
|
||||||
|
armv4, armv5 and sparc.
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Thu Jul 24 18:07:43 CEST 2014 - dsterba@suse.cz
|
Thu Jul 24 18:07:43 CEST 2014 - dsterba@suse.cz
|
||||||
|
|
||||||
|
60
lzo.spec
60
lzo.spec
@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package lzo
|
# spec file for package lzo
|
||||||
#
|
#
|
||||||
# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
|
||||||
#
|
#
|
||||||
# All modifications and additions to the file contributed by third parties
|
# All modifications and additions to the file contributed by third parties
|
||||||
# remain the property of their copyright owners, unless otherwise agreed
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
@ -17,21 +17,20 @@
|
|||||||
|
|
||||||
|
|
||||||
Name: lzo
|
Name: lzo
|
||||||
Url: http://www.oberhumer.com/opensource/lzo/
|
Version: 2.09
|
||||||
Version: 2.08
|
|
||||||
Release: 0
|
Release: 0
|
||||||
|
Summary: A Real-Time Data Compression Library
|
||||||
|
License: GPL-2.0+
|
||||||
|
Group: Development/Libraries/C and C++
|
||||||
|
Url: http://www.oberhumer.com/opensource/lzo/
|
||||||
Source: http://www.oberhumer.com/opensource/%{name}/download/%{name}-%{version}.tar.gz
|
Source: http://www.oberhumer.com/opensource/%{name}/download/%{name}-%{version}.tar.gz
|
||||||
Source2: baselibs.conf
|
Source2: baselibs.conf
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|
||||||
BuildRequires: gcc-c++
|
BuildRequires: gcc-c++
|
||||||
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||||
# bug437293
|
# bug437293
|
||||||
%ifarch ppc64
|
%ifarch ppc64
|
||||||
Obsoletes: lzo-64bit
|
Obsoletes: lzo-64bit
|
||||||
%endif
|
%endif
|
||||||
#
|
|
||||||
Summary: A Real-Time Data Compression Library
|
|
||||||
License: GPL-2.0+
|
|
||||||
Group: Development/Libraries/C and C++
|
|
||||||
|
|
||||||
%description
|
%description
|
||||||
LZO is a portable lossless data compression library written in ANSI C.
|
LZO is a portable lossless data compression library written in ANSI C.
|
||||||
@ -40,12 +39,6 @@ Decompression requires no memory. LZO is suitable for data compression
|
|||||||
and decompression in real-time. This means it favors speed over
|
and decompression in real-time. This means it favors speed over
|
||||||
compression ratio.
|
compression ratio.
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
Authors:
|
|
||||||
--------
|
|
||||||
Markus Franz Xaver Johannes Oberhumer <markus@oberhumer.com>
|
|
||||||
|
|
||||||
%define library_package liblzo2-2
|
%define library_package liblzo2-2
|
||||||
|
|
||||||
%package -n liblzo2-2
|
%package -n liblzo2-2
|
||||||
@ -66,16 +59,10 @@ Decompression requires no memory. LZO is suitable for data compression
|
|||||||
and decompression in real-time. This means it favors speed over
|
and decompression in real-time. This means it favors speed over
|
||||||
compression ratio.
|
compression ratio.
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
Authors:
|
|
||||||
--------
|
|
||||||
Markus Franz Xaver Johannes Oberhumer <markus@oberhumer.com>
|
|
||||||
|
|
||||||
%package devel
|
%package devel
|
||||||
Requires: %{library_package} = %{version}
|
|
||||||
Summary: Development files for lzo
|
Summary: Development files for lzo
|
||||||
Group: Development/Languages/C and C++
|
Group: Development/Languages/C and C++
|
||||||
|
Requires: %{library_package} = %{version}
|
||||||
# bug437293
|
# bug437293
|
||||||
%ifarch ppc64
|
%ifarch ppc64
|
||||||
Obsoletes: lzo-devel-64bit
|
Obsoletes: lzo-devel-64bit
|
||||||
@ -89,17 +76,11 @@ Decompression requires no memory. LZO is suitable for data
|
|||||||
de-/compression in real-time. This means it favours speed over
|
de-/compression in real-time. This means it favours speed over
|
||||||
compression ratio.
|
compression ratio.
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
Authors:
|
|
||||||
--------
|
|
||||||
Markus Franz Xaver Johannes Oberhumer <markus@oberhumer.com>
|
|
||||||
|
|
||||||
%package devel-static
|
%package devel-static
|
||||||
Requires: lzo-devel = %{version}
|
|
||||||
Provides: lzo-devel:%{_libdir}/liblzo.a
|
|
||||||
Summary: Development files for lzo
|
Summary: Development files for lzo
|
||||||
Group: Development/Languages/C and C++
|
Group: Development/Languages/C and C++
|
||||||
|
Requires: lzo-devel = %{version}
|
||||||
|
Provides: lzo-devel:%{_libdir}/liblzo.a
|
||||||
|
|
||||||
%description devel-static
|
%description devel-static
|
||||||
LZO is a portable lossless data compression library written in ANSI C.
|
LZO is a portable lossless data compression library written in ANSI C.
|
||||||
@ -108,17 +89,11 @@ Decompression requires no memory. LZO is suitable for data
|
|||||||
de-/compression in real-time. This means it favours speed over
|
de-/compression in real-time. This means it favours speed over
|
||||||
compression ratio.
|
compression ratio.
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
Authors:
|
|
||||||
--------
|
|
||||||
Markus Franz Xaver Johannes Oberhumer <markus@oberhumer.com>
|
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q
|
%setup -q
|
||||||
|
|
||||||
%build
|
%build
|
||||||
export CFLAGS="%optflags -fvisibility=hidden"
|
export CFLAGS="%{optflags} -fvisibility=hidden"
|
||||||
%configure --enable-shared \
|
%configure --enable-shared \
|
||||||
--enable-static \
|
--enable-static \
|
||||||
--disable-silent-rules \
|
--disable-silent-rules \
|
||||||
@ -132,17 +107,14 @@ export CFLAGS="%optflags -fvisibility=hidden"
|
|||||||
|
|
||||||
echo '#define __LZO_EXPORT1 __attribute__ ((visibility ("default")))' >> config.h
|
echo '#define __LZO_EXPORT1 __attribute__ ((visibility ("default")))' >> config.h
|
||||||
|
|
||||||
%{__make} %{?_smp_mflags}
|
make %{?_smp_mflags}
|
||||||
|
|
||||||
%check
|
%check
|
||||||
%{__make} check test
|
make %{?_smp_mflags} check test
|
||||||
|
|
||||||
%install
|
%install
|
||||||
%makeinstall
|
make DESTDIR=%{buildroot} install %{?_smp_mflags}
|
||||||
%{__rm} -v %{buildroot}%{_libdir}/liblzo2.la
|
rm -v %{buildroot}%{_libdir}/liblzo2.la
|
||||||
|
|
||||||
%clean
|
|
||||||
%{__rm} -rf %{buildroot}
|
|
||||||
|
|
||||||
%post -n %{library_package} -p /sbin/ldconfig
|
%post -n %{library_package} -p /sbin/ldconfig
|
||||||
|
|
||||||
@ -157,7 +129,7 @@ echo '#define __LZO_EXPORT1 __attribute__ ((visibility ("default")))' >> config.
|
|||||||
%doc AUTHORS BUGS COPYING NEWS README THANKS
|
%doc AUTHORS BUGS COPYING NEWS README THANKS
|
||||||
%doc doc/* util/*
|
%doc doc/* util/*
|
||||||
%{_libdir}/liblzo2.so
|
%{_libdir}/liblzo2.so
|
||||||
%_includedir/lzo
|
%{_includedir}/lzo
|
||||||
|
|
||||||
%files devel-static
|
%files devel-static
|
||||||
%defattr (-,root,root)
|
%defattr (-,root,root)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user