Просмотр исходного кода

lsyncd: new package, lsyncd-1.34-1

git-svn-id: http://trac.vinelinux.org/repos/projects/specs@1504 ec354946-7b23-47d6-9f5a-488ba84defc7
daisuke 14 лет назад
Родитель
Сommit
9381b56712
1 измененных файлов с 51 добавлено и 0 удалено
  1. 51 0
      l/lsyncd/lsyncd-vl.spec

+ 51 - 0
l/lsyncd/lsyncd-vl.spec

@@ -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