]> git.pld-linux.org Git - packages/wget.git/blob - wget.spec
- removed hardcoded debug=1.
[packages/wget.git] / wget.spec
1 Summary:        A utility for retrieving files using the HTTP or FTP protocols
2 Summary(fr):    Un utilitaire pour recuperer des fichiers en utilisant les protocoles HTTP ou FTP
3 Summary(pl):    Wsadowy klient HTTP/FTP 
4 Name:           wget
5 Version:        1.6
6 Release:        2
7 License:        GPL
8 Group:          Networking/Utilities
9 Group(de):      Netzwerkwesen/Werkzeuge
10 Group(pl):      Sieciowe/Narzêdzia
11 Source0:        ftp://ftp.gnu.org/pub/gnu/wget/%{name}-%{version}.tar.gz
12 Source1:        http://cade.8m.com/away/%{name}-new-percentage-3.0.tar.gz
13 Patch0:         %{name}-man.patch
14 Patch1:         %{name}-info.patch
15 Patch2:         %{name}-DESTDIR.patch
16 Patch3:         %{name}-1.6-ipv6-20010102.patch.gz
17 URL:            http://sunsite.dk/wget/
18 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
19
20 %define _sysconfdir     /etc
21
22 %description
23 GNU Wget is a file retrieval utility which can use either the HTTP or
24 FTP protocols. Wget features include the ability to work in the
25 background while you're logged out, recursive retrieval of
26 directories, file name wildcard matching, remote file timestamp
27 storage and comparison, use of Rest with FTP servers and Range with
28 HTTP servers to retrieve files over slow or unstable connections,
29 support for Proxy servers, and configurability.
30
31 %description -l fr
32 GNU Wget est un utilitaire pour récupérer des fichiers qui peut
33 utiliser indifféremment les protocoles HTTP ou FTP. Parmi les
34 caractéristiques de Wget, citons la capacité à récupérer des fichiers
35 en arrière-plan alors que vous n'êtes pas connecté, la récupération
36 récursive de répertoires, la capacité de récupérer des fichiers en
37 appliquant un filtre sur le nom ou sur la date, la gestion de Rest
38 avec les serveurs FTP et de Range avec les serveurs HTTP pour
39 récupérer des fichiers avec une connexion lente ou instable, le
40 support des serveurs Proxy... Wget est particulièrement configurable.
41
42 %description -l pl
43 Wget jest klientem FTP/HTTP przeznaczonym do ¶ci±gania zasobów
44 wsadowo. Umo¿liwia ¶ci±ganie zasobów z podkatalogami, a tak¿e ma opcje
45 umo¿liwiaj±ce wykonanie lokalnej kopii zasobów (mirror). W razie
46 niemo¿no¶ci dostania siê do zasobów lub gdy po³±czenie z serwerem
47 FTP/HTTP zostanie zerwane, mo¿e automatycznie ponawiaæ próby
48 kopiowania. Jest tak¿e dobrze przystosowany do tego, ¿eby uruchamiaæ
49 go jako zadanie z cron'a.
50
51 %prep
52 %setup -q
53 %patch0 -p1
54 %patch1 -p1
55 %patch2 -p1
56 %patch3 -p1
57 tar xzf %{SOURCE1}
58 cd src
59 mv -f ../wget-new-percentage/wget-new-percentage.c .
60 patch retr.c < ../wget-new-percentage/wget-new-percentage.diff
61
62 %build
63 autoconf
64 autoheader
65 %configure --enable-ipv6
66 %{__make}
67 tail -6 util/README >rmold.README
68
69 (cd doc; makeinfo --force %{name}.texi; touch *)
70
71 %install
72 rm -rf $RPM_BUILD_ROOT
73
74 %{__make} install DESTDIR=$RPM_BUILD_ROOT
75
76 install util/rmold.pl $RPM_BUILD_ROOT%{_bindir}/rmold
77
78 mv -f wget-new-percentage/README README-new_percent
79
80 gzip -9nf AUTHORS ChangeLog NEWS TODO README MAILING-LIST rmold.README \
81         README-new_percent
82
83 %find_lang %{name}
84  
85 %clean
86 rm -rf $RPM_BUILD_ROOT
87
88 %post
89 [ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1
90
91 %postun
92 [ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1
93
94 %files -f %{name}.lang
95 %defattr(644,root,root,755)
96 %doc *.gz
97 %verify(not md5 size mtime) %config(noreplace) %{_sysconfdir}/%{name}rc
98 %attr(755,root,root) %{_bindir}/*
99 %{_mandir}/man1/*
100 %{_infodir}/*.info*
This page took 0.423995 seconds and 4 git commands to generate.