Summary: A utility for retrieving files using the HTTP or FTP protocols Summary(fr): Un utilitaire pour recuperer des fichiers en utilisant les protocoles HTTP ou FTP Summary(pl): Wsadowy klient HTTP/FTP Name: wget Version: 1.6 Release: 4 License: GPL Group: Networking/Utilities Group(de): Netzwerkwesen/Werkzeuge Group(pl): Sieciowe/Narzêdzia Source0: ftp://ftp.gnu.org/pub/gnu/wget/%{name}-%{version}.tar.gz Source1: http://cade.8m.com/away/%{name}-new-percentage-3.0.tar.gz Source2: wget.pl.po Patch0: %{name}-man.patch Patch1: %{name}-info.patch Patch2: %{name}-DESTDIR.patch Patch3: http://www.t17.ds.pwr.wroc.pl/~misiek/ipv6/%{name}-1.6-ipv6-20010102.patch.gz URL: http://sunsite.dk/wget/ BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) %define _sysconfdir /etc %description GNU Wget is a file retrieval utility which can use either the HTTP or FTP protocols. Wget features include the ability to work in the background while you're logged out, recursive retrieval of directories, file name wildcard matching, remote file timestamp storage and comparison, use of Rest with FTP servers and Range with HTTP servers to retrieve files over slow or unstable connections, support for Proxy servers, and configurability. %description -l fr GNU Wget est un utilitaire pour récupérer des fichiers qui peut utiliser indifféremment les protocoles HTTP ou FTP. Parmi les caractéristiques de Wget, citons la capacité à récupérer des fichiers en arrière-plan alors que vous n'êtes pas connecté, la récupération récursive de répertoires, la capacité de récupérer des fichiers en appliquant un filtre sur le nom ou sur la date, la gestion de Rest avec les serveurs FTP et de Range avec les serveurs HTTP pour récupérer des fichiers avec une connexion lente ou instable, le support des serveurs Proxy... Wget est particulièrement configurable. %description -l pl Wget jest klientem FTP/HTTP przeznaczonym do ¶ci±gania zasobów wsadowo. Umo¿liwia ¶ci±ganie zasobów z podkatalogami, a tak¿e ma opcje umo¿liwiaj±ce wykonanie lokalnej kopii zasobów (mirror). W razie niemo¿no¶ci dostania siê do zasobów lub gdy po³±czenie z serwerem FTP/HTTP zostanie zerwane, mo¿e automatycznie ponawiaæ próby kopiowania. Jest tak¿e dobrze przystosowany do tego, ¿eby uruchamiaæ go jako zadanie z cron'a. %prep %setup -q %patch0 -p1 %patch1 -p1 %patch2 -p1 %patch3 -p1 install %{SOURCE2} po/pl.po tar xzf %{SOURCE1} cd src mv -f ../wget-new-percentage/wget-new-percentage.c . patch retr.c < ../wget-new-percentage/wget-new-percentage.diff %build autoconf autoheader %configure --enable-ipv6 %{__make} tail -6 util/README >rmold.README (cd doc; makeinfo --force %{name}.texi; touch *) %install rm -rf $RPM_BUILD_ROOT %{__make} install DESTDIR=$RPM_BUILD_ROOT install util/rmold.pl $RPM_BUILD_ROOT%{_bindir}/rmold mv -f wget-new-percentage/README README-new_percent gzip -9nf AUTHORS ChangeLog NEWS TODO README MAILING-LIST rmold.README \ README-new_percent %find_lang %{name} %clean rm -rf $RPM_BUILD_ROOT %post [ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1 %postun [ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1 %files -f %{name}.lang %defattr(644,root,root,755) %doc *.gz %verify(not md5 size mtime) %config(noreplace) %{_sysconfdir}/%{name}rc %attr(755,root,root) %{_bindir}/* %{_mandir}/man1/* %{_infodir}/*.info*