From eb53ab89e729051c7cec6031c86f33deb20d57bc Mon Sep 17 00:00:00 2001 From: janp Date: Mon, 15 Jan 2001 15:59:40 -0800 Subject: [PATCH] [svn] Updated to 1.7, merged with the spec file from RedHat. --- util/wget.spec | 120 ++++++++++++++++++++++++++++++++++++------------- 1 file changed, 90 insertions(+), 30 deletions(-) diff --git a/util/wget.spec b/util/wget.spec index 3a6d15e5..48c80a9b 100644 --- a/util/wget.spec +++ b/util/wget.spec @@ -1,57 +1,117 @@ -Summary: A command-line client to download WWW/FTP documents with optional recursion. Name: wget -%define version 1.4.5 -Version: %{version} -Release: 3 -Source: ftp://prep.ai.mit.edu/pub/gnu/wget-1.4.5.tar.gz -Group: Applications/Networking +Version: 1.7 +Release: 1 Copyright: GPL -Buildroot: /var/tmp/wget-root -Packager: Jeff Johnson +Source: ftp://ftp.gnu.org/gnu/wget/wget-%{version}.tar.gz +Url: http://sunsite.dk/wget/ +Provides: webclient +Prereq: /sbin/install-info +BuildRoot: /var/tmp/%{name}-root + +Group: Applications/Internet +Group(cs): Aplikace/Internet +Summary: A utility for retrieving files using the HTTP or FTP protocols. +Summary(cs): Nástroj pro stahování souborù pomocí protokolù HTTP nebo FTP. %description -GNU Wget is a freely available network utility to retrieve files from -the World Wide Web, using HTTP (Hyper Text Transfer Protocol) and -FTP (File Transfer Protocol), the two most widely used Internet -protocols. +GNU Wget is a free network utility to retrieve files from the World +Wide Web using HTTP and FTP protocols. It works non-interactively, +thus enabling work in the background, after having logged off. +Wget supports recursive retrieval of HTML pages, as well as FTP sites. +Wget supports proxy servers, which can lighten the network load, speed +up retrieval and provide access behind firewalls. + +It works exceedingly well also on slow or unstable connections, +keeping getting the document until it is fully retrieved. Re-getting +files from where it left off works on servers (both HTTP and FTP) that +support it. Matching of wildcards and recursive mirroring of +directories are available when retrieving via FTP. Both HTTP and FTP +retrievals can be time-stamped, thus Wget can see if the remote file +has changed since last retrieval and automatically retrieve the new +version if it has. + +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. + +%description -l cs + %prep -%setup +%setup -q %build -./configure --prefix=/usr --sysconfdir=/etc +%configure --sysconfdir=/etc make %install rm -rf $RPM_BUILD_ROOT - -make prefix=$RPM_BUILD_ROOT/usr sysconfdir=$RPM_BUILD_ROOT/etc INSTALL_PROGRAM="install -s" install - -gzip -9nf $RPM_BUILD_ROOT/usr/info/wget* +%makeinstall +gzip $RPM_BUILD_ROOT%{_infodir}/* %post - -/sbin/install-info /usr/info/wget.info.gz /usr/info/dir --entry="* wget: (wget). GNU Wget Manual." +/sbin/install-info %{_infodir}/wget.info.gz %{_infodir}/dir %preun - -if [ $1 = 0 ]; then - /sbin/install-info --delete /usr/info/wget.info.gz /usr/info/dir --entry="* wget: (wget). GNU Wget Manual." +if [ "$1" = 0 ]; then + /sbin/install-info --delete %{_infodir}/wget.info.gz %{_infodir}/dir fi %clean rm -rf $RPM_BUILD_ROOT %files -%doc README NEWS AUTHORS COPYING INSTALL MACHINES MAILING-LIST -/usr/bin/wget -/etc/wgetrc -/usr/info/wget* -/usr/man/man1/wget.1 +%defattr(-,root,root) +%doc AUTHORS MAILING-LIST NEWS README INSTALL doc/ChangeLog doc/sample.wgetrc +%config /etc/wgetrc +%{_bindir}/wget +%{_infodir}/* +/usr/share/locale/*/LC_MESSAGES/* %changelog +* Wed Jan 3 2001 Jan Prikryl +- preliminary version for 1.7 +- removed all RedHat patches from 1.5.3 for this moment + +* Tue Aug 1 2000 Bill Nottingham +- setlocale for LC_CTYPE too, or else all the translations think their + characters are unprintable. + +* Thu Jul 13 2000 Prospector +- automatic rebuild + +* Sun Jun 11 2000 Bill Nottingham +- build in new environment + +* Mon Jun 5 2000 Bernhard Rosenkraenzer +- FHS compliance + +* Thu Feb 3 2000 Bill Nottingham +- handle compressed man pages + +* Thu Aug 26 1999 Jeff Johnson +- don't permit chmod 777 on symlinks (#4725). + +* Sun Mar 21 1999 Cristian Gafton +- auto rebuild in the new build environment (release 4) + +* Fri Dec 18 1998 Bill Nottingham +- build for 6.0 tree +- add Provides + +* Sat Oct 10 1998 Cristian Gafton +- strip binaries +- version 1.5.3 + +* Sat Jun 27 1998 Jeff Johnson +- updated to 1.5.2 -* Thu Feb 26 1998 Jeff Johnson +* Thu Apr 30 1998 Cristian Gafton +- modified group to Applications/Networking -- Simplify previous contrib version. +* Wed Apr 22 1998 Cristian Gafton +- upgraded to 1.5.0 +- they removed the man page from the distribution (Duh!) and I added it back + from 1.4.5. Hey, removing the man page is DUMB! +* Fri Nov 14 1997 Cristian Gafton +- first build against glibc -- 2.39.2