%bcond_without ldap # without LDAP support
%if "%{pld_release}" != "ac"
%bcond_without ares # with c-ares (asynchronous DNS operations) library
-%bcond_without gnutls # use GnuTLS instead of OpenSSL
+%bcond_with gnutls # use GnuTLS instead of OpenSSL
%bcond_without rtmp # without Real Time Media Protocol
%else
%bcond_with ares # with c-ares (asynchronous DNS operations) library
Summary(ru.UTF-8): Утилита для получения файлов с серверов FTP, HTTP и других
Summary(uk.UTF-8): Утиліта для отримання файлів з серверів FTP, HTTP та інших
Name: curl
-Version: 7.23.1
+Version: 7.30.0
Release: 1
License: MIT-like
Group: Applications/Networking
Source0: http://curl.haxx.se/download/%{name}-%{version}.tar.lzma
-# Source0-md5: c5bb9ee66804755cd7217a60d7a72d4b
-Patch0: %{name}-no_strip.patch
-Patch1: %{name}-ac.patch
-Patch2: %{name}-pc.patch
-Patch3: %{name}-krb5flags.patch
-Patch4: lib%{name}.fb-changes.diff
-Patch5: gnutls3.patch
+# Source0-md5: e47049eaabfbed194bef7ae4960fdc37
+Patch0: %{name}-ac.patch
+Patch1: %{name}-krb5flags.patch
URL: http://curl.haxx.se/
BuildRequires: autoconf >= 2.57
BuildRequires: automake
%{?with_rtmp:BuildRequires: librtmp-devel}
%{?with_ssh:BuildRequires: libssh2-devel >= 1.2.8}
BuildRequires: libtool
+BuildRequires: nettle-devel
%{?with_ldap:BuildRequires: openldap-devel}
BuildRequires: pkgconfig
BuildRequires: rpm >= 4.4.9-56
%setup -q
%patch0 -p1
%patch1 -p1
-%patch2 -p1
-%patch3 -p1
-%patch4 -p1
-%patch5 -p1
%{__rm} -v m4/lt*.m4 m4/libtool.m4