]> git.pld-linux.org Git - packages/csync2.git/blob - csync2.spec
e16b5d728ed88d74accba1ee289206f9a4b5b9f6
[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.5
8 License:        GPL v2
9 Group:          Daemons
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/
14 BuildRequires:  bison
15 BuildRequires:  flex
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)
22
23 %define         _sysconfdir     /etc/%{name}
24
25 %description
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
30 and server farms.
31
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.
38
39 %prep
40 %setup -q
41 %patch0 -p1
42
43 %build
44 %configure
45 %{__make}
46
47 %install
48 rm -rf $RPM_BUILD_ROOT
49 install -d $RPM_BUILD_ROOT%{_var}/lib/csync2
50
51 %{__make} install \
52         DESTDIR=$RPM_BUILD_ROOT
53
54 %clean
55 rm -rf $RPM_BUILD_ROOT
56
57 %files
58 %defattr(644,root,root,755)
59 %doc AUTHORS ChangeLog README TODO csync2.xinetd csync2_locheck.sh paper.pdf
60 %dir %{_sysconfdir}
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
65 %{_mandir}/man1/*.1*
This page took 0.044411 seconds and 3 git commands to generate.