]> git.pld-linux.org Git - packages/wget.git/blob - wget.spec
- release 3: added Provides: webclient.
[packages/wget.git] / wget.spec
1 Summary:        A utility for retrieving files using the HTTP or FTP protocols
2 Summary(es):    Cliente en línea de comando para bajar archivos WWW/FTP con recursión opcional
3 Summary(fr):    Un utilitaire pour recuperer des fichiers en utilisant les protocoles HTTP ou FTP
4 Summary(pl):    Wsadowy klient HTTP/FTP 
5 Summary(pt_BR): Cliente na linha de comando para baixar arquivos WWW/FTP com recursão opcional
6 Name:           wget
7 Version:        1.7
8 Release:        3
9 License:        GPL
10 Group:          Networking/Utilities
11 Group(de):      Netzwerkwesen/Werkzeuge
12 Group(es):      Red/Utilitarios
13 Group(pl):      Sieciowe/Narzêdzia
14 Group(pt_BR):   Rede/Utilitários
15 Source0:        ftp://ftp.gnu.org/pub/gnu/wget/%{name}-%{version}.tar.gz
16 Source1:        %{name}.pl.po
17 Patch0:         %{name}-info.patch
18 Patch1:         %{name}-ah.patch
19 Patch2:         http://www.t17.ds.pwr.wroc.pl/~misiek/ipv6/%{name}-1.7-ipv6-20010604.patch.gz
20 Patch3:         %{name}-ac.patch
21 Patch4:         %{name}-use_AM_GNU_GETTEXT.patch
22 URL:            http://sunsite.dk/wget/
23 BuildRequires:  autoconf
24 BuildRequires:  automake
25 BuildRequires:  libtool
26 BuildRequires:  openssl-devel >= 0.9.6a
27 BuildRequires:  texinfo
28 Provides:       webclient
29 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
30
31 %define         _sysconfdir     /etc
32
33 %description
34 GNU Wget is a file retrieval utility which can use either the HTTP or
35 FTP protocols. Wget features include the ability to work in the
36 background while you're logged out, recursive retrieval of
37 directories, file name wildcard matching, remote file timestamp
38 storage and comparison, use of Rest with FTP servers and Range with
39 HTTP servers to retrieve files over slow or unstable connections,
40 support for Proxy servers, and configurability.
41
42 %description -l es
43 GNU wget es una herramienta de red para bajar archivos usando HTTP y
44 FTP. Funciona en modo no interactivo, pudiendo trabajar en background.
45 Funciona muy bien, incluso en conexiones lentas o inestables, bajando
46 el archivo hasta que sea completamente recibido.
47
48 %description -l fr
49 GNU Wget est un utilitaire pour récupérer des fichiers qui peut
50 utiliser indifféremment les protocoles HTTP ou FTP. Parmi les
51 caractéristiques de Wget, citons la capacité à récupérer des fichiers
52 en arrière-plan alors que vous n'êtes pas connecté, la récupération
53 récursive de répertoires, la capacité de récupérer des fichiers en
54 appliquant un filtre sur le nom ou sur la date, la gestion de Rest
55 avec les serveurs FTP et de Range avec les serveurs HTTP pour
56 récupérer des fichiers avec une connexion lente ou instable, le
57 support des serveurs Proxy... Wget est particulièrement configurable.
58
59 %description -l ja
60 GNU wget ¤Ï HTTP ¤« FTP ¥×¥í¥È¥³¥ë¤Î¤É¤Á¤é¤«¤ò»ÈÍѤ¹¤ë¤³¤È¤¬¤Ç¤­¤ë
61 ¥Õ¥¡¥¤¥ë¤ò¼èÆÀ¤¹¤ë¥æ¡¼¥Æ¥£¥ê¥Æ¥£¤Ç¤¹¡£wget ¤Ï¥í¥°¥¢¥¦¥È¤·¤Æ¤¤¤ë
62 ´Ö¤Ë¥Ð¥Ã¥¯¥°¥é¥¦¥ó¥É¤ÇƯ¤¯ÆÃħ¤ò¤â¤Ã¤Æ¤¤¤ë¤³¤È¡¢¥Ç¥£¥ì¥¯¥È¥ê¤ÎºÆµ¢Åª
63 ¼èÆÀ¡¢¥Õ¥¡¥¤¥ë¥Í¡¼¥à¤Î¥ï¥¤¥ë¥É¥«¡¼¥É¥Þ¥Ã¥Á¥ó¥°¡¢¥Õ¥¡¥¤¥ë¤Î¥¿¥¤¥à¥¹¥¿¥ó¥×¤Î
64 Êݸ¤ÈÈæ³Ó¡¢ÃÙ¤¯ÉÔ°ÂÄê¤ÊÀܳ¤Ç FTP ¥µ¡¼¥Ð¤Î Rest ¤È HTTP ¥µ¡¼¥Ð¤Î Range
65 ¤Î»ÈÍÑ¡¢¥×¥í¥­¥·¡¼¥µ¡¼¥Ð¤Î¥µ¥Ý¡¼¥È¤ÈÀßÄê¤ÎÍưפµ¤ò´Þ¤ó¤ÀÆÃħ¤ò
66 ¤â¤Ã¤Æ¤¤¤Þ¤¹¡£
67
68 ¤â¤· HTTP ¤« FTP ¤ÇÂçÎ̤Υե¡¥¤¥ë¤ò¼èÆÀ¤¹¤ëɬÍפ¬¤¢¤Ã¤¿¤ê¡¢Web ¥µ¥¤¥È¤ä
69 FTP ¥Ç¥£¥ì¥¯¥È¥ê¤ò¥ß¥é¡¼¤¹¤ë¥æ¡¼¥Æ¥£¥ê¥Æ¥£¡¼¤¬É¬Íפʤéwget ¤ò¥¤¥ó¥¹¥È¡¼¥ë
70 ¤·¤Ê¤µ¤¤¡£
71
72 %description -l pl
73 Wget jest klientem FTP/HTTP przeznaczonym do ¶ci±gania zasobów
74 wsadowo. Umo¿liwia ¶ci±ganie zasobów z podkatalogami, a tak¿e ma opcje
75 umo¿liwiaj±ce wykonanie lokalnej kopii zasobów (mirror). W razie
76 niemo¿no¶ci dostania siê do zasobów lub gdy po³±czenie z serwerem
77 FTP/HTTP zostanie zerwane, mo¿e automatycznie ponawiaæ próby
78 kopiowania. Jest tak¿e dobrze przystosowany do tego, ¿eby uruchamiaæ
79 go jako zadanie z cron'a.
80
81 %description -l pt_BR
82 O GNU wget é uma ferramenta de rede para baixar arquivos usando HTTP e
83 FTP. Ele funciona em modo não interativo, podendo trabalhar em
84 background. Funciona muito bem, mesmo em conexões lentas ou instáveis,
85 baixando o arquivo até que ele seja completamente recebido.
86
87 %prep
88 %setup -q
89 %patch0 -p1
90 %patch1 -p1
91 #%patch2 -p1
92 #%patch3 -p1
93 %patch4 -p1
94 install %{SOURCE1} po/pl.po
95
96 %build
97 libtoolize --copy --force
98 autoheader
99 aclocal
100 autoconf
101 %configure \
102         --with-ssl \
103         --enable-ipv6
104 %{__make}
105 tail -6 util/README >rmold.README
106
107 (cd doc; makeinfo --force %{name}.texi; touch *)
108
109 %install
110 rm -rf $RPM_BUILD_ROOT
111 install -d $RPM_BUILD_ROOT%{_sysconfdir}
112
113 echo "y" | %{__make} install DESTDIR=$RPM_BUILD_ROOT
114 mv $RPM_BUILD_ROOT%{_sysconfdir}/wgetrc.* $RPM_BUILD_ROOT%{_sysconfdir}/wgetrc
115 install util/rmold.pl $RPM_BUILD_ROOT%{_bindir}/rmold
116
117 gzip -9nf AUTHORS ChangeLog NEWS TODO README MAILING-LIST rmold.README 
118
119 %find_lang %{name}
120  
121 %clean
122 rm -rf $RPM_BUILD_ROOT
123
124 %post
125 [ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1
126
127 %postun
128 [ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1
129
130 %files -f %{name}.lang
131 %defattr(644,root,root,755)
132 %doc *.gz
133 %verify(not md5 size mtime) %config(noreplace) %{_sysconfdir}/%{name}rc
134 %attr(755,root,root) %{_bindir}/*
135 %{_mandir}/man1/*
136 %{_infodir}/*.info*
This page took 0.038567 seconds and 4 git commands to generate.