3 %bcond_with rsh # set remote shell command to rsh instead of ssh (old behaviour)
5 Summary: Program for efficient remote updates of files
6 Summary(es): Programa para actualizar archivos remotos de forma eficiente
7 Summary(ko): ³×Æ®¿öÅ©¸¦ ÅëÇÑ ÆÄÀϵ¿±âȸ¦ À§ÇÑ ÇÁ·Î±×·¥
8 Summary(pl): Program do wydajnego zdalnego uaktualniania plików
9 Summary(pt_BR): Programa para atualizar arquivos remotos de forma eficiente
10 Summary(ru): ðÒÏÇÒÁÍÍÁ ÄÌÑ ÜÆÆÅËÔÉ×ÎÏÇÏ ÕÄÁÌÅÎÎÏÇÏ ÏÂÎÏ×ÌÅÎÉÑ ÆÁÊÌÏ×
11 Summary(uk): ðÒÏÇÒÁÍÁ ÄÌÑ ÅÆÅËÔÉ×ÎÏÇÏ ×¦ÄÄÁÌÅÎÏÇÏ ÏÎÏ×ÌÅÎÎÑ ÆÁÊ̦×
12 Summary(zh_CN): [ͨѶ]´«Ê乤¾ß
13 Summary(zh_TW): [³ñ°Ô]
\e$(B6G?i¤õ(c
\e(B
19 Source0: http://rsync.samba.org/ftp/rsync/%{name}-%{version}.tar.gz
20 # Source0-md5: 3691cdf1540d0649ba679edce6bae8fc
23 Source3: %{name}.sysconfig
24 Source4: %{name}d.logrotate
25 Patch0: %{name}-2.6.5-2.6.6pre1.diffs.gz
26 Patch1: %{name}-config.patch
27 Patch2: %{name}-man.patch
28 URL: http://rsync.samba.org/
29 BuildRequires: autoconf >= 2.52
30 BuildRequires: automake
31 BuildRequires: popt-devel
32 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
34 %define _sysconfdir /etc/rsyncd
37 rsync is a replacement for rcp that has many more features.
39 rsync uses the "rsync algorithm" which provides a very fast method for
40 bringing remote files into sync. It does this by sending just the
41 differences in the files across the link, without requiring that both
42 sets of files are present at one of the ends of the link beforehand.
44 A technical report describing the rsync algorithm is included with
48 rsync es un substituto más rápido y flexible para rcp que permite la
49 sincronización de archivos o directorios, vía red, de forma rápida y
50 eficiente, entre diferentes máquinas transfiriendo solamente las
51 diferencias entre estos directorios de forma compactada. No necesita
52 que ninguna de las máquinas tengan una copia de lo que está en la
53 otra. Está disponible en este paquete, una relación técnica
54 describiendo el algoritmo usado por el rsync.
57 Rsync´Â ¿ø°Ý È£½ºÆ® ÆÄÀÏÀ» ¸Å¿ì »¡¸® µ¿±âÈÇϴµ¥ ½Å·ÚÇÒ¸¸ÇÑ
58 ¾Ë°í¸®ÁòÀ» »ç¿ëÇÑ´Ù. Rsync´Â ÆÄÀÏÀÇ Àüü¸¦ º¸³»´Â °Í ´ë½Å¿¡ ³×Æ®¿÷À»
59 ÅëÇØ ÆÄÀÏÀÇ ´Ù¸¥ ºÎºÐ¸¸À» Àü¼ÛÇϱ⠶§¹®¿¡ ºü¸£´Ù. Rsync´Â °·ÂÇÑ ¹Ì·¯
60 ÇÁ·Î¼¼½º ȤÀº rcp Ä¿¸àµå¸¦ ÅëÇÑ ´õ ¿ì¼öÇÑ ´ëü¿ëÀ¸·Î½á »ç¿ëµÈ´Ù. rsync
61 ¾Ë°í¸®ÁòÀ» ¹¦»çÇÏ´Â ±â¼úÀûÀÎ ³»¿ëÀº ÀÌ ²Ù·¯¹Ì¿¡ Æ÷ÇԵǾî ÀÖ´Ù.
64 Rsync jest zamiennikiem programu rcp z bardziej rozbudowan± sk³adni±
65 poleceñ. Program ten u¿ywa efektywnego algorytmu "rsync" w czasie
66 komunikacji i transportu plików do systemu zdalnego. Dokumentacja
67 techniczna nowego algorytmu zosta³a równie¿ do³±czona do pakietu.
70 O rsync é um substituto mais rápido e flexível para o rcp permitindo
71 sincronização de arquivos ou diretórios via rede de forma rápida e
72 eficiente entre diferentes máquinas transferindo somente as diferenças
73 entre estes diretórios de forma compactada. Ele não precisa que
74 nenhuma das máquinas tenha uma cópia do que está na outra.
76 Um relatório técnico descrevendo o algoritmo usado pelo rsync está
77 disponível neste pacote.
80 rsync - ÜÔÏ ÂÏÌÅÅ ÂÙÓÔÒÁÑ É ÇÉÂËÁÑ ÁÌØÔÅÒÎÁÔÉ×Á rcp, ÐÏÚ×ÏÌÑÀÝÁÑ
81 ÂÙÓÔÒÕÀ É ÜÆÆÅËÔÉ×ÎÕÀ ÐÏ ÏÔÎÏÛÅÎÉÀ Ë ÒÅÓÕÒÓÁÍ ÓÅÔÉ ÓÉÎÈÒÏÎÉÚÁÃÉÀ
82 ÆÁÊÌÏ× ÉÌÉ ËÁÔÁÌÏÇÏ× ÎÁ ÒÁÚÌÉÞÎÙÈ ÍÁÛÉÎÁÈ ÐÕÔÅÍ ÐÅÒÅÄÁÞÉ ÔÏÌØËÏ
83 ÒÁÚÌÉÞÉÊ ÍÅÖÄÕ ÎÉÍÉ × ËÏÍÐÒÅÓÓÉÒÏ×ÁÎÎÏÍ ×ÉÄÅ. ðÒÉ ÜÔÏÍ ÓÏ×ÅÒÛÅÎÎÏ ÎÅ
84 ÏÂÑÚÁÔÅÌØÎÏ, ÞÔÏÂÙ ÏÄÎÁ ÍÁÛÉÎÁ ÉÍÅÌÁ Õ ÓÅÂÑ ËÏÐÉÀ ÔÏÇÏ, ÞÔÏ ÅÓÔØ ÎÁ
88 rsync - ÃÅ Û×ÉÄÛÁ ÔÁ ÇÎÕÞ˦ÛÁ ÁÌØÔÅÒÎÁÔÉ×Á rcp, ÑËÁ ÚÁÂÅÚÐÅÞÕ¤ Û×ÉÄËÕ
89 ÔÁ ÅÆÅËÔÉ×ÎÕ ÐÏ ×¦ÄÎÏÛÅÎÎÀ ÄÏ ÒÅÓÕÒÓ¦× ÍÅÒÅÖ¦ ÓÉÎÈÒÏΦÚÁæÀ ÆÁÊÌ¦× ÞÉ
90 ËÁÔÁÌÏÇ¦× ÎÁ Ò¦ÚÎÉÈ ÍÁÛÉÎÁÈ ÛÌÑÈÏÍ ÐÅÒÅÄÁÞ¦ ÌÉÛŠצÄͦÎÎÏÓÔÅÊ Í¦Ö ÎÉÍÉ
91 × ËÏÍÐÒÅÓÏ×ÁÎÏÍÕ ×ÉĦ. ðÒÉ ÃØÏÍÕ ÚÏ×Ó¦Í ÎÅ ÏÂÏ×'ÑÚËÏ×Ï, ÝÏ ÏÄÎÁ
92 ÍÁÛÉÎÁ ÍÁÌÁ × ÓÅÂÅ ËÏЦÀ ÔÏÇÏ, ÝÏ ¤ ÎÁ ¦ÎÛ¦Ê ÍÁÛÉΦ.
94 %package -n rsyncd-inetd
95 Summary: Files necessary to run rsync in daemon mode
96 Summary(pl): Pliki niezbêdne do uruchomienia rsynca w trybie serwera
102 Obsoletes: rsyncd-standalone
104 %description -n rsyncd-inetd
105 rsync is a replacement for rcp that has many more features.
107 rsync uses the "rsync algorithm" which provides a very fast method for
108 bringing remote files into sync. It does this by sending just the
109 differences in the files across the link, without requiring that both
110 sets of files are present at one of the ends of the link beforehand.
112 A technical report describing the rsync algorithm is included with
115 %description -n rsyncd-inetd -l pl
116 Rsync jest zamiennikiem programu rcp z bardziej rozbudowan± sk³adni±
117 poleceñ. Program ten u¿ywa efektywnego algorytmu "rsync" w czasie
118 komunikacji i transportu plików do systemu zdalnego. Dokumentacja
119 techniczna nowego algorytmu zosta³a równie¿ do³±czona do pakietu.
121 %package -n rsyncd-standalone
122 Summary: Files necessary to run rsync in daemon mode
123 Summary(pl): Pliki niezbêdne do uruchomienia rsynca w trybie serwera
125 Requires(post,preun): /sbin/chkconfig
129 Obsoletes: rsyncd-inetd
131 %description -n rsyncd-standalone
132 rsync is a replacement for rcp that has many more features.
134 rsync uses the "rsync algorithm" which provides a very fast method for
135 bringing remote files into sync. It does this by sending just the
136 differences in the files across the link, without requiring that both
137 sets of files are present at one of the ends of the link beforehand.
139 A technical report describing the rsync algorithm is included with
142 %description -n rsyncd-standalone -l pl
143 Rsync jest zamiennikiem programu rcp z bardziej rozbudowan± sk³adni±
144 poleceñ. Program ten u¿ywa efektywnego algorytmu "rsync" w czasie
145 komunikacji i transportu plików do systemu zdalnego. Dokumentacja
146 techniczna nowego algorytmu zosta³a równie¿ do³±czona do pakietu.
155 cp -f /usr/share/automake/config.sub .
158 %{?with_rsh:--with-rsh=rsh} \
161 --with-rsyncd-conf=%{_sysconfdir}/rsyncd.conf
166 rm -rf $RPM_BUILD_ROOT
167 install -d $RPM_BUILD_ROOT/etc/env.d
170 prefix=$RPM_BUILD_ROOT%{_prefix} \
171 mandir=$RPM_BUILD_ROOT%{_mandir} \
172 bindir=$RPM_BUILD_ROOT%{_bindir}
174 install -d $RPM_BUILD_ROOT{%{_sysconfdir},/etc/{sysconfig/rc-inetd,rc.d/init.d,logrotate.d},/var/log}
176 :> $RPM_BUILD_ROOT/var/log/rsyncd.log
177 :> $RPM_BUILD_ROOT%{_sysconfdir}/rsyncd.secrets
179 cat << EOF > $RPM_BUILD_ROOT%{_sysconfdir}/rsyncd.conf
180 log file = /var/log/rsyncd.log
183 cat << EOF > $RPM_BUILD_ROOT/etc/env.d/CVSIGNORE
186 cat << EOF > $RPM_BUILD_ROOT/etc/env.d/RSYNC_RSH
189 cat << EOF > $RPM_BUILD_ROOT/etc/env.d/RSYNC_PROXY
192 cat << EOF > $RPM_BUILD_ROOT/etc/env.d/RSYNC_PASSWORD
196 install %{SOURCE1} $RPM_BUILD_ROOT/etc/sysconfig/rc-inetd/rsyncd
197 install %{SOURCE2} $RPM_BUILD_ROOT/etc/rc.d/init.d/rsyncd
198 install %{SOURCE3} $RPM_BUILD_ROOT/etc/sysconfig/rsyncd
199 install %{SOURCE4} $RPM_BUILD_ROOT/etc/logrotate.d/rsyncd
202 rm -rf $RPM_BUILD_ROOT
204 %post -n rsyncd-inetd
205 if [ -f /var/lock/subsys/rc-inetd ]; then
206 /etc/rc.d/init.d/rc-inetd restart 1>&2
208 echo "Type \"/etc/rc.d/init.d/rc-inetd start\" to start inet server" 1>&2
211 %postun -n rsyncd-inetd
212 if [ "$1" = "0" -a -f /var/lock/subsys/rc-inetd ]; then
213 /etc/rc.d/init.d/rc-inetd reload 1>&2
216 %post -n rsyncd-standalone
217 /sbin/chkconfig --add rsyncd
218 if [ -f /var/lock/subsys/rsyncd ]; then
219 /etc/rc.d/init.d/rsyncd restart 1>&2
221 echo "Type \"/etc/rc.d/init.d/rsyncd start\" to start rsync server" 1>&2
224 %preun -n rsyncd-standalone
225 if [ "$1" = "0" ]; then
226 if [ -f /var/lock/subsys/rsyncd ]; then
227 /etc/rc.d/init.d/rsyncd stop 1>&2
229 /sbin/chkconfig --del rsyncd
233 %defattr(644,root,root,755)
234 %doc README NEWS OLDNEWS TODO
235 %attr(644,root,root) %config(noreplace,missingok) %verify(not md5 mtime size) /etc/env.d/*
236 %attr(755,root,root) %{_bindir}/*
239 %files -n rsyncd-inetd
240 %defattr(644,root,root,755)
242 %attr(640,root,root) %config(noreplace) %{_sysconfdir}/rsyncd.conf
243 %attr(640,root,root) %config(noreplace) %{_sysconfdir}/rsyncd.secrets
244 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) /etc/logrotate.d/rsyncd
245 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) /etc/sysconfig/rc-inetd/rsyncd
246 %attr(640,root,root) %ghost /var/log/rsyncd.log
249 %files -n rsyncd-standalone
250 %defattr(644,root,root,755)
252 %attr(640,root,root) %config(noreplace) %{_sysconfdir}/rsyncd.conf
253 %attr(640,root,root) %config(noreplace) %{_sysconfdir}/rsyncd.secrets
254 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) /etc/sysconfig/rsyncd
255 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) /etc/logrotate.d/rsyncd
256 %attr(640,root,root) %ghost /var/log/rsyncd.log
257 %attr(754,root,root) /etc/rc.d/init.d/rsyncd