Summary(pl): Wsadowy klient HTTP/FTP
Name: wget
Version: 1.5.3
-Release: 11
+Release: 12
License: GPL
Group: Networking/Utilities
+Group(de): Netzwerkwesen/Werkzeuge
Group(pl): Sieciowe/Narzêdzia
Source0: ftp://prep.ai.mit.edu/pub/gnu/%{name}-%{version}.tar.gz
Source1: http://cade.8m.com/away/%{name}-new-percentage-3.0.tar.gz
-Patch0: wget-man.patch
-Patch1: wget-pl.po.patch
-Patch2: wget-info.patch
-Patch3: wget-1.5.3-ipv6.patch
-Patch4: wget-DESTDIR.patch
-Patch5: wget-symlink.patch
+Patch0: %{name}-man.patch
+Patch1: %{name}-pl.po.patch
+Patch2: %{name}-info.patch
+Patch3: %{name}-1.5.3-ipv6.patch
+Patch4: %{name}-DESTDIR.patch
+Patch5: %{name}-symlink.patch
URL: http://sunsite.auc.dk/ftp/pub/infosystems/wget/
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 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.
+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.
%description -l fr
-GNU Wget est un utilitaire pour récupérer des fichiers qui peut utiliser
-indifféremment les protocoles HTTP ou FTP. Parmi les caractéristiques de
-Wget, citons la capacité à récupérer des fichiers en arrière-plan alors que
-vous n'êtes pas connecté, la récupération récursive de répertoires, la
-capacité de récupérer des fichiers en appliquant un filtre sur le nom ou
-sur la date, la gestion de Rest avec les serveurs FTP et de Range avec les
-serveurs HTTP pour récupérer des fichiers avec une connexion lente ou
-instable, le support des serveurs Proxy... Wget est particulièrement
-configurable.
+GNU Wget est un utilitaire pour récupérer des fichiers qui peut
+utiliser indifféremment les protocoles HTTP ou FTP. Parmi les
+caractéristiques de Wget, citons la capacité à récupérer des fichiers
+en arrière-plan alors que vous n'êtes pas connecté, la récupération
+récursive de répertoires, la capacité de récupérer des fichiers en
+appliquant un filtre sur le nom ou sur la date, la gestion de Rest
+avec les serveurs FTP et de Range avec les serveurs HTTP pour
+récupérer des fichiers avec une connexion lente ou instable, le
+support des serveurs Proxy... Wget est particulièrement configurable.
%description -l pl
-Wget jest klientem FTP/HTTP przeznaczonym do ¶ci±gania zasobów wsadowo.
-Umo¿liwia ¶ci±ganie zasobów z podkatalogami, a tak¿e ma opcje umo¿liwiaj±ce
-wykonanie lokalnej kopii zasobów (mirror). W razie niemo¿no¶ci dostania siê
-do zasobów lub gdy po³±czenie z serwerem FTP/HTTP zostanie zerwane, mo¿e
-automatycznie ponawiaæ próby kopiowania. Jest tak¿e dobrze przystosowany do
-tego, ¿eby uruchamiaæ go jako zadanie z cron'a.
+Wget jest klientem FTP/HTTP przeznaczonym do ¶ci±gania zasobów
+wsadowo. Umo¿liwia ¶ci±ganie zasobów z podkatalogami, a tak¿e ma opcje
+umo¿liwiaj±ce wykonanie lokalnej kopii zasobów (mirror). W razie
+niemo¿no¶ci dostania siê do zasobów lub gdy po³±czenie z serwerem
+FTP/HTTP zostanie zerwane, mo¿e automatycznie ponawiaæ próby
+kopiowania. Jest tak¿e dobrze przystosowany do tego, ¿eby uruchamiaæ
+go jako zadanie z cron'a.
%prep
%setup -q
%patch5 -p1
tar xzf %{SOURCE1}
cd src
-mv ../wget-new-percentage/wget-new-percentage.c .
+mv -f ../wget-new-percentage/wget-new-percentage.c .
patch retr.c < ../wget-new-percentage/wget-new-percentage.diff
%build
autoconf
-LDFLAGS="-s"; export LDFLAGS
%configure
%{__make}
tail -6 util/README >rmold.README
install util/rmold.pl $RPM_BUILD_ROOT%{_bindir}/rmold
-mv wget-new-percentage/README README-new_percent
-gzip -9nf $RPM_BUILD_ROOT{%{_infodir}/%{name}.info*,%{_mandir}/man1/*} \
- AUTHORS ChangeLog NEWS TODO README MAILING-LIST rmold.README \
+mv -f wget-new-percentage/README README-new_percent
+
+gzip -9nf AUTHORS ChangeLog NEWS TODO README MAILING-LIST rmold.README \
README-new_percent
%find_lang %{name}
%files -f %{name}.lang
%defattr(644,root,root,755)
-%doc {AUTHORS,ChangeLog,MAILING-LIST,NEWS,TODO,README,rmold.README,README-new_percent}.gz
+%doc *.gz
%verify(not md5 size mtime) %config(noreplace) %{_sysconfdir}/%{name}rc
%attr(755,root,root) %{_bindir}/*
-
%{_mandir}/man1/*
-%{_infodir}/%{name}.info*
+%{_infodir}/*.info*