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