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