diff --git a/lzo.changes b/lzo.changes index c078f4d..38fc576 100644 --- a/lzo.changes +++ b/lzo.changes @@ -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 diff --git a/lzo.spec b/lzo.spec index eeaebed..deb4126 100644 --- a/lzo.spec +++ b/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 + +%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 @@ -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