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