# # spec file for package pixz # # Copyright (c) 2021 SUSE LLC # # 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: pixz Version: 1.0.7 Release: 1.5 Summary: Parallel, indexing version of XZ License: BSD-2-Clause Group: Productivity/Archiving/Compression URL: https://github.com/vasi/pixz Source: https://github.com/vasi/pixz/releases/download/v%{version}/%{name}-%{version}.tar.xz BuildRequires: pkgconfig # compatibility tests run classic xz BuildRequires: xz BuildRequires: pkgconfig(libarchive) >= 2.8 BuildRequires: pkgconfig(liblzma) %description The existing XZ Utils provide great compression in the .xz file format, but they produce just one big block of compressed data. Pixz instead produces a collection of smaller blocks which makes random access to the original data possible. This is especially useful for large tarballs. Pixz supports automatic indexing and parallel compression and decompression using all available CPU cores. %prep %setup -q %build export CFLAGS="%{optflags} -fcommon" %configure %make_build %install %make_install mkdir -p %{buildroot}/%{_mandir}/man1 install -c -m 644 src/pixz.1 %{buildroot}/%{_mandir}/man1 %check %make_build check %files %license LICENSE %doc NEWS TODO README.md %{_bindir}/pixz %{_mandir}/man1/pixz.1%{?ext_man} %changelog * Tue Jan 26 2021 Andreas Stieger - pixz 1.0.7: * Fix memory corruption error * Fix decompressing large files on 32-bit systems * Avoid unaligned memory access * Thu Jun 11 2020 Martin Pluskal - Fix building with gcc10 - Simplify spec file * Mon Jun 19 2017 astieger@suse.com - Fix test suite on RHEL 5 * Mon Jun 19 2017 mpluskal@suse.com - Enable testsuite * Wed Jun 22 2016 astieger@suse.com - fix build with current libarchive in CentOS/RHEL: link libbz2 * Wed Nov 18 2015 astieger@suse.com - pixz 1.0.6: * fixes large file support for listing * Mon Sep 21 2015 astieger@suse.com - pixz 1.0.5: * add htole64 and le64toh on glibc < 2.9 replacing local patch pixz-endianess-functions.patch * Sat Sep 19 2015 astieger@suse.com - pixz 1.0.4: * move manpage generation to bootstrap - pixz 1.0.3: * complete autotools build * large-file support for 32-bit systems * creates output file with permissions of input file (if possible, i.e. not reading from stdin) * better error messages on incorrect input path * list main differences between pixz and xz in README * fix issue with extreme (-e) command line option parsing * adds keep input (-k) command line option - packaging changes: * drop pixz-underlinking.patch, no longer required with autotools * remove pixz-use-static.patch, now using configure * tweaks to build on CentOS and RHEL * Tue Oct 28 2014 andreas.stieger@gmx.de - support build on CentOS 7 * Sun Nov 24 2013 andreas.stieger@gmx.de - support building on CentOS/RHEL, statically linking against libarchive and xz (pixz-use-static.patch) and patching in missing endianess functions (pixz-endianess-functions.patch) * Wed Jan 9 2013 idonmez@suse.com - Update to version 1.0.2 * Fix a crashing bug when input is incompressible https://github.com/vasi/pixz/issues/10 * Add a man page * Add tuning options -e, -q, -f - Add pixz-underlinking.patch to explicitly link to -lm * Tue Nov 27 2012 sweet_f_a@gmx.de - update to first official release 1.0 * Support streaming input, still decompressing in parallel * Platform independent endian support * Allow capping the number of threads (new switch -p) * Add help option (-h) * Write the compressed/uncompressed size into block headers * Sat Sep 22 2012 idonmez@suse.com - Update to git snapshot c5f99bf4b4 * Removed pixz-link-pthread.patch, fixed upstream. * 32bit fix * Sat Sep 1 2012 idonmez@suse.com - Initial release