]> git.pld-linux.org Git - packages/rsync.git/blob - rsync.spec
- merge segv patch from RH,
[packages/rsync.git] / rsync.spec
1 Summary:        Program for efficient remote updates of files
2 Summary(es):    Programa para actualizar archivos remotos de forma eficiente
3 Summary(ko):    ³×Æ®¿öÅ©¸¦ ÅëÇÑ ÆÄÀϵ¿±âÈ­¸¦ À§ÇÑ ÇÁ·Î±×·¥
4 Summary(pl):    Program do wydajnego zdalnego uaktualniania plików
5 Summary(pt_BR): Programa para atualizar arquivos remotos de forma eficiente
6 Summary(ru):    ðÒÏÇÒÁÍÍÁ ÄÌÑ ÜÆÆÅËÔÉ×ÎÏÇÏ ÕÄÁÌÅÎÎÏÇÏ ÏÂÎÏ×ÌÅÎÉÑ ÆÁÊÌÏ×
7 Summary(uk):    ðÒÏÇÒÁÍÁ ÄÌÑ ÅÆÅËÔÉ×ÎÏÇϠצÄÄÁÌÅÎÏÇÏ ÏÎÏ×ÌÅÎÎÑ ÆÁÊ̦×
8 Summary(zh_CN): [ͨѶ]´«Ê乤¾ß
9 Summary(zh_TW): [³ñ°Ô]\e$(B6G?i¤õ(c\e(B
10 Name:           rsync
11 Version:        2.5.6
12 Release:        1
13 License:        GPL
14 Group:          Daemons
15 Source0:        http://rsync.samba.org/ftp/rsync/%{name}-%{version}.tar.gz
16 Source1:        %{name}.inet
17 Source2:        %{name}.init
18 Source3:        %{name}.sysconfig
19 Patch0:         %{name}-config.patch
20 Patch1:         %{name}-man.patch
21 Patch2:         %{name}-segv.patch
22 BuildRequires:  autoconf
23 BuildRequires:  popt-devel
24 URL:            http://samba.anu.edu.au/rsync/
25 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
26
27 %define         _sysconfdir     /etc/rsyncd
28
29 %description
30 rsync is a replacement for rcp that has many more features.
31
32 rsync uses the "rsync algorithm" which provides a very fast method for
33 bringing remote files into sync. It does this by sending just the
34 differences in the files across the link, without requiring that both
35 sets of files are present at one of the ends of the link beforehand.
36
37 A technical report describing the rsync algorithm is included with
38 this package.
39
40 %description -l es
41 rsync es un substituto más rápido y flexible para rcp que permite la
42 sincronización de archivos o directorios, vía red, de forma rápida y
43 eficiente, entre diferentes máquinas transfiriendo solamente las
44 diferencias entre estos directorios de forma compactada. No necesita
45 que ninguna de las máquinas tengan una copia de lo que está en la
46 otra. Está disponible en este paquete, una relación técnica
47 describiendo el algoritmo usado por el rsync.
48
49 %description -l ko
50 Rsync´Â ¿ø°Ý È£½ºÆ® ÆÄÀÏÀ» ¸Å¿ì »¡¸® µ¿±âÈ­Çϴµ¥ ½Å·ÚÇÒ¸¸ÇÑ
51 ¾Ë°í¸®ÁòÀ» »ç¿ëÇÑ´Ù. Rsync´Â ÆÄÀÏÀÇ Àüü¸¦ º¸³»´Â °Í ´ë½Å¿¡ ³×Æ®¿÷À»
52 ÅëÇØ ÆÄÀÏÀÇ ´Ù¸¥ ºÎºÐ¸¸À» Àü¼ÛÇϱ⠶§¹®¿¡ ºü¸£´Ù. Rsync´Â °­·ÂÇÑ ¹Ì·¯
53 ÇÁ·Î¼¼½º È¤Àº rcp Ä¿¸àµå¸¦ ÅëÇÑ ´õ ¿ì¼öÇÑ ´ëü¿ëÀ¸·Î½á »ç¿ëµÈ´Ù. rsync
54 ¾Ë°í¸®ÁòÀ» ¹¦»çÇϴ ±â¼úÀûÀΠ³»¿ëÀº ÀÌ ²Ù·¯¹Ì¿¡ Æ÷ÇԵǾî ÀÖ´Ù.
55
56 %description -l pl
57 Rsync jest zamiennikiem programu rcp z bardziej rozbudowan± sk³adni±
58 poleceñ. Program ten u¿ywa efektywnego algorytmu "rsync" w czasie
59 komunikacji i transportu plików do systemu zdalnego. Dokumentacja
60 techniczna nowego algorytmu zosta³a równie¿ do³±czona do pakietu.
61
62 %description -l pt_BR
63 O rsync é um substituto mais rápido e flexível para o rcp permitindo
64 sincronização de arquivos ou diretórios via rede de forma rápida e
65 eficiente entre diferentes máquinas transferindo somente as diferenças
66 entre estes diretórios de forma compactada. Ele não precisa que
67 nenhuma das máquinas tenha uma cópia do que está na outra.
68
69 Um relatório técnico descrevendo o algoritmo usado pelo rsync está
70 disponível neste pacote.
71
72 %description -l ru
73 rsync - ÜÔÏ ÂÏÌÅÅ ÂÙÓÔÒÁÑ É ÇÉÂËÁÑ ÁÌØÔÅÒÎÁÔÉ×Á rcp, ÐÏÚ×ÏÌÑÀÝÁÑ
74 ÂÙÓÔÒÕÀ É ÜÆÆÅËÔÉ×ÎÕÀ ÐÏ ÏÔÎÏÛÅÎÉÀ Ë ÒÅÓÕÒÓÁÍ ÓÅÔÉ ÓÉÎÈÒÏÎÉÚÁÃÉÀ
75 ÆÁÊÌÏ× ÉÌÉ ËÁÔÁÌÏÇÏ× ÎÁ ÒÁÚÌÉÞÎÙÈ ÍÁÛÉÎÁÈ ÐÕÔÅÍ ÐÅÒÅÄÁÞÉ ÔÏÌØËÏ
76 ÒÁÚÌÉÞÉÊ ÍÅÖÄÕ ÎÉÍÉ × ËÏÍÐÒÅÓÓÉÒÏ×ÁÎÎÏÍ ×ÉÄÅ. ðÒÉ ÜÔÏÍ ÓÏ×ÅÒÛÅÎÎÏ ÎÅ
77 ÏÂÑÚÁÔÅÌØÎÏ, ÞÔÏÂÙ ÏÄÎÁ ÍÁÛÉÎÁ ÉÍÅÌÁ Õ ÓÅÂÑ ËÏÐÉÀ ÔÏÇÏ, ÞÔÏ ÅÓÔØ ÎÁ
78 ÄÒÕÇÏÊ ÍÁÛÉÎÅ.
79
80 %description -l uk
81 rsync - ÃÅ Û×ÉÄÛÁ ÔÁ ÇÎÕÞ˦ÛÁ ÁÌØÔÅÒÎÁÔÉ×Á rcp, ÑËÁ ÚÁÂÅÚÐÅÞÕ¤ Û×ÉÄËÕ
82 ÔÁ ÅÆÅËÔÉ×ÎÕ ÐϠצÄÎÏÛÅÎÎÀ ÄÏ ÒÅÓÕÒӦנÍÅÒÅÖ¦ ÓÉÎÈÒÏΦÚÁæÀ ÆÁÊ̦נÞÉ
83 ËÁÔÁÌÏǦנÎÁ Ò¦ÚÎÉÈ ÍÁÛÉÎÁÈ ÛÌÑÈÏÍ ÐÅÒÅÄÁÞ¦ ÌÉÛŠצÄͦÎÎÏÓÔÅʠͦ֠ÎÉÍÉ
84 × ËÏÍÐÒÅÓÏ×ÁÎÏÍÕ ×ÉĦ. ðÒÉ ÃØÏÍÕ ÚÏ×Ӧ͠ÎÅ ÏÂÏ×'ÑÚËÏ×Ï, ÝÏ ÏÄÎÁ
85 ÍÁÛÉÎÁ ÍÁÌÁ × ÓÅÂÅ ËÏЦÀ ÔÏÇÏ, ÝÏ ¤ ÎÁ ¦ÎۦʠÍÁÛÉΦ.
86
87 %package -n rsyncd-inetd
88 Summary:        Files necessary to run rsync in daemon mode
89 Summary(pl):    Pliki niezbêdne do uruchomienia rsynca w trybie serwera
90 Group:          Daemons
91 PreReq:         rc-inetd
92 Requires:       %{name}
93 Provides:       rsyncd
94 Obsoletes:      rsyncd
95 Obsoletes:      rsyncd-standalone
96
97 %description -n rsyncd-inetd
98 rsync is a replacement for rcp that has many more features.
99
100 rsync uses the "rsync algorithm" which provides a very fast method for
101 bringing remote files into sync. It does this by sending just the
102 differences in the files across the link, without requiring that both
103 sets of files are present at one of the ends of the link beforehand.
104
105 A technical report describing the rsync algorithm is included with
106 this package.
107
108 %description -n rsyncd-inetd -l pl
109 Rsync jest zamiennikiem programu rcp z bardziej rozbudowan± sk³adni±
110 poleceñ. Program ten u¿ywa efektywnego algorytmu "rsync" w czasie
111 komunikacji i transportu plików do systemu zdalnego. Dokumentacja
112 techniczna nowego algorytmu zosta³a równie¿ do³±czona do pakietu.
113
114 %package -n rsyncd-standalone
115 Summary:        Files necessary to run rsync in daemon mode
116 Summary(pl):    Pliki niezbêdne do uruchomienia rsynca w trybie serwera
117 Group:          Daemons
118 Requires(post,preun):/sbin/chkconfig
119 Requires:       %{name}
120 Provides:       rsyncd
121 Obsoletes:      rsyncd
122 Obsoletes:      rsyncd-inetd
123
124 %description -n rsyncd-standalone
125 rsync is a replacement for rcp that has many more features.
126
127 rsync uses the "rsync algorithm" which provides a very fast method for
128 bringing remote files into sync. It does this by sending just the
129 differences in the files across the link, without requiring that both
130 sets of files are present at one of the ends of the link beforehand.
131
132 A technical report describing the rsync algorithm is included with
133 this package.
134
135 %description -n rsyncd-standalone -l pl
136 Rsync jest zamiennikiem programu rcp z bardziej rozbudowan± sk³adni±
137 poleceñ. Program ten u¿ywa efektywnego algorytmu "rsync" w czasie
138 komunikacji i transportu plików do systemu zdalnego. Dokumentacja
139 techniczna nowego algorytmu zosta³a równie¿ do³±czona do pakietu.
140
141 %prep
142 %setup  -q
143 %patch0 -p1
144 %patch1 -p1
145 %patch2 -p1
146
147 %build
148 %{__autoconf}
149 %configure \
150         --enable-ipv6 \
151         --disable-debug
152
153 %{__make}
154
155 %install
156 rm -rf $RPM_BUILD_ROOT
157
158 %{__make} install \
159         prefix=$RPM_BUILD_ROOT%{_prefix} \
160         mandir=$RPM_BUILD_ROOT%{_mandir} \
161         bindir=$RPM_BUILD_ROOT%{_bindir}
162
163 install -d $RPM_BUILD_ROOT{%{_sysconfdir},/etc/{sysconfig/rc-inetd,rc.d/init.d}}
164
165 :> $RPM_BUILD_ROOT%{_sysconfdir}/rsyncd.conf
166 :> $RPM_BUILD_ROOT%{_sysconfdir}/rsyncd.secrets
167
168 install %{SOURCE1} $RPM_BUILD_ROOT/etc/sysconfig/rc-inetd/rsyncd
169 install %{SOURCE2} $RPM_BUILD_ROOT/etc/rc.d/init.d/rsyncd
170 install %{SOURCE3} $RPM_BUILD_ROOT/etc/sysconfig/rsyncd
171
172 %clean
173 rm -rf $RPM_BUILD_ROOT
174
175 %post -n rsyncd-inetd
176 if [ -f /var/lock/subsys/rc-inetd ]; then
177         /etc/rc.d/init.d/rc-inetd restart 1>&2
178 else
179         echo "Type \"/etc/rc.d/init.d/rc-inetd start\" to start inet server" 1>&2
180 fi
181
182 %postun -n rsyncd-inetd
183 if [ "$1" = "0" -a -f /var/lock/subsys/rc-inetd ]; then
184         /etc/rc.d/init.d/rc-inetd reload 1>&2
185 fi
186
187 %post -n rsyncd-standalone
188 /sbin/chkconfig --add rsyncd
189 if [ -f /var/lock/subsys/rsyncd ]; then
190         /etc/rc.d/init.d/rsyncd restart 1>&2
191 else
192         echo "Type \"/etc/rc.d/init.d/rsyncd start\" to start rsync server" 1>&2
193 fi
194
195 %preun -n rsyncd-standalone
196 if [ "$1" = "0" ]; then
197         if [ -f /var/lock/subsys/rsyncd ]; then
198                 /etc/rc.d/init.d/rsyncd stop 1>&2
199         fi
200         /sbin/chkconfig --del rsyncd
201 fi
202
203 %files
204 %defattr(644,root,root,755)
205 %doc README
206 %attr(755,root,root) %{_bindir}/*
207 %{_mandir}/man1/*
208
209 %files -n rsyncd-inetd
210 %defattr(644,root,root,755)
211 %dir %{_sysconfdir}
212 %attr(640,root,root) %config(noreplace) %{_sysconfdir}/rsyncd.conf
213 %attr(640,root,root) %config(noreplace) %{_sysconfdir}/rsyncd.secrets
214 %attr(640,root,root) /etc/sysconfig/rc-inetd/rsyncd
215 %{_mandir}/man5/*
216
217 %files -n rsyncd-standalone
218 %defattr(644,root,root,755)
219 %dir %{_sysconfdir}
220 %attr(640,root,root) %config(noreplace) %{_sysconfdir}/rsyncd.conf
221 %attr(640,root,root) %config(noreplace) %{_sysconfdir}/rsyncd.secrets
222 %attr(640,root,root) %config(noreplace) /etc/sysconfig/rsyncd
223 %attr(755,root,root) /etc/rc.d/init.d/rsyncd
224 %{_mandir}/man5/*
This page took 0.073731 seconds and 4 git commands to generate.