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