1 Summary: Maintains identical copies of files on multiple machines
6 Group: Utilities/System
7 Group(pl): Narzêdzia/System
8 Source0: http://www.MagniComp.com/download/rdist/%{name}-%{version}.tar.gz
9 Source1: rdist-eu-license.txt
10 Patch0: rdist-linux.patch
11 Patch1: rdist-links.patch
12 Patch2: rdist-oldpath.patch
13 Patch3: rdist-hardlink.patch
14 Patch4: rdist-glibc.patch
15 Patch5: rdist-ostype.patch
16 URL: http://www.MagniComp.com/rdist
17 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
20 The rdist program maintains identical copies of files on multiple
21 hosts. If possible, rdist will preserve the owner, group, mode and
22 mtime of files and it can update programs that are executing.
34 %{__make} OPT="$RPM_OPT_FLAGS"
37 rm -rf $RPM_BUILD_ROOT
38 install -d $RPM_BUILD_ROOT{%{_bindir},%{_mandir}/man{1,8},%{_sbindir}}
40 install -s src/rdist $RPM_BUILD_ROOT%{_bindir}
41 install -s src/rdistd $RPM_BUILD_ROOT%{_sbindir}
42 ln -sf ../sbin/rdistd $RPM_BUILD_ROOT%{_bindir}/rdistd
44 install doc/rdist.man $RPM_BUILD_ROOT%{_mandir}/man1/rdist.1
45 install doc/rdistd.man $RPM_BUILD_ROOT%{_mandir}/man8/rdist.8
47 install %{SOURCE1} doc/
49 gzip -9nf $RPM_BUILD_ROOT%{_mandir}/man*/* doc/rdist-eu-license.txt README
52 rm -rf $RPM_BUILD_ROOT
55 %defattr(644,root,root,755)
56 %doc README.gz doc/rdist-eu-license.txt.gz
57 %attr(755,root,root) %{_bindir}/rdist
58 %attr(755,root,root) %{_bindir}/rdistd
59 %attr(755,root,root) %{_sbindir}/rdistd