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