]> git.pld-linux.org Git - packages/wget.git/blobdiff - wget.spec
- release 2 (by relup.sh)
[packages/wget.git] / wget.spec
index d59d71c5090d1b107fe1cee56b9d8f5ff5ba1400..cca910b36504f4eb8ef9f268bcafc9f6e734816a 100644 (file)
--- a/wget.spec
+++ b/wget.spec
@@ -6,6 +6,7 @@
 #
 # Conditional build:
 %bcond_without tests   # check target
+%bcond_without metalink # build without metalink support
 %bcond_with    gnutls  # use GnuTLS (wget default) instead of OpenSSL
 
 Summary:       A utility for retrieving files using the HTTP or FTP protocols
@@ -17,12 +18,12 @@ Summary(ru.UTF-8):  Утилита для получения файлов по п
 Summary(uk.UTF-8):     Утиліта для отримання файлів по протоколам HTTP та FTP
 Summary(zh_CN.UTF-8):  [通讯]功能强大的下载程序,支持断点续传
 Name:          wget
-Version:       1.19.2
-Release:       1
+Version:       1.20.1
+Release:       2
 License:       GPL v3+ with OpenSSL exception
 Group:         Networking/Utilities
 Source0:       http://ftp.gnu.org/gnu/wget/%{name}-%{version}.tar.lz
-# Source0-md5: 11663ce60f71c72773c30ae08a279011
+# Source0-md5: 183af2e886e42aa501d3e6f3992b3344
 Source1:       http://www.mif.pg.gda.pl/homepages/ankry/man-PLD/%{name}-non-english-man-pages.tar.bz2
 # Source1-md5: d8b2b56ec7461606c22edbafaf8a418f
 Patch0:                %{name}-info.patch
@@ -30,20 +31,20 @@ Patch1:             %{name}-wgetrc_path.patch
 Patch2:                %{name}-home_etc.patch
 Patch3:                %{name}-ssl-certs.patch
 Patch4:                user.xdg.origin.url.patch
-Patch5:                %{name}-tests.patch
 URL:           http://www.gnu.org/software/wget/
-BuildRequires: attr-devel
-BuildRequires: autoconf >= 2.61
+BuildRequires: autoconf >= 2.63
 BuildRequires: automake >= 1:1.9
-BuildRequires: gettext-tools >= 0.18.1
-%{?with_gnutls:BuildRequires:  gnutls-devel}
-BuildRequires: gpgme-devel >= 0.4.2
+BuildRequires: gettext-tools >= 0.19.8
+# >= 3.6.3 for TLSv1.3
+%{?with_gnutls:BuildRequires:  gnutls-devel >= 3.0.16}
+%{?with_metalink:BuildRequires:        gpgme-devel >= 0.4.2}
 BuildRequires: libidn2-devel
-BuildRequires: libmetalink-devel
+%{?with_metalink:BuildRequires:        libmetalink-devel}
 BuildRequires: libpsl-devel >= 0.16.0
 BuildRequires: libuuid-devel
-%{!?with_gnutls:BuildRequires: openssl-devel >= 0.9.7m}
-BuildRequires: pcre-devel
+# >= 1.1.0 for TLSv1.3
+%{!?with_gnutls:BuildRequires: openssl-devel >= 1.0.1}
+BuildRequires: pcre2-8-devel
 BuildRequires: perl-devel
 BuildRequires: pkgconfig
 BuildRequires: tar >= 1:1.22
@@ -57,6 +58,8 @@ BuildRequires:        perl-IO-Socket-SSL
 BuildRequires: python3-modules >= 1:3.0
 %endif
 Provides:      webclient
+%{?with_gnutls:Requires:       gnutls-libs >= 3.0.16}
+%{!?with_gnutls:Requires:      openssl >= 1.0.1}
 Requires:      libpsl >= 0.16.0
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
@@ -139,7 +142,6 @@ Proxy серверів, настроюваність.
 %patch2 -p1
 %patch3 -p1
 %patch4 -p1
-%patch5 -p1
 
 %{__rm} doc/wget.info doc/sample.wgetrc.munged_for_texi_inclusion po/stamp-po
 
@@ -167,7 +169,7 @@ chmod +x build-aux/bzr-version-gen
        --enable-pcre \
        --disable-silent-rules \
        --with-libpsl \
-       --with-metalink \
+       %{__with_without metalink} \
        --with-ssl%{!?with_gnutls:=openssl} \
        --with-zlib \
        %{nil}
This page took 0.059242 seconds and 4 git commands to generate.