2007-01-16 00:41:13 +01:00
|
|
|
#
|
2011-04-11 09:43:32 +02:00
|
|
|
# spec file for package wget
|
2007-01-16 00:41:13 +01:00
|
|
|
#
|
2014-01-20 11:14:11 +01:00
|
|
|
# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
2007-01-16 00:41:13 +01:00
|
|
|
#
|
2008-09-06 04:15:41 +02:00
|
|
|
# All modifications and additions to the file contributed by third parties
|
|
|
|
# remain the property of their copyright owners, unless otherwise agreed
|
|
|
|
# upon. The license for this file, and modifications and additions to the
|
|
|
|
# file, is the same license as for the pristine package itself (unless the
|
|
|
|
# license for the pristine package is not an Open Source License, in which
|
|
|
|
# case the license is the MIT License). An "Open Source License" is a
|
|
|
|
# license that conforms to the Open Source Definition (Version 1.9)
|
|
|
|
# published by the Open Source Initiative.
|
|
|
|
|
2007-01-16 00:41:13 +01:00
|
|
|
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
|
|
|
#
|
|
|
|
|
2012-03-21 21:33:22 +01:00
|
|
|
|
2007-01-16 00:41:13 +01:00
|
|
|
Name: wget
|
2014-01-20 11:14:11 +01:00
|
|
|
Version: 1.15
|
2011-12-02 20:08:36 +01:00
|
|
|
Release: 0
|
2010-10-07 22:16:36 +02:00
|
|
|
Summary: A Tool for Mirroring FTP and HTTP Servers
|
2012-03-21 21:33:22 +01:00
|
|
|
License: GPL-3.0+
|
2011-04-09 22:21:44 +02:00
|
|
|
Group: Productivity/Networking/Web/Utilities
|
2014-01-20 11:14:11 +01:00
|
|
|
Url: https://www.gnu.org/software/wget/
|
|
|
|
Source: https://ftp.gnu.org/gnu/wget/%name-%version.tar.xz
|
|
|
|
Source1: https://ftp.gnu.org/gnu/wget/%name-%version.tar.xz.sig
|
|
|
|
Source2: https://savannah.gnu.org/project/memberlist-gpgkeys.php?group=wget&download=1#/wget.keyring
|
2011-04-09 22:21:44 +02:00
|
|
|
Patch0: wgetrc.patch
|
|
|
|
Patch1: wget-libproxy.patch
|
2013-05-03 10:34:44 +02:00
|
|
|
Patch5: wget-1.14-openssl-no-intern.patch
|
|
|
|
Patch6: wget-1.14-no-ssl-comp.patch
|
2013-06-26 10:48:34 +02:00
|
|
|
# PATCH-FIX-OPENSUSE fix pod syntax for perl 5.18 coolo@suse.de
|
|
|
|
Patch7: wget-fix-pod-syntax.diff
|
2011-04-09 22:21:44 +02:00
|
|
|
BuildRequires: libpng-devel
|
2011-10-19 12:41:55 +02:00
|
|
|
%if 0%{suse_version} > 1110
|
2011-04-09 22:21:44 +02:00
|
|
|
BuildRequires: libproxy-devel
|
2011-10-19 12:40:32 +02:00
|
|
|
%endif
|
2011-12-02 20:08:36 +01:00
|
|
|
BuildRequires: automake
|
2011-04-09 22:21:44 +02:00
|
|
|
BuildRequires: libidn-devel
|
2013-05-02 14:30:58 +02:00
|
|
|
BuildRequires: makeinfo
|
2012-03-21 21:33:22 +01:00
|
|
|
BuildRequires: openssl-devel
|
2014-01-23 22:22:02 +01:00
|
|
|
# For the Testsuite
|
|
|
|
BuildRequires: perl-HTTP-Daemon
|
|
|
|
BuildRequires: perl-IO-Socket-SSL
|
|
|
|
|
2012-03-21 21:33:22 +01:00
|
|
|
BuildRequires: pkg-config
|
2013-05-03 10:34:44 +02:00
|
|
|
BuildRequires: xz
|
2010-10-07 22:16:36 +02:00
|
|
|
PreReq: %install_info_prereq
|
2011-04-09 22:21:44 +02:00
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
2007-01-16 00:41:13 +01:00
|
|
|
|
|
|
|
%description
|
|
|
|
Wget enables you to retrieve WWW documents or FTP files from a server.
|
|
|
|
This can be done in script files or via the command line.
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%setup -q
|
2011-04-09 22:21:44 +02:00
|
|
|
%patch0
|
2011-10-19 12:56:00 +02:00
|
|
|
%if 0%{suse_version} > 1110
|
2011-10-19 11:57:52 +02:00
|
|
|
%patch1
|
2011-10-19 12:56:00 +02:00
|
|
|
%endif
|
2014-01-20 11:14:11 +01:00
|
|
|
%patch5 -p1
|
2012-11-12 05:54:16 +01:00
|
|
|
%patch6
|
2013-06-26 10:48:34 +02:00
|
|
|
%patch7 -p1
|
2007-01-16 00:41:13 +01:00
|
|
|
|
|
|
|
%build
|
2011-10-19 12:56:00 +02:00
|
|
|
%if 0%{suse_version} > 1110
|
|
|
|
# only wget-libproxy.patch needs this
|
2011-10-19 11:57:52 +02:00
|
|
|
autoreconf --force
|
2011-10-19 12:56:00 +02:00
|
|
|
%endif
|
2011-10-19 11:57:52 +02:00
|
|
|
%configure --with-ssl=openssl
|
2011-04-09 22:21:44 +02:00
|
|
|
make %{?_smp_mflags}
|
2007-01-16 00:41:13 +01:00
|
|
|
|
2014-01-23 22:22:02 +01:00
|
|
|
%check
|
|
|
|
make -C tests/ check
|
|
|
|
|
2007-01-16 00:41:13 +01:00
|
|
|
%install
|
2011-04-09 22:21:44 +02:00
|
|
|
%makeinstall
|
2008-02-25 17:47:53 +01:00
|
|
|
%find_lang %{name}
|
2007-01-16 00:41:13 +01:00
|
|
|
|
|
|
|
%post
|
|
|
|
%install_info --info-dir=%{_infodir} %{_infodir}/%{name}.info.gz
|
|
|
|
|
|
|
|
%postun
|
|
|
|
%install_info_delete --info-dir=%{_infodir} %{_infodir}/%{name}.info.gz
|
|
|
|
|
2008-02-25 17:47:53 +01:00
|
|
|
%files -f %{name}.lang
|
2007-01-16 00:41:13 +01:00
|
|
|
%defattr(-,root,root)
|
2011-04-09 22:21:44 +02:00
|
|
|
%doc AUTHORS COPYING NEWS README MAILING-LIST
|
2007-01-16 00:41:13 +01:00
|
|
|
%doc doc/sample.wgetrc util/rmold.pl
|
2008-02-25 17:47:53 +01:00
|
|
|
%{_mandir}/*/wget*
|
|
|
|
%{_infodir}/wget*
|
2007-01-16 00:41:13 +01:00
|
|
|
%config(noreplace) %{_sysconfdir}/wgetrc
|
|
|
|
%{_bindir}/*
|
|
|
|
|
2007-03-29 01:01:25 +02:00
|
|
|
%changelog
|