1 | Summary: A utility for retrieving files using the HTTP or FTP protocols
|
---|
2 | Name: wget
|
---|
3 | Version: 1.18
|
---|
4 | Release: 3%{?dist}
|
---|
5 | License: GPLv3+
|
---|
6 | Group: Applications/Internet
|
---|
7 | Url: http://www.gnu.org/software/wget/
|
---|
8 |
|
---|
9 | Vendor: bww bitwise works GmbH
|
---|
10 | %scm_source svn http://svn.netlabs.org/repos/ports/wget/trunk 1982
|
---|
11 |
|
---|
12 |
|
---|
13 | Provides: webclient
|
---|
14 | Requires: libcx >= 0.4
|
---|
15 | Requires(post): %{_sbindir}/install-info.exe
|
---|
16 | Requires(preun): %{_sbindir}/install-info.exe
|
---|
17 | # needed for test suite
|
---|
18 | #BuildRequires: perl-HTTP-Daemon, python2
|
---|
19 | BuildRequires: openssl-devel, pkgconfig, texinfo
|
---|
20 | BuildRequires: gettext >= 0.19, autoconf
|
---|
21 | BuildRequires: libidn-devel, libpsl-devel
|
---|
22 | #BuildRequires: libuuid-devel, libmetalink-devel, perl-podlators
|
---|
23 | BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
---|
24 |
|
---|
25 | %description
|
---|
26 | GNU Wget is a file retrieval utility which can use either the HTTP or
|
---|
27 | FTP protocols. Wget features include the ability to work in the
|
---|
28 | background while you are logged out, recursive retrieval of
|
---|
29 | directories, file name wildcard matching, remote file timestamp
|
---|
30 | storage and comparison, use of Rest with FTP servers and Range with
|
---|
31 | HTTP servers to retrieve files over slow or unstable connections,
|
---|
32 | support for Proxy servers, and configurability.
|
---|
33 |
|
---|
34 |
|
---|
35 | %debug_package
|
---|
36 |
|
---|
37 |
|
---|
38 | %prep
|
---|
39 | %scm_setup
|
---|
40 |
|
---|
41 | autoreconf -fvi
|
---|
42 |
|
---|
43 |
|
---|
44 | %build
|
---|
45 | export LDFLAGS="-Zhigh-mem -Zomf -Zargs-wild -Zargs-resp"
|
---|
46 | export LIBS="-lcx"
|
---|
47 | # --with-metalink
|
---|
48 | %configure \
|
---|
49 | --with-ssl=openssl \
|
---|
50 | --with-openssl \
|
---|
51 | --with-libpsl \
|
---|
52 | --enable-largefile \
|
---|
53 | --enable-opie \
|
---|
54 | --enable-digest \
|
---|
55 | --enable-ntlm \
|
---|
56 | --enable-nls \
|
---|
57 | --disable-rpath
|
---|
58 |
|
---|
59 | make %{?_smp_mflags}
|
---|
60 |
|
---|
61 | %install
|
---|
62 | rm -rf $RPM_BUILD_ROOT
|
---|
63 | make install DESTDIR=$RPM_BUILD_ROOT CFLAGS="$RPM_OPT_FLAGS"
|
---|
64 | rm -f $RPM_BUILD_ROOT/%{_infodir}/dir
|
---|
65 |
|
---|
66 | %find_lang %{name}
|
---|
67 |
|
---|
68 |
|
---|
69 | %check
|
---|
70 | #make check
|
---|
71 |
|
---|
72 |
|
---|
73 | %post
|
---|
74 | if [ -f %{_infodir}/wget.info.gz ]; then
|
---|
75 | %{_sbindir}/install-info.exe %{_infodir}/wget.info.gz %{_infodir}/dir || :
|
---|
76 | fi
|
---|
77 |
|
---|
78 | %preun
|
---|
79 | if [ "$1" = 0 ]; then
|
---|
80 | if [ -f %{_infodir}/wget.info.gz ]; then
|
---|
81 | %{_sbindir}/install-info.exe --delete %{_infodir}/wget.info.gz %{_infodir}/dir || :
|
---|
82 | fi
|
---|
83 | fi
|
---|
84 |
|
---|
85 |
|
---|
86 | %clean
|
---|
87 | rm -rf $RPM_BUILD_ROOT
|
---|
88 |
|
---|
89 |
|
---|
90 | %files -f %{name}.lang
|
---|
91 | %defattr(-,root,root)
|
---|
92 | %doc AUTHORS MAILING-LIST NEWS README COPYING doc/sample.wgetrc
|
---|
93 | %config(noreplace) %{_sysconfdir}/wgetrc
|
---|
94 | #{_mandir}/man1/wget.*
|
---|
95 | %{_bindir}/wget.exe
|
---|
96 | %{_infodir}/*
|
---|
97 |
|
---|
98 | %changelog
|
---|
99 | * Wed Feb 08 2017 Silvan Scherrer <silvan.scherrer@aroa.ch> - 1.18-3
|
---|
100 | - workaround libc ticket #310 pathconf()
|
---|
101 | - use the new scm_source and scm_setup macros
|
---|
102 |
|
---|
103 | * Fri Nov 25 2016 Silvan Scherrer <silvan.scherrer@aroa.ch> - 1.18-2
|
---|
104 | - enable libidn and libpsl
|
---|
105 |
|
---|
106 | * Mon Nov 14 2016 Silvan Scherrer <silvan.scherrer@aroa.ch> - 1.18-1
|
---|
107 | - Initial version 1.18
|
---|