2015-04-12 09:53:25 +00:00
|
|
|
#
|
|
|
|
|
# spec file for package lrzip
|
|
|
|
|
#
|
2023-04-28 09:40:39 +00:00
|
|
|
# Copyright (c) 2023 SUSE LLC
|
2012-03-08 21:19:27 +00:00
|
|
|
# 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.
|
|
|
|
|
|
2021-03-08 08:55:05 +00:00
|
|
|
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
2015-04-12 09:53:25 +00:00
|
|
|
#
|
|
|
|
|
|
2012-03-08 21:19:27 +00:00
|
|
|
|
2015-04-12 09:53:25 +00:00
|
|
|
Name: lrzip
|
2023-04-28 09:40:39 +00:00
|
|
|
Version: 0.651
|
2010-11-14 00:03:24 +00:00
|
|
|
Release: 0
|
|
|
|
|
Summary: Very High Ratio and Speed Compression Designed for Large Files
|
2021-03-08 08:55:05 +00:00
|
|
|
License: GPL-2.0-only
|
|
|
|
|
URL: http://ck.kolivas.org/apps/lrzip/
|
|
|
|
|
Source: http://ck.kolivas.org/apps/lrzip/lrzip-%{version}.tar.xz
|
2023-04-28 06:08:21 +00:00
|
|
|
# PATCH-FIX-UPSTREAM https://github.com/ckolivas/lrzip/pull/243
|
|
|
|
|
Patch0: fixasmstack.patch
|
2018-04-13 08:32:09 +00:00
|
|
|
BuildRequires: doxygen
|
2015-04-12 09:53:25 +00:00
|
|
|
BuildRequires: gcc-c++
|
|
|
|
|
BuildRequires: lzo-devel
|
|
|
|
|
BuildRequires: nasm
|
2018-04-13 08:32:09 +00:00
|
|
|
BuildRequires: pkgconfig
|
|
|
|
|
BuildRequires: pkgconfig(bzip2)
|
2021-03-08 08:55:05 +00:00
|
|
|
BuildRequires: pkgconfig(liblz4)
|
2018-04-13 08:32:09 +00:00
|
|
|
BuildRequires: pkgconfig(zlib)
|
|
|
|
|
Conflicts: rzsz
|
2007-05-30 22:06:16 +00:00
|
|
|
|
|
|
|
|
%description
|
|
|
|
|
LRZIP is a compression program that can achieve very high compression
|
|
|
|
|
ratios and speed when used with large files. It uses the combined compression
|
|
|
|
|
algorithms of lzma for maximum compression, lzo for maximum speed, and the long
|
|
|
|
|
range redundancy reduction of rzip. It is designed to scale with increases
|
|
|
|
|
with RAM size, improving compression further. A choice of either size or
|
|
|
|
|
speed optimizations allows for either better compression than even lzma can
|
|
|
|
|
provide, or better speed than gzip, but with bzip2 sized compression levels.
|
|
|
|
|
|
|
|
|
|
%prep
|
2023-04-28 09:40:39 +00:00
|
|
|
%autosetup -p1
|
2007-05-30 22:06:16 +00:00
|
|
|
|
|
|
|
|
%build
|
2023-05-02 09:42:43 +00:00
|
|
|
%configure \
|
|
|
|
|
%ifnarch %{ix86} x86_64
|
|
|
|
|
--disable-asm \
|
|
|
|
|
%endif
|
|
|
|
|
|
2021-03-08 08:55:05 +00:00
|
|
|
%make_build
|
2007-05-30 22:06:16 +00:00
|
|
|
|
|
|
|
|
%install
|
2018-04-13 08:32:09 +00:00
|
|
|
%make_install
|
2015-04-12 09:53:25 +00:00
|
|
|
rm -rf "%{buildroot}%{_datadir}/doc"
|
|
|
|
|
rm doc/Makefile*
|
|
|
|
|
chmod 0644 README* COPYING doc/README*
|
2007-05-30 22:06:16 +00:00
|
|
|
|
|
|
|
|
%files
|
2021-03-08 08:55:05 +00:00
|
|
|
%license COPYING
|
|
|
|
|
%doc AUTHORS ChangeLog README* TODO WHATS-NEW
|
2008-03-21 11:42:42 +00:00
|
|
|
%doc doc/*
|
2021-03-08 08:55:05 +00:00
|
|
|
%{_bindir}/*
|
|
|
|
|
%{_mandir}/man?/*.?%{?ext_man}
|
2018-04-13 08:32:09 +00:00
|
|
|
|
2012-03-08 21:20:22 +00:00
|
|
|
%changelog
|