|
@@ -0,0 +1,51 @@
|
|
|
+Summary: Live syncing (mirroring) daemon
|
|
|
+Summary(ja): リアルタイム同期(ミラーリング)デーモン
|
|
|
+Name: lsyncd
|
|
|
+Version: 1.34
|
|
|
+Release: 1%{?_dist_release}
|
|
|
+
|
|
|
+License: GPL
|
|
|
+Group: Applications/File
|
|
|
+URL: http://code.google.com/p/lsyncd/
|
|
|
+
|
|
|
+Source: lsyncd-%{version}.tar.gz
|
|
|
+
|
|
|
+BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
|
|
|
+Requires: rsync
|
|
|
+
|
|
|
+Vendor: Project Vine
|
|
|
+Distribution: Vine Linux
|
|
|
+Packager: daisuke
|
|
|
+
|
|
|
+%description
|
|
|
+Lsyncd uses rsync to synchronize local directories with a remote machine running rsyncd.
|
|
|
+Lsyncd watches multiple directories trees through inotify. The first step after adding
|
|
|
+the watches is to rsync all directories with the remote host, and then sync single file
|
|
|
+by collecting the inotify events. So lsyncd is a light-weight live mirror solution that
|
|
|
+should be easy to install and use while blending well with your system. See lsyncd --help
|
|
|
+for detailed command line options.
|
|
|
+
|
|
|
+%prep
|
|
|
+%setup
|
|
|
+
|
|
|
+%build
|
|
|
+%configure
|
|
|
+%{__make} %{?_smp_mflags}
|
|
|
+
|
|
|
+%install
|
|
|
+%{__rm} -rf %{buildroot}
|
|
|
+%{__make} install DESTDIR=%{buildroot}
|
|
|
+
|
|
|
+%clean
|
|
|
+%{__rm} -rf %{buildroot}
|
|
|
+
|
|
|
+%files
|
|
|
+%defattr(-, root, root, 0755)
|
|
|
+%doc AUTHORS COPYING ChangeLog NEWS TODO lsyncd.conf.xml
|
|
|
+%{_bindir}/lsyncd
|
|
|
+%{_mandir}/man1/lsyncd.1*
|
|
|
+%{_mandir}/man5/lsyncd.conf.xml.5*
|
|
|
+
|
|
|
+%changelog
|
|
|
+* Thu Aug 05 2010 Daisuke SUZUKI <daisuke@linux.or.jp> 1.34-1
|
|
|
+- initial build for Vine Linux
|