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