%global forgeurl https://github.com/fdupoux/fsarchiver %global version %(date +%Y%m%d) %global commit 0cb18032a8016fc73027e299f43591b2701aef1f %global _forgeversionsuffix %{scm}%(printf %.7s %{commit}) %global source_date_epoch_from_changelog 0 %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: %{forgeurl} 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 %forgeautosetup ./autogen.sh %build %configure %{make_build} %install %{make_install} %files %doc README THANKS NEWS %license COPYING %{_sbindir}/%{name} %{_mandir}/man8/%{name}*