Name: lsyncd Version: 2.0.7 Release: 2 Summary: File change monitoring and synchronization daemon Group: Applications/Internet License: GPLv2+ URL: http://code.google.com/p/lsyncd/ Source0: http://lsyncd.googlecode.com/files/%{name}-%{version}.tar.gz BuildRoot: %(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX) BuildRequires: lua-devel >= 5.1.3 BuildRequires: prelink %description Lsyncd watches a local directory trees event monitor interface (inotify). It aggregates and combines events for a few seconds and then spawns one (or more) process(es) to synchronize the changes. By default this is rsync. Lsyncd is thus a light-weight live mirror solution that is comparatively easy to install not requiring new file systems or block devices and does not hamper local file system performance. %prep %setup -q %build %configure make %{?_smp_mflags} # http://code.google.com/p/lsyncd/issues/detail?id=55 execstack -c lsyncd %install rm -rf $RPM_BUILD_ROOT make install DESTDIR=$RPM_BUILD_ROOT %clean rm -rf $RPM_BUILD_ROOT %files %defattr(-,root,root,-) %{_bindir}/lsyncd %{_mandir}/man1/lsyncd.1* %exclude %{_docdir}/lsyncd %doc COPYING ChangeLog examples %changelog * Thu May 17 2012 Support - 2.0.7-2 - Update to 2.0.7 * Fri Apr 29 2011 Lubomir Rintel (GoodData) - 2.0.4-1 - Initial packaging