1 Summary: Program for efficient remote updates of files
2 Summary(pl): Program efektywnego modyfikowania plików na zdalnym komputerze
8 Source0: http://rsync.samba.org/ftp/rsync/%{name}-%{version}.tar.gz
10 Patch0: %{name}-config.patch
11 Patch1: %{name}-man.patch
12 BuildRequires: autoconf
13 BuildRequires: popt-devel
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
38 Summary: Files necessary to run rsync in daemon mode
39 Summary(pl): Pliki niezbêdne do uruchomienia rsynca w trybie serwera
44 %description -n rsyncd
45 rsync is a replacement for rcp that has many more features.
47 rsync uses the "rsync algorithm" which provides a very fast method for
48 bringing remote files into sync. It does this by sending just the
49 differences in the files across the link, without requiring that both
50 sets of files are present at one of the ends of the link beforehand.
52 A technical report describing the rsync algorithm is included with
55 %description -n rsyncd -l pl
56 Rsync jest zamiennikiem programu rcp i jest bardziej rozbudowan±
57 sk³adniê poleceñ. Program ten u¿ywa efektywnego algorytmu "rsync" w
58 czasie komunikacji i transportu plików do systemu zdalnego.
59 Dokumentacja techniczna nowego algorytmu zosta³a równie¿ do³±czona do
75 rm -rf $RPM_BUILD_ROOT
78 prefix=$RPM_BUILD_ROOT%{_prefix} \
79 mandir=$RPM_BUILD_ROOT%{_mandir} \
80 bindir=$RPM_BUILD_ROOT%{_bindir}
82 install -d $RPM_BUILD_ROOT{%{_sysconfdir},/etc/sysconfig/rc-inetd}
84 :> $RPM_BUILD_ROOT%{_sysconfdir}/rsyncd.conf
85 :> $RPM_BUILD_ROOT%{_sysconfdir}/rsyncd.secrets
87 install %{SOURCE1} $RPM_BUILD_ROOT/etc/sysconfig/rc-inetd/rsyncd
92 if [ -f /var/lock/subsys/rc-inetd ]; then
93 /etc/rc.d/init.d/rc-inetd restart 1>&2
95 echo "Type \"/etc/rc.d/init.d/rc-inetd start\" to start inet server" 1>&2
99 if [ "$1" = "0" -a -f /var/lock/subsys/rc-inetd ]; then
100 /etc/rc.d/init.d/rc-inetd reload 1>&2
104 rm -rf $RPM_BUILD_ROOT
107 %defattr(644,root,root,755)
109 %attr(755,root,root) %{_bindir}/*
113 %defattr(644,root,root,755)
115 %attr(640,root,root) %config(noreplace) %{_sysconfdir}/rsyncd.conf
116 %attr(640,root,root) %config(noreplace) %{_sysconfdir}/rsyncd.secrets
117 %attr(640,root,root) /etc/sysconfig/rc-inetd/rsyncd