]> git.pld-linux.org Git - packages/csync2.git/blame - csync2.spec
- Source0 URL
[packages/csync2.git] / csync2.spec
CommitLineData
5b28d328 1Summary: Cluster sync tool
2Name: csync2
3Version: 1.22
4Release: 0.1
5License: GPL
6Group: Daemons
492ff691 7Source0: http://oss.linbit.com/csync2/%{name}-%{version}.tar.gz
5b28d328 8# Source0-md5: 6504aba35683d1663fb530b50f4c1dfd
492ff691 9URL: http://oss.linbit.com/csync2/
5b28d328 10BuildRequires: bison
11BuildRequires: flex
12BuildRequires: librsync-devel
13BuildRequires: openssl-devel
14BuildRequires: sqlite-devel
15BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
16
17%description
18Csync2 is a cluster synchronization tool. It can be used to keep files
19on multiple hosts in a cluster in sync. Csync2 can handle complex
20setups with much more than just 2 hosts, handle file deletions and can
21detect conflicts. It is expedient for HA-clusters, HPC-clusters, COWs
22and server farms.
23
24%prep
25%setup -q
26
27%build
28%configure
29%{__make} all
30
31%install
32rm -rf $RPM_BUILD_ROOT
33install -d $RPM_BUILD_ROOT%{_sbindir}
34install csync2 $RPM_BUILD_ROOT%{_sbindir}
35install -d $RPM_BUILD_ROOT%{_var}/lib/csync2
36
37%clean
38rm -rf $RPM_BUILD_ROOT
39
40%post
41if ! grep -q "^csync2" /etc/services ; then
42 echo -e "csync2\t\t30865/tcp\t\t# Cluster sync" >> /etc/services
43fi
44
45%files
46%defattr(644,root,root,755)
47%doc AUTHORS ChangeLog README TODO
48%attr(755,root,root) %{_sbindir}/csync2
49%dir %{_var}/lib/csync2
This page took 1.898189 seconds and 4 git commands to generate.