]> git.pld-linux.org Git - packages/wget.git/blob - wget.spec
- release 10,
[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.5.3
6 Release:        10
7 Copyright:      GPL
8 Group:          Networking/Utilities
9 Group(pl):      Sieciowe/Narzêdzia
10 Source:         ftp://prep.ai.mit.edu/pub/gnu/%{name}-%{version}.tar.gz
11 Patch0:         wget-man.patch
12 Patch1:         wget-pl.po.patch
13 Patch2:         wget-info.patch
14 Patch3:         wget-1.5.3-ipv6.patch
15 Patch4:         wget-DESTDIR.patch
16 Prereq:         /usr/sbin/fix-info-dir
17 URL:            http://sunsite.auc.dk/ftp/pub/infosystems/wget/
18 BuildRoot:      /tmp/%{name}-%{version}-root
19
20 %define _sysconfdir     /etc
21
22 %description
23 wget is a command-line program to fetch files via HTTP or FTP. It
24 supports recursive retrieval and mirroring options, and it automatically
25 retries several times before giving up, so it is well-suited to running
26 from cron jobs.
27
28 %description -l fr
29 GNU Wget est un utilitaire pour récupérer des fichiers qui peut utiliser
30 indifféremment les protocoles HTTP ou FTP. Parmi les caractéristiques de
31 Wget, citons la capacité à récupérer des fichiers en arrière-plan alors que
32 vous n'êtes pas connecté, la récupération récursive de répertoires, la
33 capacité de récupérer des fichiers en appliquant un filtre sur le nom ou sur
34 la date, la gestion de Rest avec les serveurs FTP et de Range avec les
35 serveurs HTTP pour récupérer des fichiers avec une connexion lente ou
36 instable, le support des serveurs Proxy... Wget est particulièrement
37 configurable.
38
39 %description -l pl
40 Wget jest klientem FTP/HTTP przeznaczonym do ¶ci±gania zasobów wsadowo. 
41 Umo¿liwia ¶ci±ganie zasobów z podkatalogami, a tak¿e ma opcje umo¿liwiaj±ce 
42 wykonanie lokalnej kopii zasobów (mirror). W razie niemo¿no¶ci dostania siê 
43 do zasobów lub gdy po³±czenie z serwerem FTP/HTTP zostanie zerwane, mo¿e 
44 automatycznie ponawiaæ próby kopiowania. Jest tak¿e dobrze przystosowany do 
45 tego, ¿eby uruchamiaæ go jako zadanie z cron'a.
46
47 %prep
48 %setup -q
49 %patch0 -p1
50 %patch1 -p1
51 %patch2 -p1
52 %patch3 -p1
53 %patch4 -p1
54
55 %build
56 autoconf
57 LDFLAGS="-s"; export LDFLAGS
58 %configure 
59 make
60 tail -6 util/README >rmold.README
61
62 (cd doc; makeinfo --force %{name}.texi; touch *)
63
64 %install
65 rm -rf $RPM_BUILD_ROOT
66
67 make install DESTDIR=$RPM_BUILD_ROOT
68
69 install util/rmold.pl $RPM_BUILD_ROOT%{_bindir}/rmold
70
71 gzip -9nf $RPM_BUILD_ROOT{%{_infodir}/%{name}.info*,%{_mandir}/man1/*} \
72         AUTHORS ChangeLog NEWS TODO README MAILING-LIST rmold.README
73
74 %find_lang %{name}
75  
76 %clean
77 rm -rf $RPM_BUILD_ROOT
78
79 %post
80 /usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1
81
82 %postun
83 /usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1
84
85 %files -f %{name}.lang
86 %defattr(644,root,root,755)
87 %doc {AUTHORS,ChangeLog,MAILING-LIST,NEWS,TODO,README,rmold.README}.gz
88 %verify(not md5 size mtime) %config(noreplace) %{_sysconfdir}/%{name}rc
89 %attr(755,root,root) %{_bindir}/*
90
91 %{_mandir}/man1/*
92 %{_infodir}/%{name}.info*
This page took 0.079824 seconds and 4 git commands to generate.