SHA256
1
0
forked from pool/wget

Accepting request 49901 from network:utilities

checked in (request 49901)

OBS-URL: https://build.opensuse.org/request/show/49901
OBS-URL: https://build.opensuse.org/package/show/network:utilities/wget?expand=0&rev=10
This commit is contained in:
OBS User autobuild
2010-10-07 20:16:36 +00:00
committed by Git OBS Bridge
parent c2e8ee2439
commit f0d8f53d83
7 changed files with 81 additions and 171 deletions

View File

@@ -1,5 +1,5 @@
#
# spec file for package wget (Version 1.12)
# spec file for package wget (Version 1.11.4)
#
# Copyright (c) 2009 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
@@ -15,47 +15,50 @@
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
# norootforbuild
Name: wget
Version: 1.12
Release: 1
License: GPLv3+
Summary: A Tool for Mirroring FTP and HTTP Servers
BuildRequires: libpng-devel openssl-devel
Url: http://www.gnu.org/software/wget/
License: GPLv3+
Group: Productivity/Networking/Web/Utilities
AutoReqProv: on
Version: 1.11.4
Release: 8
Summary: A Tool for Mirroring FTP and HTTP Servers
Source: %name-%version.tar.bz2
# 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
BuildRequires: libpng-devel
BuildRequires: libproxy-devel
BuildRequires: openssl-devel
BuildRequires: pkg-config
PreReq: %install_info_prereq
Patch1: wgetrc.patch
Patch2: wget-nullcerts.patch
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
%patch0
%patch1 -p1
%patch1
%patch2
%build
./autogen.sh
%configure
make %{?_smp_mflags}
make %{?jobs:-j%jobs}
%install
%makeinstall
make DESTDIR=$RPM_BUILD_ROOT install
%find_lang %{name}
%clean
rm -rf %{buildroot};
rm -rf $RPM_BUILD_ROOT;
%post
%install_info --info-dir=%{_infodir} %{_infodir}/%{name}.info.gz
@@ -65,7 +68,7 @@ rm -rf %{buildroot};
%files -f %{name}.lang
%defattr(-,root,root)
%doc AUTHORS COPYING NEWS README MAILING-LIST
%doc AUTHORS COPYING NEWS README MAILING-LIST
%doc doc/sample.wgetrc util/rmold.pl
%{_mandir}/*/wget*
%{_infodir}/wget*