Summary: A utility for retrieving files using the HTTP or FTP protocols Name: wget Version: 1.11 Release: 1 License: GPLv3+ Group: Applications/Internet Url: http://www.gnu.org/software/wget/ Source0: ftp://ftp.gnu.org/gnu/%{name}/%{name}-%{version}.tar.bz2 Source1: ftp://ftp.gnu.org/gnu/%{name}/%{name}-%{version}.tar.bz2.sig Provides: webclient Requires: /sbin/install-info BuildRequires: openssl-devel, gettext BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root Requires: openssl, gettext %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 are 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. Install wget if you need to retrieve large numbers of files with HTTP or FTP, or if you need a utility for mirroring web sites or FTP directories. Note: this version is compiled with SSL support. %prep %setup -q %build export CC=xlc ./configure \ --prefix=%{_prefix} \ --mandir=%{_mandir} \ --infodir=%{_infodir} \ --with-ssl \ --enable-largefile \ --enable-opie \ --enable-digest \ --enable-ntlm \ --enable-nls \ --disable-ipv6 \ --disable-rpath make %{?_smp_mflags} %install [ "$RPM_BUILD_ROOT" != "/" ] && rm -rf $RPM_BUILD_ROOT make DESTDIR=$RPM_BUILD_ROOT install gzip --best ${RPM_BUILD_ROOT}%{_infodir}/*.info /usr/bin/strip ${RPM_BUILD_ROOT}%{_bindir}/* || : ( cd $RPM_BUILD_ROOT mkdir -p usr/bin cd usr/bin ln -sf ../..%{_bindir}/* . cd - ) %post /sbin/install-info %{_infodir}/%{name}.info.gz %{_infodir}/dir || : %preun if [ "$1" = 0 ]; then /sbin/install-info --delete %{_infodir}/%{name}.info.gz %{_infodir}/dir || : fi %clean [ "$RPM_BUILD_ROOT" != "/" ] && rm -rf $RPM_BUILD_ROOT %files %defattr(-,root,system) %doc AUTHORS MAILING-LIST NEWS README COPYING doc/sample.wgetrc %config(noreplace) %{_sysconfdir}/wgetrc %{_bindir}/* %{_mandir}/man1/* %{_infodir}/* %{_datadir}/locale/* /usr/bin/* %changelog * Fri Mar 14 2008 Michael Perzl - 1.11-1 - first version for AIX V5.1 and higher