forked from pool/fsarchiver
8823ff9de7
fix SLE build OBS-URL: https://build.opensuse.org/request/show/204852 OBS-URL: https://build.opensuse.org/package/show/Archiving:Backup/fsarchiver?expand=0&rev=18
75 lines
2.3 KiB
RPMSpec
75 lines
2.3 KiB
RPMSpec
#
|
|
# spec file for package fsarchiver
|
|
#
|
|
# Copyright (c) 2013 SUSE LINUX Products 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: fsarchiver
|
|
Version: 0.6.17
|
|
Release: 0
|
|
Summary: Filesystem Archiver
|
|
License: GPL-2.0
|
|
Group: Productivity/Archiving/Backup
|
|
Url: http://www.fsarchiver.org
|
|
Source0: http://downloads.sourceforge.net/%{name}/%{name}-%{version}.tar.gz
|
|
Source1: HOWTO
|
|
# PATCH-FIX-UPSTREAM Remove conflicting uses of reserved identifiers
|
|
Patch0: fsarchiver-types.patch
|
|
BuildRequires: e2fsprogs-devel
|
|
BuildRequires: libattr-devel
|
|
BuildRequires: libgcrypt-devel
|
|
BuildRequires: lzo-devel
|
|
BuildRequires: pkg-config
|
|
%if 0%{?suse_version} >= 1210
|
|
BuildRequires: pkgconfig(bzip2)
|
|
BuildRequires: pkgconfig(liblzma)
|
|
BuildRequires: pkgconfig(zlib)
|
|
%else
|
|
BuildRequires: libbz2-devel
|
|
BuildRequires: xz-devel
|
|
BuildRequires: zlib-devel
|
|
%endif
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|
|
|
%description
|
|
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.
|
|
|
|
%prep
|
|
%setup -q
|
|
%patch0 -p1
|
|
cp %{SOURCE1} .
|
|
|
|
%build
|
|
%configure
|
|
make %{?_smp_mflags}
|
|
|
|
%install
|
|
%makeinstall
|
|
|
|
%files
|
|
%defattr(-,root,root,-)
|
|
%doc ChangeLog COPYING HOWTO NEWS README THANKS
|
|
%{_sbindir}/%{name}
|
|
%doc %{_mandir}/man?/*
|
|
|
|
%changelog
|