]> git.pld-linux.org Git - packages/FileZilla.git/blobdiff - FileZilla.spec
- release 2, rebuild against libnettle.so.6 (nettle-3.5)
[packages/FileZilla.git] / FileZilla.spec
index 541081b54214556b9d18003e8afc599e34461fed..c224c592ae7e91640adf41855c230c49370ab764 100644 (file)
@@ -1,4 +1,8 @@
-%define                libfilezillaver 0.14.0
+#
+# 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 クライアント
@@ -7,17 +11,17 @@ Summary(pt_BR.UTF-8):        Cliente FTP para o X Window
 Summary(ru.UTF-8):     FTP клиент для X Window
 Summary(uk.UTF-8):     FTP клієнт для X Window
 Name:          FileZilla
-Version:       3.37.4
-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: 0c8d36d6f8d3445c28583339eaea2618
+# Source0-md5: 00e2f8ff0c1ad9802c0eed6488c3565a
 Patch0:                %{name}-desktop.patch
 URL:           http://filezilla-project.org/
 BuildRequires: autoconf >= 2.50
 BuildRequires: automake >= 1.6
-BuildRequires: cppunit-devel >= 1.10.2
+BuildRequires: cppunit-devel >= 1.13.0
 BuildRequires: dbus-devel >= 1.2
 BuildRequires: gettext-tools >= 0.11.0
 BuildRequires: gnutls-devel >= 3.4.15
@@ -26,21 +30,22 @@ BuildRequires:      libfilezilla-devel >= %{libfilezillaver}
 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
 BuildRequires: pugixml-devel >= 1.6-2
 BuildRequires: sqlite3-devel >= 3.7
-BuildRequires: wxGTK2-unicode-devel >= 3.0.3
-BuildRequires: wxWidgets-devel >= 3.0.3
-BuildRequires: wxWidgets-utils >= 3.0.3
+BuildRequires: wxGTK2-unicode-devel >= 3.0.4
+BuildRequires: wxWidgets-devel >= 3.0.4
+BuildRequires: wxWidgets-utils >= 3.0.4
 BuildRequires: xdg-utils
 Requires:      dbus-libs >= 1.2
 Requires:      gnutls-libs >= 3.4.15
 Requires:      libfilezilla >= %{libfilezillaver}
 Requires:      nettle >= 3.1
 Requires:      pugixml >= 1.6-2
-Requires:      wxGTK2-unicode >= 3.0.3
+Requires:      wxGTK2-unicode >= 3.0.4
 Provides:      filezilla
 Obsoletes:     filezilla
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
@@ -95,6 +100,7 @@ cd locales
        xdgopen=/usr/bin/xdg-open \
        --disable-precomp \
        --with-wx-config=wx-gtk2-unicode-config \
+       %{?with_storj:--enable-storj} \
        --with-tinyxml=builtin
 %{__make}
 
@@ -119,8 +125,11 @@ rm -rf $RPM_BUILD_ROOT
 %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
This page took 0.089348 seconds and 4 git commands to generate.