--- /dev/null
+--- lftp-4.0.0/configure.ac~ 2009-09-12 19:39:22.434759846 +0200
++++ lftp-4.0.0/configure.ac 2009-09-12 19:39:56.352256686 +0200
+@@ -254,9 +254,9 @@
+
+ AC_ARG_WITH(gnutls, AS_HELP_STRING([--without-gnutls], [don't use GNUTLS library]),
+ [with_gnutls=$withval], [with_gnutls=yes])
+-AC_ARG_WITH(openssl,
++AC_ARG_WITH(openssl,[
+ AS_HELP_STRING([--with-openssl[[=/path]]], [use OpenSSL [at /path]])
+-AS_HELP_STRING([--without-openssl], [don't use OpenSSL (default)]),
++AS_HELP_STRING([--without-openssl], [don't use OpenSSL (default)])],
+ [with_openssl=$withval], [with_openssl=no])
+ case "$with_openssl" in
+ yes) with_gnutls=no;;
+--- lftp-4.0.0/configure.ac~ 2009-09-12 19:40:40.005586037 +0200
++++ lftp-4.0.0/configure.ac 2009-09-12 19:43:06.141403565 +0200
+@@ -255,7 +255,7 @@
+ AC_ARG_WITH(gnutls, AS_HELP_STRING([--without-gnutls], [don't use GNUTLS library]),
+ [with_gnutls=$withval], [with_gnutls=yes])
+ AC_ARG_WITH(openssl,[
+-AS_HELP_STRING([--with-openssl[[=/path]]], [use OpenSSL [at /path]])
++AS_HELP_STRING([--with-openssl=/path], [use OpenSSL at /path])
+ AS_HELP_STRING([--without-openssl], [don't use OpenSSL (default)])],
+ [with_openssl=$withval], [with_openssl=no])
+ case "$with_openssl" in
Summary(pt_BR.UTF-8): Sofisticado programa de transferência de arquivos (cliente FTP/HTTP)
Summary(zh_CN.UTF-8): lftp 客户端程序
Name: lftp
-Version: 3.7.15
+Version: 4.0.0
Release: 1
License: GPL v3+
Group: Applications/Networking
Source0: ftp://ftp.yars.free.net/pub/source/lftp/%{name}-%{version}.tar.lzma
-# Source0-md5: 7407a8eadacae90c9c6caf542c3f46d2
+# Source0-md5: 3a0baead3174e6d10c3262b03bc642c3
Source1: http://www.mif.pg.gda.pl/homepages/ankry/man-PLD/%{name}-man-pages.tar.bz2
# Source1-md5: cdad8fb5342eebd9916eccefc98a855b
Source2: %{name}.desktop
Patch0: %{name}-home_etc.patch
Patch1: %{name}-makefile.patch
+# ALWAYS send updated patch to lftp mailing lists
Patch2: %{name}-pl.po-update.patch
+Patch3: %{name}-m4.patch
URL: http://lftp.yar.ru/
BuildRequires: autoconf >= 2.60
BuildRequires: automake
%setup -q
#%%patch0 -p1
%patch1 -p1
-%patch2 -p1
+#%patch2 -p1
+%patch3 -p1
rm -f po/stamp-po