2 %bcond_with tests # perform "make test"
4 Summary: A customized version of rsync that is used as part of BackupPC
9 Group: Networking/Utilities
10 Source0: https://github.com/backuppc/rsync-bpc/releases/download/%{version}/%{name}-%{version}.tar.gz
11 # Source0-md5: 7749b21b46db4e6a74120c8687a5944c
12 URL: https://github.com/backuppc/rsync-bpc
13 BuildRequires: acl-devel
14 BuildRequires: attr-devel
15 BuildRequires: autoconf >= 2.59
16 BuildRequires: automake
17 BuildRequires: popt-devel
18 BuildRequires: rpmbuild(macros) >= 1.318
19 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
22 Rsync-bpc is a customized version of rsync that is used as part of
23 BackupPC, an open source backup system.
25 The main change to rsync is adding a shim layer (in the subdirectory
26 backuppc, and in bpc_sysCalls.c) that emulates the system calls for
27 accessing the file system so that rsync can directly read/write files
30 Rsync-bpc is fully line-compatible with vanilla rsync, so it can talk
31 to rsync servers and clients.
33 Rsync-bpc serves no purpose outside of BackupPC.
39 cp -f /usr/share/automake/config.sub .
44 %{?with_rsh:--with-rsh=rsh} \
46 --enable-acl-support \
47 --enable-xattr-support \
52 %{?with_tests:%{__make} test}
55 rm -rf $RPM_BUILD_ROOT
57 DESTDIR=$RPM_BUILD_ROOT
60 rm -rf $RPM_BUILD_ROOT
63 %defattr(644,root,root,755)
64 %doc COPYING NEWS README
65 %attr(755,root,root) %{_bindir}/rsync_bpc