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