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
|
Thu May 11 06:30:24 UTC 2017 - aloisio@gmx.com
|
||||||
|
|
||||||
|
@ -21,7 +21,7 @@
|
|||||||
Name: lzma-sdk
|
Name: lzma-sdk
|
||||||
Version: 16.04
|
Version: 16.04
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: SDK for lzma compression
|
Summary: An implementation of LZMA compression
|
||||||
# Actually the site says "Public Domain". See license file.
|
# Actually the site says "Public Domain". See license file.
|
||||||
License: LGPL-2.1
|
License: LGPL-2.1
|
||||||
Group: Productivity/Archiving/Compression
|
Group: Productivity/Archiving/Compression
|
||||||
@ -37,17 +37,15 @@ BuildRequires: pkg-config
|
|||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||||
|
|
||||||
%description
|
%description
|
||||||
LZMA SDK provides the documentation, samples, header files, libraries,
|
LZMA SDK provides documentation, samples, header files, libraries,
|
||||||
and tools you need to develop applications that use LZMA compression.
|
and tools for developing applications with LZMA support.
|
||||||
|
|
||||||
LZMA is default and general compression method of 7z format
|
LZMA uses a dictionary compression algorithm (a variant of LZ77, with
|
||||||
in 7-Zip compression program (www.7-zip.org). LZMA provides high
|
huge dictionary sizes and special support for repeatedly used match
|
||||||
compression ratio and very fast decompression.
|
distances), whose output is then encoded with a range encoder, using
|
||||||
|
a model to make a probability prediction of each bit.
|
||||||
LZMA is an improved version of famous LZ77 compression algorithm.
|
LZMA yields around 20%% better compression when operating at approximately
|
||||||
It was improved in way of maximum increasing of compression ratio,
|
zlib's speed, and around 40%% when trading more time.
|
||||||
keeping high decompression speed and low memory requirements for
|
|
||||||
decompressing.
|
|
||||||
|
|
||||||
%package devel
|
%package devel
|
||||||
Summary: Development libraries and headers for %{name}
|
Summary: Development libraries and headers for %{name}
|
||||||
@ -58,11 +56,11 @@ Requires: liblzmasdk%{_maver} = %{version}
|
|||||||
This package contains development libraries and headers for %{name}.
|
This package contains development libraries and headers for %{name}.
|
||||||
|
|
||||||
%package -n liblzmasdk%{_maver}
|
%package -n liblzmasdk%{_maver}
|
||||||
Summary: 7zip lzma library
|
Summary: 7-Zip LZMA library
|
||||||
Group: Productivity/Archiving/Compression
|
Group: Productivity/Archiving/Compression
|
||||||
|
|
||||||
%description -n liblzmasdk%{_maver}
|
%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
|
%prep
|
||||||
%setup -q -c -n lzma%{_sver}
|
%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
|
ln -s liblzmasdk.so.%{version} liblzmasdk.so
|
||||||
popd
|
popd
|
||||||
mkdir -p %{buildroot}/%{_includedir}/lzma%{_sver}/
|
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
|
# creates support file for pkg-config
|
||||||
mkdir %{buildroot}/%{_libdir}/pkgconfig
|
mkdir %{buildroot}/%{_libdir}/pkgconfig
|
||||||
tee %{buildroot}/%{_libdir}/pkgconfig/lzma-sdk.pc <<"EOF"
|
tee %{buildroot}/%{_libdir}/pkgconfig/lzma-sdk.pc <<"EOF"
|
||||||
prefix=%{_prefix}
|
prefix=%{_prefix}
|
||||||
exec_prefix=${prefix}
|
exec_prefix=%{_prefix}
|
||||||
libdir=${exec_prefix}/%{_lib}
|
libdir=%{_libdir}
|
||||||
includedir=${prefix}/include
|
includedir=%{_includedir}
|
||||||
|
|
||||||
Name: lzma-sdk
|
Name: lzma-sdk
|
||||||
Description: SDK for lzma compression
|
Description: 7-Zip implementation of LZMA compression
|
||||||
Version: %{version}
|
Version: %{version}
|
||||||
Libs: -L${libdir} -llzmasdk
|
Libs: -L${libdir} -llzmasdk
|
||||||
Cflags: -I${includedir}/lzma-sdk
|
Cflags: -I${includedir}/lzma-sdk
|
||||||
|
Loading…
Reference in New Issue
Block a user