File btar.spec of Package btar

# spec file for package btar
# Copyright (c) 2020 SUSE LLC
# Copyright (c) 2012 Pascal Bleser <>
# 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

Name:           btar
Version:        1.1.1
Release:        0
Summary:        Featureful tar-Compatible Archiver and Compressor
License:        GPL-3.0-or-later
Group:          Productivity/Archiving/Backup
# pbleser: fix various things about the Makefile, such as proper place of LFLAGS,
# overridable OPTFLAGS, DESTDIR support
Patch1:         btar-makefile.patch
Patch2:         btar-librsync.patch
BuildRequires:  librsync-devel

btar is a tar-compatible archiver which allows arbitrary compression and
ciphering, redundancy, differential backup, indexed extraction, multicore
compression, input and output serialisation, and tolerance to partial
archive errors.

%autosetup -p1

%make_build OPTFLAGS="%{optflags} -fcommon -D_GNU_SOURCE" \

%make_install PREFIX="%{_prefix}"

%license COPYING
%doc AUTHORS doc/*

openSUSE Build Service is sponsored by