# - package itself defaults to GNUTLS (prefferring over openssl) should we too?
#
# Conditional build:
+%bcond_without tests
%bcond_without ssl # do not use SSL
%bcond_with gnutls # use gnutls, otherwise openssl is used when ssl is on
# better just preload it instead forcing linking
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.7.4
+Version: 4.7.7
Release: 1
License: GPL v3+
Group: Applications/Networking
Source0: https://lftp.yar.ru/ftp/%{name}-%{version}.tar.xz
-# Source0-md5: 74965c798b1806d0a2659d8a606ea47f
+# Source0-md5: 1e84dd802bdd4d1be15b8dac9fc9c697
Source1: http://www.mif.pg.gda.pl/homepages/ankry/man-PLD/%{name}-man-pages.tar.bz2
# Source1-md5: cdad8fb5342eebd9916eccefc98a855b
Source2: %{name}.desktop
%{__make}
+%{?with_tests:%{__make} check}
+
%install
rm -rf $RPM_BUILD_ROOT
install -d $RPM_BUILD_ROOT{%{_sysconfdir},%{_pixmapsdir},%{_desktopdir}}