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