]> git.pld-linux.org Git - packages/csync2.git/blob - csync2.spec
- pl
[packages/csync2.git] / csync2.spec
1 Summary:        Cluster sync tool
2 Summary(pl):    Narzêdzie do synchronizacji klastra
3 Name:           csync2
4 Version:        1.22
5 Release:        0.1
6 License:        GPL
7 Group:          Daemons
8 Source0:        http://oss.linbit.com/csync2/%{name}-%{version}.tar.gz
9 # Source0-md5:  6504aba35683d1663fb530b50f4c1dfd
10 URL:            http://oss.linbit.com/csync2/
11 BuildRequires:  bison
12 BuildRequires:  flex
13 BuildRequires:  librsync-devel
14 BuildRequires:  openssl-devel
15 BuildRequires:  sqlite-devel
16 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
17
18 %description
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
23 and server farms.
24
25 %description -l pl
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.
31
32 %prep
33 %setup -q
34
35 %build
36 %configure
37 %{__make} all
38
39 %install
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
44
45 %clean
46 rm -rf $RPM_BUILD_ROOT
47
48 %post
49 if ! grep -q "^csync2" /etc/services ; then
50      echo -e "csync2\t\t30865/tcp\t\t# Cluster sync" >> /etc/services
51 fi
52
53 %files
54 %defattr(644,root,root,755)
55 %doc AUTHORS ChangeLog README TODO
56 %attr(755,root,root) %{_sbindir}/csync2
57 %dir %{_var}/lib/csync2
This page took 0.053076 seconds and 3 git commands to generate.