wget/wget.spec
cvsdist d411c3f2c7 auto-import changelog data from wget-1.6-2a.src.rpm
Tue May 22 2001 Oliver Paukstadt <oliver.paukstadt@millenux.com>
- fixed varargs bug
- fixed socklen_t/size_t/int-pointer-casts
Fri May 04 2001 Oliver Paukstadt <oliver.paukstadt@millenux.com>
- ported to IBM zSeries (s390x, 64 bit)
2004-09-09 14:17:09 +00:00

141 lines
3.9 KiB
RPMSpec
Raw Blame History

Summary: A utility for retrieving files using the HTTP or FTP protocols.
Name: wget
Version: 1.6
Release: 2a
Copyright: GPL
Group: Applications/Internet
Source: ftp://ftp.gnu.org/gnu/wget/wget-%{version}.tar.gz
Source2: wget-1.5.3-ko.po
Source3: wget-1.5.3-ja.po
Patch0: wget-1.5.0-man.patch
Patch1: wget-1.6-symlink.patch
Patch2: wget-1.6-locale.patch
Patch3: wget-1.6-escape.patch
Patch4: wget-1.6-nopo.patch
Patch5: wget-1.6-varargs.patch
Patch6: wget-1.6-socklen.patch
Provides: webclient
Prereq: /sbin/install-info
BuildRoot: /var/tmp/%{name}-root
%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're 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.
%prep
%setup -q
%patch0 -p1 -b .man
%patch1 -p1 -b .symlink
%patch2 -p1 -b .locale
%patch3 -p1 -b .escape
%patch4 -p1
%patch5 -p1 -b .va
%patch6 -p1 -b .len
cp %{SOURCE2} $RPM_BUILD_DIR/wget-%{version}/po/ko.po
cp %{SOURCE3} $RPM_BUILD_DIR/wget-%{version}/po/ja.po
%build
%configure --sysconfdir=/etc
make
%install
rm -rf $RPM_BUILD_ROOT
%makeinstall
%find_lang %name
%post
/sbin/install-info %{_infodir}/wget.info.gz %{_infodir}/dir
%preun
if [ "$1" = 0 ]; then
/sbin/install-info --delete %{_infodir}/wget.info.gz %{_infodir}/dir
fi
%clean
rm -rf $RPM_BUILD_ROOT
%files -f %{name}.lang
%defattr(-,root,root)
%doc AUTHORS MAILING-LIST NEWS README INSTALL doc/ChangeLog
%config /etc/wgetrc
%{_mandir}/man1/wget.*
%{_bindir}/wget
%{_infodir}/*
%changelog
* Tue May 22 2001 Oliver Paukstadt <oliver.paukstadt@millenux.com>
- fixed varargs bug
- fixed socklen_t/size_t/int-pointer-casts
* Fri May 4 2001 Oliver Paukstadt <oliver.paukstadt@millenux.com>
- ported to IBM zSeries (s390x, 64 bit)
* Tue Jan 30 2001 Trond Eivind Glomsr<73>d <teg@redhat.com>
- Norwegian isn't a iso-8859-2 locale, neither is Danish.
This fixes #15025.
- langify
* Sat Jan 6 2001 Bill Nottingham <notting@redhat.com>
- escape %xx characters before fnmatch (#23475, patch from alane@geeksrus.net)
* Fri Jan 5 2001 Bill Nottingham <notting@redhat.com>
- update to 1.6, fix patches accordingly (#23412)
- fix symlink patch (#23411)
* Mon Dec 18 2000 Yukihiro Nakai <ynakai@redhat.com>
- Add Japanese and Korean Resources
* Tue Aug 1 2000 Bill Nottingham <notting@redhat.com>
- setlocale for LC_CTYPE too, or else all the translations think their
characters are unprintable.
* Thu Jul 13 2000 Prospector <bugzilla@redhat.com>
- automatic rebuild
* Sun Jun 11 2000 Bill Nottingham <notting@redhat.com>
- build in new environment
* Mon Jun 5 2000 Bernhard Rosenkraenzer <bero@redhat.com>
- FHS compliance
* Thu Feb 3 2000 Bill Nottingham <notting@redhat.com>
- handle compressed man pages
* Thu Aug 26 1999 Jeff Johnson <jbj@redhat.com>
- don't permit chmod 777 on symlinks (#4725).
* Sun Mar 21 1999 Cristian Gafton <gafton@redhat.com>
- auto rebuild in the new build environment (release 4)
* Fri Dec 18 1998 Bill Nottingham <notting@redhat.com>
- build for 6.0 tree
- add Provides
* Sat Oct 10 1998 Cristian Gafton <gafton@redhat.com>
- strip binaries
- version 1.5.3
* Sat Jun 27 1998 Jeff Johnson <jbj@redhat.com>
- updated to 1.5.2
* Thu Apr 30 1998 Cristian Gafton <gafton@redhat.com>
- modified group to Applications/Networking
* Wed Apr 22 1998 Cristian Gafton <gafton@redhat.com>
- 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 <gafton@redhat.com>
- first build against glibc