forked from pool/lzlib
Accepting request 178356 from devel:libraries:c_c++
Moving to Archiving OBS-URL: https://build.opensuse.org/request/show/178356 OBS-URL: https://build.opensuse.org/package/show/Archiving/lzlib?expand=0&rev=1
This commit is contained in:
commit
4cd4a00230
23
.gitattributes
vendored
Normal file
23
.gitattributes
vendored
Normal file
@ -0,0 +1,23 @@
|
|||||||
|
## Default LFS
|
||||||
|
*.7z filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.bsp filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.bz2 filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.gem filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.gz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.jar filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.lz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.lzma filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.obscpio filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.oxt filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.pdf filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.png filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.rpm filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.tbz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.tbz2 filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.tgz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.ttf filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.txz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.whl filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.xz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.zip filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.zst filter=lfs diff=lfs merge=lfs -text
|
1
.gitignore
vendored
Normal file
1
.gitignore
vendored
Normal file
@ -0,0 +1 @@
|
|||||||
|
.osc
|
3
lzlib-1.4.tar.lz
Normal file
3
lzlib-1.4.tar.lz
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:a6e7c5e84b49f66fa794867f6839f69cbd908816a12ec154849c4a70b02fdf30
|
||||||
|
size 80397
|
BIN
lzlib-1.4.tar.lz.sig
Normal file
BIN
lzlib-1.4.tar.lz.sig
Normal file
Binary file not shown.
62
lzlib.changes
Normal file
62
lzlib.changes
Normal file
@ -0,0 +1,62 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed Jun 5 21:42:17 UTC 2013 - jengelh@inai.de
|
||||||
|
|
||||||
|
- Update to new upstream release 1.4
|
||||||
|
* Compression ratio has been slightly increased.
|
||||||
|
* Compression time has been reduced by 8%.
|
||||||
|
* Decompression time has been reduced by 7%.
|
||||||
|
* Arguments and return values of functions in lzlib.h have been
|
||||||
|
changed from "long long" to "unsigned long long".
|
||||||
|
* "LZ_decompress_read" now tells "header error" from "unexpected
|
||||||
|
eof" the same way as lzip does when the EOF happens at the header.
|
||||||
|
- Do signature verification
|
||||||
|
- Base name of devel package on main name
|
||||||
|
- Remove static libraries from installation
|
||||||
|
- Wrap description at 70 cols
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Thu Apr 12 07:29:52 UTC 2012 - pascal.bleser@opensuse.org
|
||||||
|
|
||||||
|
- update to 1.3:
|
||||||
|
* Lzlib has been translated to C from the C++ source of lzlib 1.2. This has
|
||||||
|
been done to avoid the dependency on libstdc++, making lzlib useful in more
|
||||||
|
environments
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Sun Jan 29 20:41:45 UTC 2012 - jengelh@medozas.de
|
||||||
|
|
||||||
|
- Remove redundant tags/sections per specfile guideline suggestions
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Thu Oct 27 20:23:41 UTC 2011 - pascal.bleser@opensuse.org
|
||||||
|
|
||||||
|
- update to 1.2:
|
||||||
|
* for large values of "--match-length", compression ratio has been slightly
|
||||||
|
increased and compression time has been reduced by up to 6%
|
||||||
|
* the option "-F, --recompress", which forces recompression of files whose
|
||||||
|
name already has the ".lz" or ".tlz" suffix, has been added to minilzip
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed Dec 8 23:10:23 UTC 2010 - pascal.bleser@opensuse.org
|
||||||
|
|
||||||
|
- update to 1.0:
|
||||||
|
* new functions: LZ_decompress_member_finished, LZ_decompress_member_version,
|
||||||
|
LZ_decompress_dictionary_size, LZ_decompress_data_crc
|
||||||
|
* variables declared "extern" have been encapsulated in a namespace
|
||||||
|
* a warning about fchown's return value being ignored has been fixed
|
||||||
|
* input_buffer has been integrated in Range_decoder, simplifying the code and
|
||||||
|
making decompression slightly faster
|
||||||
|
|
||||||
|
- SONAME changed from 0 to 1
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon Feb 15 13:57:02 UTC 2010 - pascal.bleser@opensuse.org
|
||||||
|
|
||||||
|
- update to 0.9:
|
||||||
|
* compression time has been reduced by 8%
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue Jan 19 10:18:48 UTC 2010 - pascal.bleser@opensuse.org
|
||||||
|
|
||||||
|
- initial package (0.8)
|
||||||
|
|
32
lzlib.keyring
Normal file
32
lzlib.keyring
Normal file
@ -0,0 +1,32 @@
|
|||||||
|
pub 1024D/132D7742 2003-09-17
|
||||||
|
uid Antonio Diaz Diaz <antonio@gnu.org>
|
||||||
|
uid Antonio Diaz <ant_diaz@teleline.es>
|
||||||
|
sub 1024g/754578DA 2003-09-17
|
||||||
|
|
||||||
|
-----BEGIN PGP PUBLIC KEY BLOCK-----
|
||||||
|
Version: GnuPG v2.0.19 (GNU/Linux)
|
||||||
|
|
||||||
|
mQGiBD9odIARBADkRI3Qc2qWpoxOFBlD8L5JaQlIEAaPI/19Y/z4ORHESY6s2Tfm
|
||||||
|
EtC51vlu8V/hXX8Sh4OZC3CrBIwhvSyIVIXbas+GR09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wt4ZOl+wsmXRG9d6iDXdgVfThuXY009lY6TRUHlPW
|
||||||
|
CCe4zkjsRV0Sq9qy0wADBQQAh3FFwHKq2M9qfuykxlhMpDt2CbeiwnIeMpOHwXoV
|
||||||
|
cG8ahfxlaT1J9RnKIkzMJ9KSueyqWvjGrDfWAmoFbXgQ/rv82qmEMwKwmg75kzkt
|
||||||
|
elVlFMicqX1N1KT1Ttce0UAxuxd1Vi/SfMzJLbc0s4fHDdfnVZH7fgq+SM9F0DHc
|
||||||
|
qnuITgQYEQIABgUCP2h0kgASCRCP6ZUDEy13QgdlR1BHAAEBaHYAn1bocEx8GNyk
|
||||||
|
RG/RBe2octjFEFlNAKCMIurPIOzYo20sBAq7kIR9x8qvwQ==
|
||||||
|
=pg7M
|
||||||
|
-----END PGP PUBLIC KEY BLOCK-----
|
126
lzlib.spec
Normal file
126
lzlib.spec
Normal file
@ -0,0 +1,126 @@
|
|||||||
|
# vim: set ts=4 sw=4 et:
|
||||||
|
|
||||||
|
# Copyright (c) 2012 Pascal Bleser <pascal.bleser@opensuse.org>
|
||||||
|
#
|
||||||
|
# All modifications and additions to the file contributed by third parties
|
||||||
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
|
# upon. The license for this file, and modifications and additions to the
|
||||||
|
# file, is the same license as for the pristine package itself (unless the
|
||||||
|
# license for the pristine package is not an Open Source License, in which
|
||||||
|
# case the license is the MIT License). An "Open Source License" is a
|
||||||
|
# license that conforms to the Open Source Definition (Version 1.9)
|
||||||
|
# published by the Open Source Initiative.
|
||||||
|
|
||||||
|
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
||||||
|
|
||||||
|
Name: lzlib
|
||||||
|
Version: 1.4
|
||||||
|
%define soname 1
|
||||||
|
Release: 0
|
||||||
|
Summary: LZMA Compression and Decompression Library
|
||||||
|
URL: http://www.nongnu.org/lzip/lzlib.html
|
||||||
|
Group: Development/Libraries/C and C++
|
||||||
|
License: GPL-3.0+
|
||||||
|
|
||||||
|
#Freecode-URL: http://freecode.com/projects/lzlib
|
||||||
|
Source: http://download-mirror.savannah.gnu.org/releases/lzip/%name-%version.tar.lz
|
||||||
|
Source2: http://download-mirror.savannah.gnu.org/releases/lzip/%name-%version.tar.lz.sig
|
||||||
|
Source3: %name.keyring
|
||||||
|
BuildRoot: %{_tmppath}/build-%{name}-%{version}
|
||||||
|
BuildRequires: gcc make glibc-devel lzip
|
||||||
|
%if 0%{?suse_version} >= 1230
|
||||||
|
BuildRequires: gpg-offline
|
||||||
|
%endif
|
||||||
|
PreReq: %install_info_prereq
|
||||||
|
|
||||||
|
%description
|
||||||
|
The lzlib compression library provides in-memory LZMA compression and
|
||||||
|
decompression functions, including integrity checking of the
|
||||||
|
decompressed data. The compressed data format used by the library is
|
||||||
|
the lzip format.
|
||||||
|
|
||||||
|
%package -n liblz%{soname}
|
||||||
|
Summary: LZMA Compression and Decompression Library
|
||||||
|
Group: System/Libraries
|
||||||
|
|
||||||
|
%description -n liblz%{soname}
|
||||||
|
The lzlib compression library provides in-memory LZMA compression and
|
||||||
|
decompression functions, including integrity checking of the
|
||||||
|
decompressed data. The compressed data format used by the library is
|
||||||
|
the lzip format.
|
||||||
|
|
||||||
|
%package devel
|
||||||
|
Summary: LZMA Compression and Decompression Library
|
||||||
|
Group: Development/Libraries/C and C++
|
||||||
|
Requires: liblz%{soname} = %{version}
|
||||||
|
Obsoletes: lzlib-devel < %version-%release
|
||||||
|
Provides: lzlib-devel = %version-%release
|
||||||
|
|
||||||
|
%description devel
|
||||||
|
The lzlib compression library provides in-memory LZMA compression and
|
||||||
|
decompression functions, including integrity checking of the
|
||||||
|
decompressed data. The compressed data format used by the library is
|
||||||
|
the lzip format.
|
||||||
|
|
||||||
|
This subpackage contains libraries and header files for developing
|
||||||
|
applications that want to make use of libcerror.
|
||||||
|
|
||||||
|
%prep
|
||||||
|
%{?gpg_verify: %gpg_verify %{S:2}}
|
||||||
|
%if 0%{?__lzip:1}
|
||||||
|
%setup -q
|
||||||
|
%else
|
||||||
|
tar --use=lzip -xf "%{S:0}"
|
||||||
|
%setup -DTq
|
||||||
|
%endif
|
||||||
|
|
||||||
|
%build
|
||||||
|
# not autoconf!
|
||||||
|
# don't use the configure macro here, as it will cause the configure script to
|
||||||
|
# skip parameters as soon as it encounters one that it doesn't understand
|
||||||
|
./configure \
|
||||||
|
--prefix="%{_prefix}" \
|
||||||
|
--bindir="%{_bindir}" \
|
||||||
|
--datadir="%{_datadir}" \
|
||||||
|
--includedir="%{_includedir}" \
|
||||||
|
--infodir="%{_infodir}" \
|
||||||
|
--libdir="%{_libdir}" \
|
||||||
|
--mandir="%{_mandir}" \
|
||||||
|
--sysconfdir="%{_sysconfdir}" \
|
||||||
|
--enable-shared \
|
||||||
|
CXX="%__cxx" \
|
||||||
|
CPPFLAGS="%{optflags}" \
|
||||||
|
CXXFLAGS="%{optflags}"
|
||||||
|
|
||||||
|
%__make %{?_smp_flags}
|
||||||
|
|
||||||
|
%install
|
||||||
|
%__make DESTDIR="%{buildroot}" LDCONFIG=echo install
|
||||||
|
# configure had no --disable-static
|
||||||
|
rm -f "%buildroot/%_libdir"/*.a
|
||||||
|
|
||||||
|
%check
|
||||||
|
%__make check
|
||||||
|
|
||||||
|
%post -n liblz%{soname} -p /sbin/ldconfig
|
||||||
|
%postun -n liblz%{soname} -p /sbin/ldconfig
|
||||||
|
|
||||||
|
%post devel
|
||||||
|
%install_info --info-dir="%{_infodir}" "%{_infodir}/%{name}".info%{ext_info}
|
||||||
|
|
||||||
|
%postun devel
|
||||||
|
%install_info_delete --info-dir="%{_infodir}" "%{_infodir}/%{name}".info%{ext_info}
|
||||||
|
|
||||||
|
%files -n liblz%{soname}
|
||||||
|
%defattr(-,root,root)
|
||||||
|
%doc AUTHORS ChangeLog COPYING NEWS README
|
||||||
|
%{_libdir}/liblz.so.%{soname}
|
||||||
|
%{_libdir}/liblz.so.%{soname}.*
|
||||||
|
|
||||||
|
%files devel
|
||||||
|
%defattr(-,root,root)
|
||||||
|
%{_includedir}/lzlib.h
|
||||||
|
%{_libdir}/liblz.so
|
||||||
|
%doc %{_infodir}/lzlib.info%{ext_info}
|
||||||
|
|
||||||
|
%changelog
|
Loading…
x
Reference in New Issue
Block a user