1 Summary: Program for efficient remote updates of files
2 Summary(pl): Program efektywnego modyfikowania plików na zdalnym komputerze
10 Source0: http://rsync.samba.org/ftp/rsync/%{name}-%{version}.tar.gz
12 Patch0: %{name}-config.patch
13 Patch1: %{name}-man.patch
14 Patch2: %{name}-configure.patch
15 Patch3: http://www.misiek.eu.org/ipv6/%{name}-2.4.5-ipv6-20000821.patch.gz
16 URL: http://samba.anu.edu.au/rsync/
17 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
19 %define _sysconfdir /etc/rsyncd
22 rsync is a replacement for rcp that has many more features.
24 rsync uses the "rsync algorithm" which provides a very fast method for
25 bringing remote files into sync. It does this by sending just the
26 differences in the files across the link, without requiring that both
27 sets of files are present at one of the ends of the link beforehand.
29 A technical report describing the rsync algorithm is included with
33 Rsync jest zamiennikiem programu rcp i jest bardziej rozbudowan±
34 sk³adniê poleceñ. Program ten u¿ywa efektywnego algorytmu "rsync" w
35 czasie komunikacji i transportu plików do systemu zdalnego.
36 Dokumentacja techniczna nowego algorytmu zosta³a równie¿ do³±czona do
40 Summary: Files necessary to run rsync in daemon mode
41 Summary(pl): Pliki niezbêdne do uruchomienia rsynca w trybie serwera
48 %description -n rsyncd
49 rsync is a replacement for rcp that has many more features.
51 rsync uses the "rsync algorithm" which provides a very fast method for
52 bringing remote files into sync. It does this by sending just the
53 differences in the files across the link, without requiring that both
54 sets of files are present at one of the ends of the link beforehand.
56 A technical report describing the rsync algorithm is included with
59 %description -n rsyncd -l pl
60 Rsync jest zamiennikiem programu rcp i jest bardziej rozbudowan±
61 sk³adniê poleceñ. Program ten u¿ywa efektywnego algorytmu "rsync" w
62 czasie komunikacji i transportu plików do systemu zdalnego.
63 Dokumentacja techniczna nowego algorytmu zosta³a równie¿ do³±czona do
79 rm -rf $RPM_BUILD_ROOT
82 prefix=$RPM_BUILD_ROOT%{_prefix} \
83 mandir=$RPM_BUILD_ROOT%{_mandir} \
84 bindir=$RPM_BUILD_ROOT%{_bindir}
86 install -d $RPM_BUILD_ROOT{%{_sysconfdir},/etc/sysconfig/rc-inetd}
88 :> $RPM_BUILD_ROOT%{_sysconfdir}/rsyncd.conf
89 :> $RPM_BUILD_ROOT%{_sysconfdir}/rsyncd.secrets
91 install %{SOURCE1} $RPM_BUILD_ROOT/etc/sysconfig/rc-inetd/rsyncd
93 gzip -9nf $RPM_BUILD_ROOT%{_mandir}/man*/* README
96 if [ -f /var/lock/subsys/rc-inetd ]; then
97 /etc/rc.d/init.d/rc-inetd restart 1>&2
99 echo "Type \"/etc/rc.d/init.d/rc-inetd start\" to start inet sever" 1>&2
103 if [ "$1" = "0" -a -f /var/lock/subsys/rc-inetd ]; then
104 /etc/rc.d/init.d/rc-inetd reload 1>&2
108 rm -rf $RPM_BUILD_ROOT
111 %defattr(644,root,root,755)
113 %attr(755,root,root) %{_bindir}/*
117 %defattr(644,root,root,755)
119 %attr(640,root,root) %config(noreplace) %{_sysconfdir}/rsyncd.conf
120 %attr(640,root,root) %config(noreplace) %{_sysconfdir}/rsyncd.secrets
121 %attr(640,root,root) /etc/sysconfig/rc-inetd/rsyncd