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