1 Summary: Cluster sync tool
7 Source0: %{name}-%{version}.tar.gz
8 # Source0-md5: 6504aba35683d1663fb530b50f4c1dfd
9 URL: http://oss.linbit.com/csync2
12 BuildRequires: librsync-devel
13 BuildRequires: openssl-devel
14 BuildRequires: sqlite-devel
15 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
18 Csync2 is a cluster synchronization tool. It can be used to keep files
19 on multiple hosts in a cluster in sync. Csync2 can handle complex
20 setups with much more than just 2 hosts, handle file deletions and can
21 detect conflicts. It is expedient for HA-clusters, HPC-clusters, COWs
32 rm -rf $RPM_BUILD_ROOT
33 install -d $RPM_BUILD_ROOT%{_sbindir}
34 install csync2 $RPM_BUILD_ROOT%{_sbindir}
35 install -d $RPM_BUILD_ROOT%{_var}/lib/csync2
38 rm -rf $RPM_BUILD_ROOT
41 if ! grep -q "^csync2" /etc/services ; then
42 echo -e "csync2\t\t30865/tcp\t\t# Cluster sync" >> /etc/services
46 %defattr(644,root,root,755)
47 %doc AUTHORS ChangeLog README TODO
48 %attr(755,root,root) %{_sbindir}/csync2
49 %dir %{_var}/lib/csync2