Summary: A utility for retrieving files using the HTTP or FTP protocols Name: wget Version: 1.11.4 Release: 2 License: GPLv3+ Group: Applications/Internet Url: http://www.gnu.org/software/%{name}/ 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, info BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root BuildRequires: openssl-devel >= 0.9.8, gettext Requires: openssl >= 0.9.8, 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_r -D_LARGE_FILES" ./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}/* . %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 * Mon Apr 30 2012 Michael Perzl - 1.11.4-2 - removed dependency on gettext >= 0.17 * Mon Jun 30 2008 Michael Perzl - 1.11.4-1 - updated to version 1.11.4 * Tue Jun 24 2008 Michael Perzl - 1.11.3-1 - updated to version 1.11.3 and built against new version of gettext * Tue Mar 25 2008 Michael Perzl - 1.11.1-1 - updated to version 1.11.1 * Fri Mar 14 2008 Michael Perzl - 1.11-1 - first version for AIX V5.1 and higher