2007-01-16 00:41:13 +01:00
|
|
|
#
|
2008-09-06 04:15:41 +02:00
|
|
|
# spec file for package wget (Version 1.11.4)
|
2007-01-16 00:41:13 +01:00
|
|
|
#
|
2009-08-13 17:41:58 +02:00
|
|
|
# Copyright (c) 2009 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/
|
|
|
|
#
|
|
|
|
|
|
|
|
# norootforbuild
|
|
|
|
|
2008-02-25 17:47:53 +01:00
|
|
|
|
2007-01-16 00:41:13 +01:00
|
|
|
Name: wget
|
|
|
|
BuildRequires: libpng-devel openssl-devel
|
2008-09-06 04:15:41 +02:00
|
|
|
Url: http://www.gnu.org/software/wget/
|
2008-04-25 16:47:58 +02:00
|
|
|
License: GPL v3 or later
|
2007-01-16 00:41:13 +01:00
|
|
|
Group: Productivity/Networking/Web/Utilities
|
2008-02-25 17:47:53 +01:00
|
|
|
AutoReqProv: on
|
2008-09-06 04:15:41 +02:00
|
|
|
Version: 1.11.4
|
2009-08-13 17:41:58 +02:00
|
|
|
Release: 7
|
2007-01-16 00:41:13 +01:00
|
|
|
Summary: A Tool for Mirroring FTP and HTTP Servers
|
|
|
|
Source: %name-%version.tar.bz2
|
2008-05-01 15:08:20 +02:00
|
|
|
Patch1: wgetrc.patch
|
2009-08-13 17:41:58 +02:00
|
|
|
Patch2: wget-nullcerts.patch
|
2007-01-16 00:41:13 +01:00
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|
|
|
PreReq: %install_info_prereq
|
|
|
|
|
|
|
|
%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.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Authors:
|
|
|
|
--------
|
|
|
|
Hrvoje Niksic <hniksic@srce.hr>
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%setup -q
|
|
|
|
%patch1
|
2009-08-13 17:41:58 +02:00
|
|
|
%patch2
|
2007-01-16 00:41:13 +01:00
|
|
|
|
|
|
|
%build
|
|
|
|
./autogen.sh
|
2008-04-25 16:47:58 +02:00
|
|
|
%configure
|
|
|
|
make
|
2007-01-16 00:41:13 +01:00
|
|
|
|
|
|
|
%install
|
|
|
|
make DESTDIR=$RPM_BUILD_ROOT install
|
2008-02-25 17:47:53 +01:00
|
|
|
%find_lang %{name}
|
2007-01-16 00:41:13 +01:00
|
|
|
|
|
|
|
%clean
|
|
|
|
rm -rf $RPM_BUILD_ROOT;
|
|
|
|
|
|
|
|
%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)
|
2008-04-25 16:47:58 +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
|