2 Summary: A utility for retrieving files using the HTTP or FTP protocols
3 Summary(fr): Un utilitaire pour recuperer des fichiers en utilisant les protocoles HTTP ou FTP
4 Summary(pl): Wsadowy klient HTTP/FTP
9 Group: Networking/Utilities
10 Group(de): Netzwerkwesen/Werkzeuge
11 Group(pl): Sieciowe/Narzêdzia
12 Source0: ftp://ftp.gnu.org/pub/gnu/wget/%{name}-%{version}.tar.gz
13 Source1: http://cade.8m.com/away/%{name}-new-percentage-3.0.tar.gz
14 Patch0: %{name}-man.patch
15 Patch1: %{name}-info.patch
16 Patch2: %{name}-DESTDIR.patch
17 Patch3: %{name}-1.6-ipv6-20010102.patch.gz
18 URL: http://sunsite.dk/wget/
19 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
21 %define _sysconfdir /etc
24 GNU Wget is a file retrieval utility which can use either the HTTP or
25 FTP protocols. Wget features include the ability to work in the
26 background while you're logged out, recursive retrieval of
27 directories, file name wildcard matching, remote file timestamp
28 storage and comparison, use of Rest with FTP servers and Range with
29 HTTP servers to retrieve files over slow or unstable connections,
30 support for Proxy servers, and configurability.
33 GNU Wget est un utilitaire pour récupérer des fichiers qui peut
34 utiliser indifféremment les protocoles HTTP ou FTP. Parmi les
35 caractéristiques de Wget, citons la capacité à récupérer des fichiers
36 en arrière-plan alors que vous n'êtes pas connecté, la récupération
37 récursive de répertoires, la capacité de récupérer des fichiers en
38 appliquant un filtre sur le nom ou sur la date, la gestion de Rest
39 avec les serveurs FTP et de Range avec les serveurs HTTP pour
40 récupérer des fichiers avec une connexion lente ou instable, le
41 support des serveurs Proxy... Wget est particulièrement configurable.
44 Wget jest klientem FTP/HTTP przeznaczonym do ¶ci±gania zasobów
45 wsadowo. Umo¿liwia ¶ci±ganie zasobów z podkatalogami, a tak¿e ma opcje
46 umo¿liwiaj±ce wykonanie lokalnej kopii zasobów (mirror). W razie
47 niemo¿no¶ci dostania siê do zasobów lub gdy po³±czenie z serwerem
48 FTP/HTTP zostanie zerwane, mo¿e automatycznie ponawiaæ próby
49 kopiowania. Jest tak¿e dobrze przystosowany do tego, ¿eby uruchamiaæ
50 go jako zadanie z cron'a.
60 mv -f ../wget-new-percentage/wget-new-percentage.c .
61 patch retr.c < ../wget-new-percentage/wget-new-percentage.diff
66 %configure --enable-ipv6
68 tail -6 util/README >rmold.README
70 (cd doc; makeinfo --force %{name}.texi; touch *)
73 rm -rf $RPM_BUILD_ROOT
75 %{__make} install DESTDIR=$RPM_BUILD_ROOT
77 install util/rmold.pl $RPM_BUILD_ROOT%{_bindir}/rmold
79 mv -f wget-new-percentage/README README-new_percent
81 gzip -9nf AUTHORS ChangeLog NEWS TODO README MAILING-LIST rmold.README \
87 rm -rf $RPM_BUILD_ROOT
90 [ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1
93 [ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1
95 %files -f %{name}.lang
96 %defattr(644,root,root,755)
98 %verify(not md5 size mtime) %config(noreplace) %{_sysconfdir}/%{name}rc
99 %attr(755,root,root) %{_bindir}/*