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 Patch3: %{name}-2.4.6-ipv6-20010419.patch.gz
17 BuildRequires: autoconf
18 URL: http://samba.anu.edu.au/rsync/
19 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
21 %define _sysconfdir /etc/rsyncd
24 rsync is a replacement for rcp that has many more features.
26 rsync uses the "rsync algorithm" which provides a very fast method for
27 bringing remote files into sync. It does this by sending just the
28 differences in the files across the link, without requiring that both
29 sets of files are present at one of the ends of the link beforehand.
31 A technical report describing the rsync algorithm is included with
35 Rsync jest zamiennikiem programu rcp i jest bardziej rozbudowan±
36 sk³adniê poleceñ. Program ten u¿ywa efektywnego algorytmu "rsync" w
37 czasie komunikacji i transportu plików do systemu zdalnego.
38 Dokumentacja techniczna nowego algorytmu zosta³a równie¿ do³±czona do
42 Summary: Files necessary to run rsync in daemon mode
43 Summary(pl): Pliki niezbêdne do uruchomienia rsynca w trybie serwera
50 %description -n rsyncd
51 rsync is a replacement for rcp that has many more features.
53 rsync uses the "rsync algorithm" which provides a very fast method for
54 bringing remote files into sync. It does this by sending just the
55 differences in the files across the link, without requiring that both
56 sets of files are present at one of the ends of the link beforehand.
58 A technical report describing the rsync algorithm is included with
61 %description -n rsyncd -l pl
62 Rsync jest zamiennikiem programu rcp i jest bardziej rozbudowan±
63 sk³adniê poleceñ. Program ten u¿ywa efektywnego algorytmu "rsync" w
64 czasie komunikacji i transportu plików do systemu zdalnego.
65 Dokumentacja techniczna nowego algorytmu zosta³a równie¿ do³±czona do
81 rm -rf $RPM_BUILD_ROOT
84 prefix=$RPM_BUILD_ROOT%{_prefix} \
85 mandir=$RPM_BUILD_ROOT%{_mandir} \
86 bindir=$RPM_BUILD_ROOT%{_bindir}
88 install -d $RPM_BUILD_ROOT{%{_sysconfdir},/etc/sysconfig/rc-inetd}
90 :> $RPM_BUILD_ROOT%{_sysconfdir}/rsyncd.conf
91 :> $RPM_BUILD_ROOT%{_sysconfdir}/rsyncd.secrets
93 install %{SOURCE1} $RPM_BUILD_ROOT/etc/sysconfig/rc-inetd/rsyncd
98 if [ -f /var/lock/subsys/rc-inetd ]; then
99 /etc/rc.d/init.d/rc-inetd restart 1>&2
101 echo "Type \"/etc/rc.d/init.d/rc-inetd start\" to start inet sever" 1>&2
105 if [ "$1" = "0" -a -f /var/lock/subsys/rc-inetd ]; then
106 /etc/rc.d/init.d/rc-inetd reload 1>&2
110 rm -rf $RPM_BUILD_ROOT
113 %defattr(644,root,root,755)
115 %attr(755,root,root) %{_bindir}/*
119 %defattr(644,root,root,755)
121 %attr(640,root,root) %config(noreplace) %{_sysconfdir}/rsyncd.conf
122 %attr(640,root,root) %config(noreplace) %{_sysconfdir}/rsyncd.secrets
123 %attr(640,root,root) /etc/sysconfig/rc-inetd/rsyncd