%global forgeurl https://github.com/fdupoux/fsarchiver %global version %(date +%Y%m%d) %global commit 6a6d641b7362a00bd91836f6f7bd12c510c5f2e1 %global _forgeversionsuffix %{scm}%(printf %.7s %{commit}) %forgemeta Name: fsarchiver Version: %{forgeversion} Release: %{autorelease} Summary: Safe and flexible file-system backup/deployment tool # Automatically converted from old format: GPLv2 - review is highly recommended. License: GPL-2.0-only URL: http://www.fsarchiver.org Source0: %{forgesource} BuildRequires: gcc BuildRequires: e2fsprogs-devel => 1.41.4 BuildRequires: libuuid-devel BuildRequires: libblkid-devel BuildRequires: e2fsprogs BuildRequires: libattr-devel BuildRequires: libgcrypt-devel BuildRequires: zlib-devel BuildRequires: bzip2-devel BuildRequires: lzo-devel BuildRequires: xz-devel BuildRequires: lz4-devel BuildRequires: libzstd-devel BuildRequires: make BuildRequires: autoconf BuildRequires: automake %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 lose the current file, not the whole archive. %prep %forgesetup ./autogen.sh %build %configure %{make_build} %install %{make_install} %files %doc README THANKS NEWS %license COPYING %{_sbindir}/%{name} %{_mandir}/man8/%{name}*