-diff -Nur lftp-3.5.1/src/Makefile.am lftp-3.5.1.makefile/src/Makefile.am
---- lftp-3.5.1/src/Makefile.am 2006-06-12 01:59:23.000000000 +0200
-+++ lftp-3.5.1.makefile/src/Makefile.am 2006-08-02 01:23:10.000000000 +0200
-@@ -1,5 +1,5 @@
- localedir = $(datadir)/locale
+--- lftp-4.4.2/src/Makefile.am~ 2013-01-31 10:49:50.000000000 +0100
++++ lftp-4.4.2/src/Makefile.am 2013-02-02 07:06:31.057591370 +0100
+@@ -1,4 +1,4 @@
-pkgverlibdir = $(pkglibdir)/$(VERSION)
+pkgverlibdir = $(pkglibdir)
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.0
-Release: 2
+Version: 4.4.2
+Release: 1
License: GPL v3+
Group: Applications/Networking
Source0: http://ftp.yars.free.net/pub/source/lftp/%{name}-%{version}.tar.xz
-# Source0-md5: b057e3e01686a200c35753c3496c2130
+# Source0-md5: 3c9411d859e1df9c09d3de0f32774cf3
Source1: http://www.mif.pg.gda.pl/homepages/ankry/man-PLD/%{name}-man-pages.tar.bz2
# Source1-md5: cdad8fb5342eebd9916eccefc98a855b
Source2: %{name}.desktop
URL: http://lftp.yar.ru/
BuildRequires: autoconf >= 2.60
BuildRequires: automake
+BuildRequires: dante-devel
+BuildRequires: dnssec-tools-devel
BuildRequires: expat-devel
BuildRequires: gettext-devel >= 0.14.2
%{?with_gnutls:BuildRequires: gnutls-devel >= 1.2.5}
%patch0 -p1
%patch1 -p1
%patch2 -p1
-%patch3 -p1
+#%patch3 -p1
%patch4 -p1
%{!?with_gnutls:echo 'AC_DEFUN([AM_PATH_LIBGNUTLS],[/bin/true])' > m4/gnutls.m4}
%{__automake}
CXXFLAGS="%{rpmcflags} -fno-rtti -fno-exceptions"
%configure \
+ --without-included-regex \
+ --with-dnssec-local-validation \
--with-modules \
+ --with-socksdante \
--with%{!?with_openssl:out}-openssl \
--with%{!?with_gnutls:out}-gnutls