SPECS: csync2.spec (NEW) - new

zbyniu zbyniu at pld-linux.org
Sun Sep 25 03:35:37 CEST 2005


Author: zbyniu                       Date: Sun Sep 25 01:35:37 2005 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- new

---- Files affected:
SPECS:
   csync2.spec (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: SPECS/csync2.spec
diff -u /dev/null SPECS/csync2.spec:1.1
--- /dev/null	Sun Sep 25 03:35:37 2005
+++ SPECS/csync2.spec	Sun Sep 25 03:35:32 2005
@@ -0,0 +1,60 @@
+# $Revision$, $Date$
+Summary:	Cluster sync tool
+Name:		csync2
+Version:	1.22
+Release:	0.1
+License:	GPL
+Group:		Daemons
+Source0:	%{name}-%{version}.tar.gz
+# Source0-md5:	6504aba35683d1663fb530b50f4c1dfd
+URL:		http://oss.linbit.com/csync2
+BuildRequires:	bison
+BuildRequires:	flex
+BuildRequires:	librsync-devel
+BuildRequires:	openssl-devel
+BuildRequires:	sqlite-devel
+BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+Csync2 is a cluster synchronization tool. It can be used to keep files
+on multiple hosts in a cluster in sync. Csync2 can handle complex
+setups with much more than just 2 hosts, handle file deletions and can
+detect conflicts. It is expedient for HA-clusters, HPC-clusters, COWs
+and server farms.
+
+%prep
+%setup -q
+
+%build
+%configure
+%{__make} all
+
+%install
+rm -rf $RPM_BUILD_ROOT
+install -d $RPM_BUILD_ROOT%{_sbindir}
+install csync2 $RPM_BUILD_ROOT%{_sbindir}
+install -d $RPM_BUILD_ROOT%{_var}/lib/csync2
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%post
+if ! grep -q "^csync2" /etc/services ; then
+     echo -e "csync2\t\t30865/tcp\t\t# Cluster sync" >> /etc/services
+fi
+
+%files
+%defattr(644,root,root,755)
+%doc AUTHORS ChangeLog README TODO
+%attr(755,root,root) %{_sbindir}/csync2
+%dir %{_var}/lib/csync2
+
+%define date	%(echo `LC_ALL="C" date +"%a %b %d %Y"`)
+%changelog
+* %{date} PLD Team <feedback at pld-linux.org>
+All persons listed below can be reached at <cvs_login>@pld-linux.org
+
+$Log$
+Revision 1.1  2005/09/25 01:35:32  zbyniu
+- new
+
================================================================



More information about the pld-cvs-commit mailing list