source: spec/trunk/SPECS/wget.spec@ 1567

Last change on this file since 1567 was 968, checked in by Silvan Scherrer, 9 years ago

spec: wget: Release version 1.18-3.

File size: 2.7 KB
Line 
1Summary: A utility for retrieving files using the HTTP or FTP protocols
2Name: wget
3Version: 1.18
4Release: 3%{?dist}
5License: GPLv3+
6Group: Applications/Internet
7Url: http://www.gnu.org/software/wget/
8
9Vendor: bww bitwise works GmbH
10%scm_source svn http://svn.netlabs.org/repos/ports/wget/trunk 1982
11
12
13Provides: webclient
14Requires: libcx >= 0.4
15Requires(post): %{_sbindir}/install-info.exe
16Requires(preun): %{_sbindir}/install-info.exe
17# needed for test suite
18#BuildRequires: perl-HTTP-Daemon, python2
19BuildRequires: openssl-devel, pkgconfig, texinfo
20BuildRequires: gettext >= 0.19, autoconf
21BuildRequires: libidn-devel, libpsl-devel
22#BuildRequires: libuuid-devel, libmetalink-devel, perl-podlators
23BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
24
25%description
26GNU Wget is a file retrieval utility which can use either the HTTP or
27FTP protocols. Wget features include the ability to work in the
28background while you are logged out, recursive retrieval of
29directories, file name wildcard matching, remote file timestamp
30storage and comparison, use of Rest with FTP servers and Range with
31HTTP servers to retrieve files over slow or unstable connections,
32support for Proxy servers, and configurability.
33
34
35%debug_package
36
37
38%prep
39%scm_setup
40
41autoreconf -fvi
42
43
44%build
45export LDFLAGS="-Zhigh-mem -Zomf -Zargs-wild -Zargs-resp"
46export 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
59make %{?_smp_mflags}
60
61%install
62rm -rf $RPM_BUILD_ROOT
63make install DESTDIR=$RPM_BUILD_ROOT CFLAGS="$RPM_OPT_FLAGS"
64rm -f $RPM_BUILD_ROOT/%{_infodir}/dir
65
66%find_lang %{name}
67
68
69%check
70#make check
71
72
73%post
74if [ -f %{_infodir}/wget.info.gz ]; then
75 %{_sbindir}/install-info.exe %{_infodir}/wget.info.gz %{_infodir}/dir || :
76fi
77
78%preun
79if [ "$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
83fi
84
85
86%clean
87rm -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
Note: See TracBrowser for help on using the repository browser.