-%define libfilezillaver 0.15.1
+#
+# Conditional build:
+%bcond_with storj # support for Storj decentralized cloud storage provider
+
+%define libfilezillaver 0.16.0
Summary: FTP client for X Window
Summary(es.UTF-8): Cliente FTP para el X Window
Summary(ja.UTF-8): X Window System 用マルチスレッド FTP クライアント
Summary(ru.UTF-8): FTP клиент для X Window
Summary(uk.UTF-8): FTP клієнт для X Window
Name: FileZilla
-Version: 3.39.0
-Release: 1
+Version: 3.42.1
+Release: 2
License: GPL
Group: X11/Applications/Networking
Source0: https://download.filezilla-project.org/client/%{name}_%{version}_src.tar.bz2
-# Source0-md5: 9e819e21fafe9ff16bfc1c07b4c09153
+# Source0-md5: 00e2f8ff0c1ad9802c0eed6488c3565a
Patch0: %{name}-desktop.patch
URL: http://filezilla-project.org/
BuildRequires: autoconf >= 2.50
BuildRequires: libidn-devel
# -std=c++14
BuildRequires: libstdc++-devel >= 6:5
+%{?with_storj:BuildRequires: libstorj-devel >= 1.0}
BuildRequires: libtool >= 2:2
BuildRequires: nettle-devel >= 3.1
BuildRequires: pkgconfig
xdgopen=/usr/bin/xdg-open \
--disable-precomp \
--with-wx-config=wx-gtk2-unicode-config \
+ %{?with_storj:--enable-storj} \
--with-tinyxml=builtin
%{__make}
%defattr(644,root,root,755)
%doc AUTHORS ChangeLog NEWS README
%attr(755,root,root) %{_bindir}/filezilla
-%attr(755,root,root) %{_bindir}/fzsftp
%attr(755,root,root) %{_bindir}/fzputtygen
+%attr(755,root,root) %{_bindir}/fzsftp
+%if %{with storj}
+%attr(755,root,root) %{_bindir}/fzstorj
+%endif
%{_datadir}/appdata/filezilla.appdata.xml
%dir %{_datadir}/filezilla
%dir %{_datadir}/filezilla/docs