forked from pool/lzma-sdk
Accepting request 495383 from home:jengelh:branches:Archiving
- Trim/update description. Redo .pc file generation so that the resulting file looks like other .pc files on openSUSE. OBS-URL: https://build.opensuse.org/request/show/495383 OBS-URL: https://build.opensuse.org/package/show/Archiving/lzma-sdk?expand=0&rev=3
This commit is contained in:
parent
dea12fa92e
commit
32b06004a5
@ -1,3 +1,9 @@
|
||||
-------------------------------------------------------------------
|
||||
Tue May 16 14:56:41 UTC 2017 - jengelh@inai.de
|
||||
|
||||
- Trim/update description. Redo .pc file generation so that the
|
||||
resulting file looks like other .pc files on openSUSE.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu May 11 06:30:24 UTC 2017 - aloisio@gmx.com
|
||||
|
||||
|
@ -21,7 +21,7 @@
|
||||
Name: lzma-sdk
|
||||
Version: 16.04
|
||||
Release: 0
|
||||
Summary: SDK for lzma compression
|
||||
Summary: An implementation of LZMA compression
|
||||
# Actually the site says "Public Domain". See license file.
|
||||
License: LGPL-2.1
|
||||
Group: Productivity/Archiving/Compression
|
||||
@ -37,17 +37,15 @@ BuildRequires: pkg-config
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
|
||||
%description
|
||||
LZMA SDK provides the documentation, samples, header files, libraries,
|
||||
and tools you need to develop applications that use LZMA compression.
|
||||
LZMA SDK provides documentation, samples, header files, libraries,
|
||||
and tools for developing applications with LZMA support.
|
||||
|
||||
LZMA is default and general compression method of 7z format
|
||||
in 7-Zip compression program (www.7-zip.org). LZMA provides high
|
||||
compression ratio and very fast decompression.
|
||||
|
||||
LZMA is an improved version of famous LZ77 compression algorithm.
|
||||
It was improved in way of maximum increasing of compression ratio,
|
||||
keeping high decompression speed and low memory requirements for
|
||||
decompressing.
|
||||
LZMA uses a dictionary compression algorithm (a variant of LZ77, with
|
||||
huge dictionary sizes and special support for repeatedly used match
|
||||
distances), whose output is then encoded with a range encoder, using
|
||||
a model to make a probability prediction of each bit.
|
||||
LZMA yields around 20%% better compression when operating at approximately
|
||||
zlib's speed, and around 40%% when trading more time.
|
||||
|
||||
%package devel
|
||||
Summary: Development libraries and headers for %{name}
|
||||
@ -58,11 +56,11 @@ Requires: liblzmasdk%{_maver} = %{version}
|
||||
This package contains development libraries and headers for %{name}.
|
||||
|
||||
%package -n liblzmasdk%{_maver}
|
||||
Summary: 7zip lzma library
|
||||
Summary: 7-Zip LZMA library
|
||||
Group: Productivity/Archiving/Compression
|
||||
|
||||
%description -n liblzmasdk%{_maver}
|
||||
Library for encoding/decoding lzma files from the 7zip project.
|
||||
Library for encoding/decoding LZMA files from the 7-Zip project.
|
||||
|
||||
%prep
|
||||
%setup -q -c -n lzma%{_sver}
|
||||
@ -85,18 +83,18 @@ ln -s liblzmasdk.so.%{version} liblzmasdk.so.%{_maver}
|
||||
ln -s liblzmasdk.so.%{version} liblzmasdk.so
|
||||
popd
|
||||
mkdir -p %{buildroot}/%{_includedir}/lzma%{_sver}/
|
||||
find -iname '*.h' | xargs -I {} install -m0644 -D {} %{buildroot}/%{_includedir}/lzma-sdk/{}
|
||||
find . -iname '*.h' | xargs -I {} install -m0644 -D {} %{buildroot}/%{_includedir}/lzma-sdk/{}
|
||||
|
||||
# creates support file for pkg-config
|
||||
mkdir %{buildroot}/%{_libdir}/pkgconfig
|
||||
tee %{buildroot}/%{_libdir}/pkgconfig/lzma-sdk.pc << "EOF"
|
||||
tee %{buildroot}/%{_libdir}/pkgconfig/lzma-sdk.pc <<"EOF"
|
||||
prefix=%{_prefix}
|
||||
exec_prefix=${prefix}
|
||||
libdir=${exec_prefix}/%{_lib}
|
||||
includedir=${prefix}/include
|
||||
exec_prefix=%{_prefix}
|
||||
libdir=%{_libdir}
|
||||
includedir=%{_includedir}
|
||||
|
||||
Name: lzma-sdk
|
||||
Description: SDK for lzma compression
|
||||
Description: 7-Zip implementation of LZMA compression
|
||||
Version: %{version}
|
||||
Libs: -L${libdir} -llzmasdk
|
||||
Cflags: -I${includedir}/lzma-sdk
|
||||
|
Loading…
Reference in New Issue
Block a user