File fsarchiver.spec of Package fsarchiver

# spec file for package fsarchiver
# Copyright (c) 2016 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

Name:           fsarchiver
Version:        0.6.21
Release:        0
Summary:        Filesystem Archiver
License:        GPL-2.0
Group:          Productivity/Archiving/Backup
Source1:        HOWTO
# PATCH-FIX-UPSTREAM Remove conflicting uses of reserved identifiers
Patch0:         fsarchiver-types.patch
Patch1:         fsarchiver-attr.patch
BuildRequires:  e2fsprogs-devel
BuildRequires:  libgcrypt-devel
BuildRequires:  libtool
BuildRequires:  lzo-devel
BuildRequires:  pkg-config
BuildRequires:  pkgconfig(bzip2)
BuildRequires:  pkgconfig(liblzma)
BuildRequires:  pkgconfig(zlib)
BuildRoot:      %{_tmppath}/%{name}-%{version}-build

FSArchiver is a system tool that allows you to save the contents of
a file-system to a compressed archive file. The file-system can be
restored on a partition which has a different size and it can be
restored on a different file-system. Unlike tar/dar, FSArchiver also
creates the file-system when it extracts the data to partitions.
Everything is checksummed in the archive in order to protect the data.
If the archive is corrupt, you just loose the current file, not
the whole archive.

%setup -q
%patch0 -p1
%patch1 -p1
cp -p %{SOURCE1} .

autoreconf -fiv
make %{?_smp_mflags} V=1