SHA256
1
0
forked from pool/wget

Accepting request 66600 from home:elvigia:branches:network:utilities

OBS-URL: https://build.opensuse.org/request/show/66600
OBS-URL: https://build.opensuse.org/package/show/network:utilities/wget?expand=0&rev=11
This commit is contained in:
Cristian Rodríguez
2011-04-09 20:21:44 +00:00
committed by Git OBS Bridge
parent f0d8f53d83
commit b300530757
8 changed files with 247 additions and 81 deletions

View File

@@ -1,7 +1,7 @@
#
# spec file for package wget (Version 1.11.4)
# spec file for package wget (Version 1.12)
#
# Copyright (c) 2009 SUSE LINUX Products GmbH, Nuernberg, Germany.
# Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -15,50 +15,50 @@
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
# norootforbuild
Name: wget
BuildRequires: libpng-devel openssl-devel
Url: http://www.gnu.org/software/wget/
Version: 1.12
Release: 1
License: GPLv3+
Group: Productivity/Networking/Web/Utilities
AutoReqProv: on
Version: 1.11.4
Release: 8
Summary: A Tool for Mirroring FTP and HTTP Servers
Url: http://www.gnu.org/software/wget/
Group: Productivity/Networking/Web/Utilities
Source: %name-%version.tar.bz2
Patch1: wgetrc.patch
Patch2: wget-nullcerts.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
# 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
Patch2: wget-1.12-nosslv2.patch
BuildRequires: libpng-devel
BuildRequires: libproxy-devel
BuildRequires: openssl-devel
BuildRequires: pkg-config
BuildRequires: libidn-devel
PreReq: %install_info_prereq
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%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
%patch0
%patch1 -p1
%patch2
%build
./autogen.sh
%configure
make %{?jobs:-j%jobs}
make %{?_smp_mflags}
%install
make DESTDIR=$RPM_BUILD_ROOT install
%makeinstall
%find_lang %{name}
%clean
rm -rf $RPM_BUILD_ROOT;
rm -rf %{buildroot};
%post
%install_info --info-dir=%{_infodir} %{_infodir}/%{name}.info.gz
@@ -68,7 +68,7 @@ rm -rf $RPM_BUILD_ROOT;
%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*