diff --git a/rsync-bpc.spec b/rsync-bpc.spec new file mode 100644 index 0000000..706007e --- /dev/null +++ b/rsync-bpc.spec @@ -0,0 +1,69 @@ +%global ver_major 3 +%global ver_minor 0 +%global ver_patch 9 +%global ver_tweak 8 +%global ver_under %{ver_major}_%{ver_minor}_%{ver_patch}_%{ver_tweak} + + +Name: rsync-bpc +Version: %{ver_major}.%{ver_minor}.%{ver_patch}.%{ver_tweak} +Release: 1%{?dist} +Summary: A customized version of rsync that is used as part of BackupPC + +License: GPLv3+ +URL: https://github.com/backuppc/rsync-bpc +Source0: https://github.com/backuppc/rsync-bpc/archive/v%{ver_under}/%{name}-%{version}.tar.gz + +BuildRequires: autoconf +BuildRequires: gcc +BuildRequires: libacl-devel +BuildRequires: libattr-devel +BuildRequires: popt-devel + + +%description +Rsync-bpc is a customized version of rsync that is used as part of +BackupPC, an open source backup system. + +The main change to rsync is adding a shim layer (in the subdirectory +backuppc, and in bpc_sysCalls.c) that emulates the system calls for +accessing the file system so that rsync can directly read/write files +in BackupPC's format. + +Rsync-bpc is fully line-compatible with vanilla rsync, so it can talk +to rsync servers and clients. + +Rsync-bpc serves no purpose outside of BackupPC. + + +%prep +%setup -n %{name}-%{version} + + +%build +%configure +%make_build + + +%install +%make_install + + +%files +%license COPYING +%doc NEWS README +%{_bindir}/rsync_bpc + + +%changelog +* Wed Jun 14 2017 Daniel Beretaud - 3.0.9.8-1 +- Update to latest upstream release + +* Sat Mar 25 2017 Richard Shaw - 3.0.9.6-1 +- Update to latest upstream release. + +* Sat Mar 18 2017 Richard Shaw - 3.0.9.5-1 +- Several spec file updates. + +* Mon Mar 13 2017 Richard Shaw - 3.0.9.5-1 +- Initial packaging.