Summary: A utility for retrieving files using the HTTP or FTP protocols Summary(es): Cliente en línea de comando para bajar archivos WWW/FTP con recursión opcional Summary(fr): Un utilitaire pour recuperer des fichiers en utilisant les protocoles HTTP ou FTP Summary(pl): Wsadowy klient HTTP/FTP Summary(pt_BR): Cliente na linha de comando para baixar arquivos WWW/FTP com recursão opcional Name: wget Version: 1.8.1 Release: 1 License: GPL Group: Networking/Utilities Source0: ftp://ftp.gnu.org/pub/gnu/wget/%{name}-%{version}.tar.gz Source1: %{name}.pl.po Source2: %{name}-non-english-man-pages.tar.bz2 Patch0: %{name}-info.patch Patch1: %{name}-ah.patch #Patch2: ftp://ftp.kame.net/pub/kame/misc/%{name}-17-v6-20010716a.diff.gz #Patch3: %{name}-ipv6-fix.patch #Patch4: %{name}-ac.patch Patch5: %{name}-use_AM_GNU_GETTEXT.patch URL: http://sunsite.dk/wget/ BuildRequires: autoconf BuildRequires: automake BuildRequires: libtool BuildRequires: openssl-devel >= 0.9.6a BuildRequires: texinfo BuildRequires: perl-devel Provides: webclient 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 es GNU wget es una herramienta de red para bajar archivos usando HTTP y FTP. Funciona en modo no interactivo, pudiendo trabajar en background. Funciona muy bien, incluso en conexiones lentas o inestables, bajando el archivo hasta que sea completamente recibido. %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 ja GNU wget ¤Ï HTTP ¤« FTP ¥×¥í¥È¥³¥ë¤Î¤É¤Á¤é¤«¤ò»ÈÍѤ¹¤ë¤³¤È¤¬¤Ç¤­¤ë ¥Õ¥¡¥¤¥ë¤ò¼èÆÀ¤¹¤ë¥æ¡¼¥Æ¥£¥ê¥Æ¥£¤Ç¤¹¡£wget ¤Ï¥í¥°¥¢¥¦¥È¤·¤Æ¤¤¤ë ´Ö¤Ë¥Ð¥Ã¥¯¥°¥é¥¦¥ó¥É¤ÇƯ¤¯ÆÃħ¤ò¤â¤Ã¤Æ¤¤¤ë¤³¤È¡¢¥Ç¥£¥ì¥¯¥È¥ê¤ÎºÆµ¢Åª ¼èÆÀ¡¢¥Õ¥¡¥¤¥ë¥Í¡¼¥à¤Î¥ï¥¤¥ë¥É¥«¡¼¥É¥Þ¥Ã¥Á¥ó¥°¡¢¥Õ¥¡¥¤¥ë¤Î¥¿¥¤¥à¥¹¥¿¥ó¥×¤Î Êݸ¤ÈÈæ³Ó¡¢ÃÙ¤¯ÉÔ°ÂÄê¤ÊÀܳ¤Ç FTP ¥µ¡¼¥Ð¤Î Rest ¤È HTTP ¥µ¡¼¥Ð¤Î Range ¤Î»ÈÍÑ¡¢¥×¥í¥­¥·¡¼¥µ¡¼¥Ð¤Î¥µ¥Ý¡¼¥È¤ÈÀßÄê¤ÎÍưפµ¤ò´Þ¤ó¤ÀÆÃħ¤ò ¤â¤Ã¤Æ¤¤¤Þ¤¹¡£ ¤â¤· HTTP ¤« FTP ¤ÇÂçÎ̤Υե¡¥¤¥ë¤ò¼èÆÀ¤¹¤ëɬÍפ¬¤¢¤Ã¤¿¤ê¡¢Web ¥µ¥¤¥È¤ä FTP ¥Ç¥£¥ì¥¯¥È¥ê¤ò¥ß¥é¡¼¤¹¤ë¥æ¡¼¥Æ¥£¥ê¥Æ¥£¡¼¤¬É¬Íפʤéwget ¤ò¥¤¥ó¥¹¥È¡¼¥ë ¤·¤Ê¤µ¤¤¡£ %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. %description -l pt_BR O GNU wget é uma ferramenta de rede para baixar arquivos usando HTTP e FTP. Ele funciona em modo não interativo, podendo trabalhar em background. Funciona muito bem, mesmo em conexões lentas ou instáveis, baixando o arquivo até que ele seja completamente recebido. %prep %setup -q %patch0 -p1 %patch1 -p1 #%patch2 -p1 #%patch3 -p1 #%patch4 -p1 %patch5 -p1 install %{SOURCE1} po/pl.po %build #echo '#undef ENABLE_IPV6' >> acconfig.h rm -f missing libtoolize --copy --force #autoheader aclocal autoconf %configure \ --with-ssl \ --enable-ipv6 %{__make} CFLAGS="$CFLAGS -DHAVE_NLS -DHAVE_LOCALE_H" tail -6 util/README >rmold.README cd doc makeinfo --force %{name}.texi; touch * %install rm -rf $RPM_BUILD_ROOT install -d $RPM_BUILD_ROOT%{_sysconfdir} echo "y" | \ %{__make} install \ DESTDIR=$RPM_BUILD_ROOT install util/rmold.pl $RPM_BUILD_ROOT%{_bindir}/rmold install doc/sample.wgetrc $RPM_BUILD_ROOT%{_sysconfdir}/wgetrc bzip2 -dc %{SOURCE2} | tar xf - -C $RPM_BUILD_ROOT%{_mandir} gzip -9nf AUTHORS ChangeLog NEWS TODO README MAILING-LIST rmold.README %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/* %lang(hu) %{_mandir}/hu/man1/* %lang(pl) %{_mandir}/pl/man1/* %{_infodir}/*.info*