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
|
|
|
#
|
2011-04-11 09:43:32 +02:00
|
|
|
# Copyright (c) 2011 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/
|
|
|
|
#
|
|
|
|
|
|
|
|
Name: wget
|
2011-10-19 11:57:52 +02:00
|
|
|
Version: 1.13.4
|
2011-12-02 20:08:36 +01:00
|
|
|
Release: 0
|
|
|
|
License: GPL-3.0+
|
2010-10-07 22:16:36 +02:00
|
|
|
Summary: A Tool for Mirroring FTP and HTTP Servers
|
2011-04-09 22:21:44 +02:00
|
|
|
Url: http://www.gnu.org/software/wget/
|
|
|
|
Group: Productivity/Networking/Web/Utilities
|
2011-10-19 12:40:32 +02:00
|
|
|
Source: %name-%version.tar.bz2
|
2011-04-09 22:21:44 +02:00
|
|
|
# PATCH-MISSING-TAG -- See http://wiki.opensuse.org/Packaging/Patches
|
|
|
|
Patch0: wgetrc.patch
|
|
|
|
# PATCH-FEATURE-UPSTREAM wget-libproxy.patch dimstar@opensuse.org -- Add libproxy support to wget
|
|
|
|
Patch1: wget-libproxy.patch
|
2011-10-14 16:58:13 +02:00
|
|
|
Patch3: wget-sni.patch
|
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-04-09 22:21:44 +02:00
|
|
|
BuildRequires: openssl-devel
|
2011-12-02 20:08:36 +01:00
|
|
|
BuildRequires: automake
|
2011-04-09 22:21:44 +02:00
|
|
|
BuildRequires: pkg-config
|
|
|
|
BuildRequires: libidn-devel
|
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
|
2011-10-14 16:58:13 +02:00
|
|
|
%patch3
|
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
|
|
|
|
|
|
|
%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
|