File rzip.spec of Package rzip
#
# spec file for package rzip
#
# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
#
# 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: rzip
Version: 2.1
Release: 0
Summary: A large-file compression program
License: GPL-2.0+
Group: Productivity/Archiving/Compression
Url: https://rzip.samba.org
Source: https://rzip.samba.org/ftp/rzip/%{name}-%{version}.tar.gz
Patch: fill-buffer.patch
BuildRequires: libbz2-devel
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%description
rzip is a compression program, similar in functionality to gzip or
bzip2, but able to take advantage long distance redundencies in files,
which can sometimes allow rzip to produce much better compression
ratios than other programs.
%prep
%setup -q
%patch -p1
%build
%configure
make %{?_smp_mflags} CFLAGS="%{optflags}"
%install
make install INSTALL_BIN=%{buildroot}/%{_bindir} INSTALL_MAN=%{buildroot}%{_mandir}
%files
%defattr(-, root, root)
%{_bindir}/*
%{_mandir}/man*/*
%changelog