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