]> git.pld-linux.org Git - packages/FileZilla.git/blobdiff - FileZilla.spec
- up to 0.38.1
[packages/FileZilla.git] / FileZilla.spec
index c224c592ae7e91640adf41855c230c49370ab764..7c238e3d860a235c64f3a4fd33dfbb7edc5b4806 100644 (file)
@@ -1,8 +1,6 @@
-#
-# Conditional build:
 %bcond_with    storj   # support for Storj decentralized cloud storage provider
 
-%define                libfilezillaver 0.16.0
+%define                libfilezilla_ver        0.38.1
 Summary:       FTP client for X Window
 Summary(es.UTF-8):     Cliente FTP para el X Window
 Summary(ja.UTF-8):     X Window System 用マルチスレッド FTP クライアント
@@ -11,43 +9,41 @@ 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.42.1
-Release:       2
-License:       GPL
+Version:       3.60.2
+Release:       1
+License:       GPL v2+
 Group:         X11/Applications/Networking
 Source0:       https://download.filezilla-project.org/client/%{name}_%{version}_src.tar.bz2
-# Source0-md5: 00e2f8ff0c1ad9802c0eed6488c3565a
+# Source0-md5: 72dd72bb97a39cdda07a0e35a7400751
 Patch0:                %{name}-desktop.patch
-URL:           http://filezilla-project.org/
+URL:           https://filezilla-project.org/
 BuildRequires: autoconf >= 2.50
 BuildRequires: automake >= 1.6
 BuildRequires: cppunit-devel >= 1.13.0
 BuildRequires: dbus-devel >= 1.2
 BuildRequires: gettext-tools >= 0.11.0
-BuildRequires: gnutls-devel >= 3.4.15
-BuildRequires: gtk+2-devel
-BuildRequires: libfilezilla-devel >= %{libfilezillaver}
+BuildRequires: gtk+3-devel
+BuildRequires: libfilezilla-devel >= %{libfilezilla_ver}
 BuildRequires: libidn-devel
-# -std=c++14
-BuildRequires: libstdc++-devel >= 6:5
-%{?with_storj:BuildRequires:   libstorj-devel >= 1.0}
+# -std=c++17
+BuildRequires: libstdc++-devel >= 6:7
 BuildRequires: libtool >= 2:2
 BuildRequires: nettle-devel >= 3.1
 BuildRequires: pkgconfig
-BuildRequires: pugixml-devel >= 1.6-2
+BuildRequires: pugixml-devel >= 1.9
 BuildRequires: sqlite3-devel >= 3.7
-BuildRequires: wxGTK2-unicode-devel >= 3.0.4
+%{?with_storj:BuildRequires:   storj-uplink-c-devel}
+BuildRequires: wxGTK3-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:      libfilezilla >= %{libfilezilla_ver}
 Requires:      nettle >= 3.1
-Requires:      pugixml >= 1.6-2
-Requires:      wxGTK2-unicode >= 3.0.4
+Requires:      pugixml >= 1.9
+Requires:      wxGTK3-unicode >= 3.0.4
 Provides:      filezilla
-Obsoletes:     filezilla
+Obsoletes:     filezilla < 3.1
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
@@ -99,7 +95,7 @@ cd locales
 %configure \
        xdgopen=/usr/bin/xdg-open \
        --disable-precomp \
-       --with-wx-config=wx-gtk2-unicode-config \
+       --with-wx-config=wx-gtk3-unicode-config \
        %{?with_storj:--enable-storj} \
        --with-tinyxml=builtin
 %{__make}
@@ -110,8 +106,12 @@ rm -rf $RPM_BUILD_ROOT
 %{__make} install \
        DESTDIR=$RPM_BUILD_ROOT
 
-# not supported by glibc (as of 2.25)
-%{__rm} -r $RPM_BUILD_ROOT%{_localedir}/{co,kab}
+# API not exported
+%{__rm} $RPM_BUILD_ROOT%{_libdir}/libfzclient-private.{la,so}
+%{__rm} $RPM_BUILD_ROOT%{_libdir}/libfzclient-commonui-private.{la,so}
+
+# not supported by glibc (as of 2.32)
+%{__rm} -r $RPM_BUILD_ROOT%{_localedir}/co
 
 # Remove oversized icons
 %{__rm} -r $RPM_BUILD_ROOT%{_iconsdir}/hicolor/480x480
@@ -121,6 +121,9 @@ rm -rf $RPM_BUILD_ROOT
 %clean
 rm -rf $RPM_BUILD_ROOT
 
+%post  -p /sbin/ldconfig
+%postun        -p /sbin/ldconfig
+
 %files -f filezilla.lang
 %defattr(644,root,root,755)
 %doc AUTHORS ChangeLog NEWS README
@@ -130,6 +133,8 @@ rm -rf $RPM_BUILD_ROOT
 %if %{with storj}
 %attr(755,root,root) %{_bindir}/fzstorj
 %endif
+%attr(755,root,root) %{_libdir}/libfzclient-commonui-private-%{version}.so
+%attr(755,root,root) %{_libdir}/libfzclient-private-%{version}.so
 %{_datadir}/appdata/filezilla.appdata.xml
 %dir %{_datadir}/filezilla
 %dir %{_datadir}/filezilla/docs
This page took 0.153009 seconds and 4 git commands to generate.