]> git.pld-linux.org Git - packages/csync2.git/blob - csync2.spec
- don't play with /etc/services - require proper version of setup
[packages/csync2.git] / csync2.spec
1 # TODO:
2 # - inetd subpackage/files
3 Summary:        Cluster sync tool
4 Summary(pl.UTF-8):      Narzędzie do synchronizacji klastra
5 Name:           csync2
6 Version:        1.33
7 Release:        0.4
8 License:        GPL v2
9 Group:          Daemons
10 Source0:        http://oss.linbit.com/csync2/%{name}-%{version}.tar.gz
11 # Source0-md5:  e16e3c0f4285439cef09a6b63319a0b0
12 URL:            http://oss.linbit.com/csync2/
13 BuildRequires:  bison
14 BuildRequires:  flex
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)
21
22 %description
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
27 and server farms.
28
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.
35
36 %prep
37 %setup -q
38
39 %build
40 %configure
41 %{__make}
42
43 %install
44 rm -rf $RPM_BUILD_ROOT
45 install -d $RPM_BUILD_ROOT%{_var}/lib/csync2
46
47 %{__make} install \
48         DESTDIR=$RPM_BUILD_ROOT
49
50 %clean
51 rm -rf $RPM_BUILD_ROOT
52
53 %files
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
60 %{_mandir}/man1/*.1*
This page took 0.253637 seconds and 3 git commands to generate.