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