1 Summary: Cluster sync tool
2 Summary(pl): Narzêdzie do synchronizacji klastra
8 Source0: http://oss.linbit.com/csync2/%{name}-%{version}.tar.gz
9 # Source0-md5: 6504aba35683d1663fb530b50f4c1dfd
10 URL: http://oss.linbit.com/csync2/
13 BuildRequires: librsync-devel
14 BuildRequires: openssl-devel
15 BuildRequires: sqlite-devel
16 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
19 Csync2 is a cluster synchronization tool. It can be used to keep files
20 on multiple hosts in a cluster in sync. Csync2 can handle complex
21 setups with much more than just 2 hosts, handle file deletions and can
22 detect conflicts. It is expedient for HA-clusters, HPC-clusters, COWs
26 Csync2 to narzêdzie do synchronizacji klastra. Mo¿e byæ u¿ywane do
27 utrzymywania zgodno¶ci plików na wielu hostach w klastrze. Csync2 jest
28 w stanie obs³u¿yæ z³o¿one konfiguracje z wiêcej ni¿ 2 hostami,
29 obs³ugiwaæ usuwanie plików i wykrywaæ konflikty. Jest praktyczne dla
30 klastrów HA, HPC, COW oraz farm serwerów.
40 rm -rf $RPM_BUILD_ROOT
41 install -d $RPM_BUILD_ROOT%{_sbindir}
42 install csync2 $RPM_BUILD_ROOT%{_sbindir}
43 install -d $RPM_BUILD_ROOT%{_var}/lib/csync2
46 rm -rf $RPM_BUILD_ROOT
49 if ! grep -q "^csync2" /etc/services ; then
50 echo -e "csync2\t\t30865/tcp\t\t# Cluster sync" >> /etc/services
54 %defattr(644,root,root,755)
55 %doc AUTHORS ChangeLog README TODO
56 %attr(755,root,root) %{_sbindir}/csync2
57 %dir %{_var}/lib/csync2