2 # - inetd subpackage/files
3 Summary: Cluster sync tool
4 Summary(pl.UTF-8): Narzędzie do synchronizacji klastra
10 Source0: http://oss.linbit.com/csync2/%{name}-%{version}.tar.gz
11 # Source0-md5: e16e3c0f4285439cef09a6b63319a0b0
12 URL: http://oss.linbit.com/csync2/
15 BuildRequires: gnutls-devel
16 BuildRequires: librsync-devel
17 BuildRequires: openssl-devel
18 BuildRequires: sqlite-devel
19 Requires: setup > 2.4.10-4
20 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
23 Csync2 is a cluster synchronization tool. It can be used to keep files
24 on multiple hosts in a cluster in sync. Csync2 can handle complex
25 setups with much more than just 2 hosts, handle file deletions and can
26 detect conflicts. It is expedient for HA-clusters, HPC-clusters, COWs
29 %description -l pl.UTF-8
30 Csync2 to narzędzie do synchronizacji klastra. Może być używane do
31 utrzymywania zgodności plików na wielu hostach w klastrze. Csync2 jest
32 w stanie obsłużyć złożone konfiguracje z więcej niż 2 hostami,
33 obsługiwać usuwanie plików i wykrywać konflikty. Jest praktyczne dla
34 klastrów HA, HPC, COW oraz farm serwerów.
44 rm -rf $RPM_BUILD_ROOT
45 install -d $RPM_BUILD_ROOT%{_var}/lib/csync2
48 DESTDIR=$RPM_BUILD_ROOT
51 rm -rf $RPM_BUILD_ROOT
54 %defattr(644,root,root,755)
55 %doc AUTHORS ChangeLog README TODO csync2.xinetd csync2_locheck.sh paper.pdf
56 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/csync2.cfg
57 %attr(755,root,root) %{_sbindir}/csync2
58 %attr(755,root,root) %{_sbindir}/csync2-compare
59 %dir %{_var}/lib/csync2