- update to 1.9: * main.cc (main): Report an error if a file name is empty. Make '-o' behave like '-c', but writing to file instead of stdout. Make '-c' and '-o' check whether the output is a terminal only once. Do not open output if input is a terminal. * main.cc: New option '--check-lib'. * Replace 'decompressed', 'compressed' with 'out', 'in' in output. * decompress.cc, dec_stream.cc, dec_stdout.cc: Continue testing if any input file fails the test. Show the largest dictionary size in a multimember file. * main.cc: Show final diagnostic when testing multiple files. * decompress.cc, dec_stream.cc [LZ_API_VERSION >= 1012]: Avoid copying decompressed data when testing with lzlib 1.12 or newer. * compress.cc, dec_stream.cc: Start only the worker threads required. * dec_stream.cc: Splitter stops reading when trailing data is found. Don't include trailing data in the compressed size shown. Use plain comparison instead of Boyer-Moore to search for headers. * lzip_index.cc: Improve messages for corruption in last header. * decompress.cc: Shorten messages 'Data error' and 'Unexpected EOF'. * main.cc: Set a valid invocation_name even if argc == 0. * Document extraction from tar.lz in manual, '--help', and man page. * plzip.texi (Introduction): Mention tarlz as an alternative. * plzip.texi: Several fixes and improvements. * testsuite: Add 8 new test files. OBS-URL: https://build.opensuse.org/request/show/878627 OBS-URL: https://build.opensuse.org/package/show/Archiving/plzip?expand=0&rev=29
85 lines
2.6 KiB
RPMSpec
85 lines
2.6 KiB
RPMSpec
#
|
|
# spec file for package plzip
|
|
#
|
|
# Copyright (c) 2021 SUSE LLC
|
|
# 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 https://bugs.opensuse.org/
|
|
#
|
|
|
|
|
|
Name: plzip
|
|
Version: 1.9
|
|
Release: 0
|
|
Summary: Parallel LZMA Data Compressor
|
|
License: GPL-2.0-or-later
|
|
Group: Productivity/Archiving/Compression
|
|
URL: https://www.nongnu.org/lzip/plzip.html
|
|
Source: https://download.savannah.gnu.org/releases/lzip/plzip/%{name}-%{version}.tar.gz
|
|
Source2: https://download.savannah.gnu.org/releases/lzip/plzip/%{name}-%{version}.tar.gz.sig
|
|
Source3: %name.keyring
|
|
BuildRequires: c++_compiler
|
|
BuildRequires: lzlib-devel
|
|
Requires(post): %install_info_prereq
|
|
Requires(preun): %install_info_prereq
|
|
|
|
%description
|
|
Plzip is a parallel version of the lzip data compressor. The files
|
|
produced by plzip are fully compatible with lzip-1.4 or newer. Plzip
|
|
is intended for faster compression/decompression of big files on
|
|
multiprocessor machines.
|
|
|
|
Lzip is a lossless data compressor based on the LZMA algorithm, with
|
|
very safe integrity checking and a user interface similar to the one
|
|
of gzip or bzip2. Lzip decompresses almost as fast as gzip and
|
|
compresses better than bzip2, which makes it well suited for software
|
|
distribution and data archiving.
|
|
|
|
%prep
|
|
%autosetup -p1
|
|
|
|
%build
|
|
mkdir build
|
|
pushd build/
|
|
# not autoconf
|
|
../configure --prefix="%_prefix" --bindir="%_bindir" --datadir="%_datadir" \
|
|
--includedir="%_includedir" --infodir="%_infodir" --libdir="%_libdir" \
|
|
--mandir="%_mandir" --sysconfdir="%_sysconfdir" --enable-shared \
|
|
CC="gcc" CFLAGS="%optflags" CXX="g++" CXXFLAGS="%optflags"
|
|
%make_build
|
|
popd
|
|
|
|
%install
|
|
pushd build/
|
|
%make_install LDCONFIG=true
|
|
popd
|
|
|
|
%check
|
|
pushd build/
|
|
%make_build check
|
|
popd
|
|
|
|
%post
|
|
%install_info --info-dir="%_infodir" "%_infodir/%{name}.info%ext_info"
|
|
|
|
%preun
|
|
%install_info_delete --info-dir="%_infodir" "%_infodir/%name.info%ext_info"
|
|
|
|
%files
|
|
%license COPYING
|
|
%doc AUTHORS ChangeLog NEWS README
|
|
%_bindir/plzip
|
|
%_infodir/plzip.info%{?ext_info}
|
|
%_mandir/man1/plzip.1%{?ext_man}
|
|
|
|
%changelog
|