Accepting request 242230 from home:dsterba:branches:Base:System
SR: the static package should not be used normally, but can be used by standalone rescue utilities (planned for btrfsprogs). - enable lzo-devel-static package build OBS-URL: https://build.opensuse.org/request/show/242230 OBS-URL: https://build.opensuse.org/package/show/Base:System/lzo?expand=0&rev=26
This commit is contained in:
parent
d00ef480b7
commit
47330b693a
@ -1,3 +1,8 @@
|
||||
-------------------------------------------------------------------
|
||||
Thu Jul 24 18:07:43 CEST 2014 - dsterba@suse.cz
|
||||
|
||||
- enable lzo-devel-static package build
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Jul 2 11:35:21 UTC 2014 - mrueckert@suse.de
|
||||
|
||||
|
27
lzo.spec
27
lzo.spec
@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package lzo
|
||||
#
|
||||
# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
||||
# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
@ -91,6 +91,25 @@ compression ratio.
|
||||
|
||||
|
||||
|
||||
Authors:
|
||||
--------
|
||||
Markus Franz Xaver Johannes Oberhumer <markus@oberhumer.com>
|
||||
|
||||
%package devel-static
|
||||
Requires: lzo-devel = %{version}
|
||||
Provides: lzo-devel:%{_libdir}/liblzo.a
|
||||
Summary: Development files for lzo
|
||||
Group: Development/Languages/C and C++
|
||||
|
||||
%description devel-static
|
||||
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>
|
||||
@ -101,7 +120,7 @@ Authors:
|
||||
%build
|
||||
export CFLAGS="%optflags -fvisibility=hidden"
|
||||
%configure --enable-shared \
|
||||
--disable-static \
|
||||
--enable-static \
|
||||
--disable-silent-rules \
|
||||
--docdir=%{_docdir}/%{name}-devel
|
||||
|
||||
@ -140,4 +159,8 @@ echo '#define __LZO_EXPORT1 __attribute__ ((visibility ("default")))' >> config.
|
||||
%{_libdir}/liblzo2.so
|
||||
%_includedir/lzo
|
||||
|
||||
%files devel-static
|
||||
%defattr (-,root,root)
|
||||
%{_libdir}/liblzo2.a
|
||||
|
||||
%changelog
|
||||
|
Loading…
Reference in New Issue
Block a user