Name: bdsync Summary: Remote sync for block devices Version: 0.10.2 Release: 2%{?dist} License: GPLv2 Source: https://github.com/TargetHolding/%{name}/archive/v%{version}/%{name}-%{version}.tar.gz URL: http://bdsync.rolf-fokkens.nl/ Patch1: bdsync-0.10-buildflags.patch BuildRequires: gcc BuildRequires: openssl-devel BuildRequires: pandoc %description Bdsync can be used to synchronize block devices over a network. It generates a "binary patchfile" in an efficient way by comparing MD5 checksums of 32k blocks of the local block device LOCDEV and the remote block device REMDEV. This binary patchfile can be sent to the remote machine and applied to its block device DSTDEV, after which the local blockdev LOCDEV and the remote block device REMDEV are synchronized. bdsync was built to do the only thing rsync isn't able to do: synchronize block devices. %prep %setup -q %patch1 -p1 %build %set_build_flags %make_build %check make test %install mkdir -p %{buildroot}/%{_bindir} mkdir -p %{buildroot}/%{_mandir}/man1 cp %{name} %{buildroot}/%{_bindir}/%{name} cp %{name}.1 %{buildroot}/%{_mandir}/man1/%{name}.1 %files %if 0%{?fedora} %license COPYING %else %doc COPYING %endif %doc README.md %{_bindir}/%{name} %{_mandir}/man1/%{name}.1* %changelog * Fri Feb 08 2019 Michael Hampton 0.10.2-2 - Improvements from Fedora package review (BZ#1402656) - Patch to use Fedora build flags (BZ#1583329) * Thu Feb 07 2019 Michael Hampton 0.10.2-1 - Rebase to 0.10.2 * Thu Dec 08 2016 Michael Hampton 0.10-2 - General cleanup to meet Fedora/EPEL package guidelines - Added new description from upstream * Wed Dec 07 2016 Michael Hampton 0.10-1 - Update to upstream 0.10 * Thu May 07 2015 Michael Hampton 0.9-1 - Various cleanups, based on upstream spec file * Tue Jan 20 2015 Rolf Fokkens - rebased on github 0.8 * Thu Oct 02 2014 Rolf Fokkens - rebased on github 0.7 * Thu Jun 28 2012 Rolf Fokkens - bump release (0.3) * Sun Jun 24 2012 Rolf Fokkens - initial package (0.1)