# Conditional build:
%bcond_without ssl # do not use SSL
%bcond_with gnutls # use gnutls, otherwise openssl is used when ssl is on
-%bcond_without dante # Dante-based SOCKS support
+# better just preload it instead forcing linking
+%bcond_with dante # Dante-based SOCKS support
# broken currently https://www.dnssec-tools.org/trac/ticket/173
%bcond_with dnssec # DNSSEC local validation
#
Summary(pt_BR.UTF-8): Sofisticado programa de transferência de arquivos (cliente FTP/HTTP)
Summary(zh_CN.UTF-8): lftp 客户端程序
Name: lftp
-Version: 4.4.13
+Version: 4.6.3a
Release: 1
License: GPL v3+
Group: Applications/Networking
Source0: http://lftp.yar.ru/ftp/%{name}-%{version}.tar.xz
-# Source0-md5: 46aa97b33886230c26be1a0037625496
+# Source0-md5: b469ccc40d624aa4fdc66c1674b916d0
Source1: http://www.mif.pg.gda.pl/homepages/ankry/man-PLD/%{name}-man-pages.tar.bz2
# Source1-md5: cdad8fb5342eebd9916eccefc98a855b
Source2: %{name}.desktop
Source3: %{name}-icon.png
+Patch100: %{name}-git.patch
Patch0: %{name}-makefile.patch
Patch1: %{name}-m4.patch
Patch2: aliases.patch
# when updated attach at https://github.com/lavv17/lftp/issues
Patch3: %{name}-pl.po-update.patch
-Patch4: lftp-4.3.8-gets.patch
-Patch5: %{name}-am.patch
+Patch4: %{name}-am.patch
URL: http://lftp.yar.ru/
BuildRequires: autoconf >= 2.60
BuildRequires: automake
%{?with_dante:BuildRequires: dante-devel}
%{?with_dnssec:BuildRequires: dnssec-tools-devel}
BuildRequires: expat-devel
-BuildRequires: gettext-devel >= 0.14.2
+BuildRequires: gettext-tools >= 0.14.2
%{?with_gnutls:BuildRequires: gnutls-devel >= 1.2.5}
BuildRequires: libstdc++-devel
BuildRequires: libtool >= 1:1.4.2-9
%prep
%setup -q
+#%patch100 -p1
%patch0 -p1
%patch1 -p1
%patch2 -p1
-%patch3 -p1
+#%patch3 -p1
%patch4 -p1
-%patch5 -p1
%{__rm} po/stamp-po