+# TODO
+# - -porn patch does not work with LFS
+# - -back-to-ipv4 patch closes socket -1
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(zh_CN): [ͨѶ]¹¦ÄÜÇ¿´óµÄÏÂÔسÌÐò,Ö§³Ö¶ÏµãÐø´«
Name: wget
Version: 1.9.1
-Release: 6
+Release: 6.3
License: GPL
Group: Networking/Utilities
Source0: ftp://ftp.gnu.org/gnu/wget/%{name}-%{version}.tar.gz
Patch8: %{name}-strptime.patch
Patch9: %{name}-porn.patch
Patch10: %{name}-nonperm.patch
+Patch11: %{name}-1.9.1-LFS.patch
URL: http://sunsite.dk/wget/
BuildRequires: autoconf >= 2.50
BuildRequires: automake
%patch8 -p1
%patch9 -p1
%patch10 -p1
+%patch11 -p1
rm -f doc/wget.info*
mv -f po/{no,nb}.po
%{__autoconf}
%configure \
--with-ssl \
+ --enable-LFS \
--enable-ipv6
%{__make}
tail -n 6 util/README >rmold.README