Summary(uk): õÔÉ̦ÔÁ ÄÌÑ ÏÔÒÉÍÁÎÎÑ ÆÁÊÌ¦× ÐÏ ÐÒÏÔÏËÏÌÁÍ HTTP ÔÁ FTP
Summary(zh_CN): [ͨѶ]¹¦ÄÜÇ¿´óµÄÏÂÔسÌÐò,Ö§³Ö¶ÏµãÐø´«
Name: wget
-Version: 1.8.2
-Release: 5
+Version: 1.9
+Release: 0.3
License: GPL
Group: Networking/Utilities
-Source0: ftp://ftp.gnu.org/pub/gnu/wget/%{name}-%{version}.tar.gz
-# Source0-md5: a2473d7a53ebaf0a1bdb06f17059e8f1
-Source2: %{name}-non-english-man-pages.tar.bz2
-# Source2-md5: bad85be11d26aeab8158cdfcf7e7483e
+Source0: http://fly.srk.fer.hr/~hniksic/wget/%{name}-%{version}-rc1.tar.gz
+# Source0-md5: c63649b78a0821ea557a569009c5d89a
+Source1: http://www.mif.pg.gda.pl/homepages/ankry/man-PLD/%{name}-non-english-man-pages.tar.bz2
+# Source1-md5: d8b2b56ec7461606c22edbafaf8a418f
Patch0: %{name}-info.patch
Patch1: %{name}-ac.patch
-# based on http://www14.u-page.so-net.ne.jp/db3/h-yamamo/ipv6/patches/%{name}-1.8.1-v6-20219.patch.gz
-Patch2: %{name}-ipv6.patch
-Patch3: %{name}-ht.patch
-Patch4: %{name}-filename.patch
-Patch5: %{name}-lame_fs.patch
-Patch6: %{name}-pl.patch
+Patch2: %{name}-m4.patch
+Patch3: %{name}-lame_fs.patch
+Patch4: %{name}-pl.patch
+Patch5: %{name}-wgetrc_path.patch
+Patch6: %{name}-back-to-ipv4.patch
URL: http://sunsite.dk/wget/
BuildRequires: autoconf
BuildRequires: automake
BuildRequires: gettext-devel
BuildRequires: libtool
-BuildRequires: openssl-devel >= 0.9.7
+BuildRequires: openssl-devel >= 0.9.7c
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
Proxy ÓÅÒ×ÅÒ¦×, ÎÁÓÔÒÏÀ×ÁΦÓÔØ.
%prep
-%setup -q
+%setup -q -n %{name}-%{version}-rc1
%patch0 -p1
%patch1 -p1
%patch2 -p1
-%patch3 -p0
+#%patch3 -p1
%patch4 -p1
%patch5 -p1
%patch6 -p1
%build
-rm -f missing
+rm -f aclocal.m4
%{__libtoolize}
+%{__gettextize}
%{__aclocal}
%{__autoheader}
%{__autoconf}
rm -rf $RPM_BUILD_ROOT
install -d $RPM_BUILD_ROOT%{_sysconfdir}
-echo "y" | \
+#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}
+bzip2 -dc %{SOURCE1} | tar xf - -C $RPM_BUILD_ROOT%{_mandir}
%find_lang %{name}