1 Summary: Maintains identical copies of files on multiple machines.
6 Group: Applications/System
7 Source: http://www.MagniComp.com/download/rdist/rdist-%{version}.tar.gz
8 Patch0: rdist-6.1.5-linux.patch
9 Patch1: rdist-6.1.5-links.patch
10 Patch2: rdist-6.1.5-oldpath.patch
11 URL: http://www.MagniComp.comA/rdist
12 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
15 The rdist program maintains identical copies of files on multiple
16 hosts. If possible, rdist will preserve the owner, group, mode and
17 mtime of files and it can update programs that are executing.
24 %patch2 -p1 -b .oldpath
30 rm -rf $RPM_BUILD_ROOT
31 mkdir -p $RPM_BUILD_ROOT/usr/{bin,man/man1,man/man8,sbin}
33 install -s -m755 src/rdist $RPM_BUILD_ROOT/usr/bin
34 install -s -m755 src/rdistd $RPM_BUILD_ROOT/usr/sbin
35 ln -sf ../sbin/rdistd $RPM_BUILD_ROOT/usr/bin/rdistd
37 install -m644 doc/rdist.man $RPM_BUILD_ROOT/usr/man/man1/rdist.1
38 install -m644 doc/rdistd.man $RPM_BUILD_ROOT/usr/man/man8/rdist.8
41 rm -rf $RPM_BUILD_ROOT