SHA256
1
0
forked from pool/wget

Accepting request 26763 from home:jengelh:branches:network:utilities

Copy from home:jengelh:branches:network:utilities/wget via accept of submit request 26763 revision 2.
Request was accepted with message:
thx

OBS-URL: https://build.opensuse.org/request/show/26763
OBS-URL: https://build.opensuse.org/package/show/network:utilities/wget?expand=0&rev=5
This commit is contained in:
Pavol Rusnak
2009-12-21 20:18:42 +00:00
committed by Git OBS Bridge
parent 7f57011928
commit dabfd7233e
8 changed files with 82 additions and 172 deletions

View File

@@ -1,7 +1,7 @@
#
# spec file for package wget (Version 1.12)
# spec file for package wget (Version 1.11.4)
#
# Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany.
# Copyright (c) 2009 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,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: GPL v3 or later
Group: Productivity/Networking/Web/Utilities
AutoReqProv: on
Version: 1.11.4
Release: 7
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*