|
@@ -1,7 +1,7 @@
|
|
|
Summary: Live syncing (mirroring) daemon
|
|
|
Summary(ja): リアルタイム同期(ミラーリング)デーモン
|
|
|
Name: lsyncd
|
|
|
-Version: 1.39
|
|
|
+Version: 2.0.4
|
|
|
Release: 1%{?_dist_release}
|
|
|
|
|
|
License: GPL
|
|
@@ -12,7 +12,7 @@ Source: lsyncd-%{version}.tar.gz
|
|
|
Source1: lsyncd.init
|
|
|
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
|
|
|
-BuildRequires: libxml2-devel
|
|
|
+BuildRequires: lua-devel
|
|
|
Requires: rsync
|
|
|
Requires(post): chkconfig
|
|
|
Requires(preun): chkconfig
|
|
@@ -23,12 +23,19 @@ Distribution: Vine Linux
|
|
|
Packager: daisuke
|
|
|
|
|
|
%description
|
|
|
+Lsyncd provides a light-weight live mirror solution.
|
|
|
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.
|
|
|
+by collecting the inotify events.
|
|
|
+
|
|
|
+
|
|
|
+%description
|
|
|
+Lsyncd は軽量なリアルタイムミラーを構築することができます。
|
|
|
+Lsyncd は rsync を用いて rsyncd が動いているリモートのマシンとローカル
|
|
|
+のディレクトリを同期させることができます。Lsyncd は複数のディレクトリツ
|
|
|
+リーを inotify を通じて監視し、inotefy イベントを収集することでここの
|
|
|
+ファイルを同期します。
|
|
|
|
|
|
%prep
|
|
|
%setup
|
|
@@ -44,6 +51,12 @@ for detailed command line options.
|
|
|
mkdir -p $RPM_BUILD_ROOT%{_sysconfdir}/rc.d/init.d
|
|
|
%{__install} -m755 %{SOURCE1} $RPM_BUILD_ROOT%{_sysconfdir}/rc.d/init.d/lsyncd
|
|
|
|
|
|
+mkdir -p $RPM_BUILD_ROOT%{_sysconfdir}/lsyncd
|
|
|
+
|
|
|
+# remove examples
|
|
|
+%{__rm} -rf %{buildroot}%{_datadir}/doc/lsyncd
|
|
|
+
|
|
|
+
|
|
|
%clean
|
|
|
%{__rm} -rf %{buildroot}
|
|
|
|
|
@@ -63,13 +76,16 @@ fi
|
|
|
|
|
|
%files
|
|
|
%defattr(-, root, root, 0755)
|
|
|
-%doc AUTHORS COPYING ChangeLog NEWS TODO lsyncd.conf.xml
|
|
|
+%doc COPYING ChangeLog examples/
|
|
|
%{_sysconfdir}/rc.d/init.d/lsyncd
|
|
|
+%{_sysconfdir}/lsyncd/
|
|
|
%{_bindir}/lsyncd
|
|
|
%{_mandir}/man1/lsyncd.1*
|
|
|
-%{_mandir}/man5/lsyncd.conf.xml.5*
|
|
|
|
|
|
%changelog
|
|
|
+* Mon May 16 2011 Daisuke SUZUKI <daisuke@linux.or.jp> 2.0.4-1
|
|
|
+- update to 2.0.4
|
|
|
+
|
|
|
* Sun Oct 31 2010 2010 Daisuke SUZUKI <daisuke@linux.or.jp> 1.39-1
|
|
|
- new upstream release
|
|
|
|