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 Patch0: %{name}-man_fix.patch
13 URL: http://oss.linbit.com/csync2/
16 BuildRequires: gnutls-devel
17 BuildRequires: librsync-devel
18 BuildRequires: openssl-devel
19 BuildRequires: sqlite-devel
20 Requires: setup > 2.4.10-4
21 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
23 %define _sysconfdir /etc/%{name}
26 Csync2 is a cluster synchronization tool. It can be used to keep files
27 on multiple hosts in a cluster in sync. Csync2 can handle complex
28 setups with much more than just 2 hosts, handle file deletions and can
29 detect conflicts. It is expedient for HA-clusters, HPC-clusters, COWs
32 %description -l pl.UTF-8
33 Csync2 to narzędzie do synchronizacji klastra. Może być używane do
34 utrzymywania zgodności plików na wielu hostach w klastrze. Csync2 jest
35 w stanie obsłużyć złożone konfiguracje z więcej niż 2 hostami,
36 obsługiwać usuwanie plików i wykrywać konflikty. Jest praktyczne dla
37 klastrów HA, HPC, COW oraz farm serwerów.
48 rm -rf $RPM_BUILD_ROOT
49 install -d $RPM_BUILD_ROOT%{_var}/lib/csync2
52 DESTDIR=$RPM_BUILD_ROOT
55 rm -rf $RPM_BUILD_ROOT
58 %defattr(644,root,root,755)
59 %doc AUTHORS ChangeLog README TODO csync2.xinetd csync2_locheck.sh paper.pdf
61 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/csync2.cfg
62 %attr(755,root,root) %{_sbindir}/csync2
63 %attr(755,root,root) %{_sbindir}/csync2-compare
64 %dir %{_var}/lib/csync2