~derek-name/openvista-gtm-integration/bug818588-ovbackup_nice

« back to all changes in this revision

Viewing changes to packages/rpm/CentOS/5/lsyncd.spec

  • Committer: Derek Veit
  • Date: 2011-08-22 19:04:10 UTC
  • mfrom: (131.2.576 replication)
  • Revision ID: derek.veit@medsphere.com-20110822190410-w4sepab2fxrs3u0p
Merge replication branch.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
Name:           lsyncd
 
2
Version:        1.34
 
3
Release:        1
 
4
Summary:        Live Syncing Daemon
 
5
License:        GPLv2+
 
6
URL:            http://code.google.com/p/lsyncd/
 
7
Group:          Applications/Internet
 
8
Packager:       Jonathan Tai <jon.tai@medsphere.com>
 
9
 
 
10
Source:         lsyncd-%{version}.tar.gz
 
11
BuildRoot:      %{_tmppath}/%{name}-root
 
12
 
 
13
Requires:       /usr/bin/rsync, libxml2
 
14
BuildRequires:  libxml2-devel
 
15
 
 
16
%description
 
17
Lsyncd uses rsync to synchronize local directories with a remote machine
 
18
running rsyncd. Lsyncd watches multiple directories trees through inotify. The
 
19
first step after adding the watches is to rsync all directories with the remote
 
20
host, and then sync single file by collecting the inotify events. So lsyncd is
 
21
a light-weight live mirror solution that should be easy to install and use
 
22
while blending well with your system. See lsyncd --help for detailed command
 
23
line options.
 
24
 
 
25
%prep
 
26
%setup
 
27
 
 
28
%build
 
29
./configure --prefix=/usr
 
30
make
 
31
 
 
32
%install
 
33
rm -rf %{buildroot}
 
34
 
 
35
make DESTDIR=%{buildroot} install
 
36
 
 
37
%clean
 
38
rm -rf %{buildroot}
 
39
 
 
40
%files
 
41
%defattr(-,root,root)
 
42
%doc AUTHORS ChangeLog COPYING INSTALL NEWS README TODO
 
43
%doc %{_mandir}/man1/lsyncd.1*
 
44
%doc %{_mandir}/man5/lsyncd.conf.xml.5*
 
45
%{_bindir}/lsyncd