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