1 Summary: Program for efficient remote updates of files.
2 Summary(pl): Program efektywnego modyfikowania plików na zdalnym komputerze.
9 Source0: ftp://samba.anu.edu.au/pub/rsync/%{name}-%{version}.tar.gz
10 Patch0: rsync-config.patch
11 Patch1: rsync-man.patch
12 Patch2: rsync-configure.patch
13 Patch3: http://www.misiek.eu.org/ipv6/rsync-2.4.3-ipv6-20000523.patch.gz
14 URL: http://samba.anu.edu.au/rsync/
15 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
17 %define _sysconfdir /etc/rsyncd
20 rsync is a replacement for rcp that has many more features.
22 rsync uses the "rsync algorithm" which provides a very fast method for
23 bringing remote files into sync. It does this by sending just the
24 differences in the files across the link, without requiring that both
25 sets of files are present at one of the ends of the link beforehand.
27 A technical report describing the rsync algorithm is included with
31 Rsync jest zamiennikiem programu rcp i jest bardziej rozbudowan±
32 sk³adniê poleceñ. Program ten u¿ywa efektywnego algorytmu "rsync" w
33 czasie komunikacji i transportu plików do systemu zdalnego.
34 Dokumentacja techniczna nowego algorytmu zosta³a równie¿ do³±czona do
46 LDFLAGS="-s"; export LDFLAGS
52 rm -rf $RPM_BUILD_ROOT
55 prefix=$RPM_BUILD_ROOT%{_prefix} \
56 mandir=$RPM_BUILD_ROOT%{_mandir} \
57 bindir=$RPM_BUILD_ROOT%{_sbindir}
59 install -d $RPM_BUILD_ROOT%{_sysconfdir}
61 :> $RPM_BUILD_ROOT%{_sysconfdir}/rsyncd.conf
62 :> $RPM_BUILD_ROOT%{_sysconfdir}/rsyncd.secrets
64 gzip -9nf $RPM_BUILD_ROOT%{_mandir}/man*/* README
67 rm -rf $RPM_BUILD_ROOT
70 %defattr(644,root,root,755)
73 %attr(640,root,root) %config %{_sysconfdir}/rsyncd.conf
74 %attr(640,root,root) %config %{_sysconfdir}/rsyncd.secrets
76 %attr(755,root,root) %{_sbindir}/*