From 5dc463bc5f2aa3a344dea79898962a9c211ac2b1 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Adam=20Go=C5=82=C4=99biowski?= Date: Sat, 22 Feb 2020 19:12:07 +0100 Subject: [PATCH] - new --- rsync-bpc.spec | 49 +++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 49 insertions(+) create mode 100644 rsync-bpc.spec diff --git a/rsync-bpc.spec b/rsync-bpc.spec new file mode 100644 index 0000000..d05ade9 --- /dev/null +++ b/rsync-bpc.spec @@ -0,0 +1,49 @@ +Summary: A customized version of rsync that is used as part of BackupPC +Name: rsync-bpc +Version: 3.0.9.12 +Release: 1 +License: GPL v3+ +Group: Networking/Utilities +Source0: https://github.com/backuppc/rsync-bpc/releases/download/%{version}/%{name}-%{version}.tar.gz +# Source0-md5: 9a95c7a1b9c35c4f0da221d22efd01e3 +URL: https://github.com/backuppc/rsync-bpc +BuildRequires: acl-devel +BuildRequires: attr-devel +BuildRequires: popt-devel +BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) + +%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 -q + +%build +%configure +%{__make} + +%install +rm -rf $RPM_BUILD_ROOT +%{__make} install \ + DESTDIR=$RPM_BUILD_ROOT + +%clean +rm -rf $RPM_BUILD_ROOT + +%files +%defattr(644,root,root,755) +%doc COPYING NEWS README +%attr(755,root,root) %{_bindir}/rsync_bpc + +%changelog -- 2.44.0