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