1 Summary: Program for efficient remote updates of files.
2 Summary(pl): Program efektywnego modyfikowania plików na zdalnym komputerze.
9 Source: ftp://samba.anu.edu.au/pub/rsync/%{name}-%{version}.tar.gz
10 Patch0: rsync-config.patch
11 Patch1: rsync-man.patch
12 Patch2: rsync-231-v6-19990520-PLD.patch
13 URL: http://samba.anu.edu.au/rsync/
14 BuildRoot: /tmp/%{name}-%{version}-root
16 %define _sysconfdir /etc/rsyncd
19 rsync is a replacement for rcp that has many more features.
21 rsync uses the "rsync algorithm" which provides a very fast method for
22 bringing remote files into sync. It does this by sending just the
23 differences in the files across the link, without requiring that both
24 sets of files are present at one of the ends of the link beforehand.
26 A technical report describing the rsync algorithm is included with
30 Rsync jest zamiennikiem programu rcp i jest bardziej rozbudowan± sk³adniê
31 poleceñ. Program ten u¿ywa efektywnego algorytmu "rsync" w czasie komunikacji
32 i transportu plików do systemu zdalnego. Dokumentacja techniczna nowego
33 algorytmu zosta³a równie¿ do³±czona do pakietu.
39 # We don't use it because it's buggy ;(
44 LDFLAGS="-s"; export LDFLAGS
51 rm -rf $RPM_BUILD_ROOT
54 prefix=$RPM_BUILD_ROOT%{_prefix} \
55 mandir=$RPM_BUILD_ROOT%{_mandir} \
56 bindir=$RPM_BUILD_ROOT%{_sbindir}
58 install -d $RPM_BUILD_ROOT/etc/rsyncd
60 :> $RPM_BUILD_ROOT/etc/rsyncd/rsyncd.conf
61 :> $RPM_BUILD_ROOT/etc/rsyncd/rsyncd.secrets
63 gzip -9nf $RPM_BUILD_ROOT%{_mandir}/man*/* README
66 rm -rf $RPM_BUILD_ROOT
69 %defattr(644,root,root,755)
72 %attr(640,root,root) %config /etc/rsyncd/rsyncd.conf
73 %attr(640,root,root) %config /etc/rsyncd/rsyncd.secrets
75 %attr(755,root,root) %{_sbindir}/*