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