# TODO
# /usr/share/locale/ca_ES@valencia is needed by FileZilla-3.0.5.2-1.i686
-# /usr/share/locale/cs_CZ is needed by FileZilla-3.0.5.2-1.i686
-# /usr/share/locale/el_GR is needed by FileZilla-3.0.5.2-1.i686
-# /usr/share/locale/eu_ES is needed by FileZilla-3.0.5.2-1.i686
-# /usr/share/locale/gl_ES is needed by FileZilla-3.0.5.2-1.i686
-# /usr/share/locale/km_KH is needed by FileZilla-3.0.5.2-1.i686
+# (there is probably ca_ES@valencia locale in Debian glibc - merge it)
Summary: FTP client for X Window
Summary(es.UTF-8): Cliente FTP para el X Window
Summary(ja.UTF-8): X Window System 用マルチスレッド FTP クライアント
Patch0: %{name}-desktop.patch
Patch1: %{name}-locales.patch
URL: http://filezilla-project.org/
-BuildRequires: wxGTK2-unicode-devel >= 2.8.4
-BuildRequires: wxWidgets-devel >= 2.8.4
-BuildRequires: wxWidgets-utils >= 2.8.4
-Requires: wxWidgets >= 2.8.4
+BuildRequires: autoconf
+BuildRequires: automake
+BuildRequires: libtool >= 2:1.5
+BuildRequires: wxGTK2-unicode-devel >= 2.8.6
+BuildRequires: wxWidgets-devel >= 2.8.6
+BuildRequires: wxWidgets-utils >= 2.8.6
+Requires: wxWidgets >= 2.8.6
Provides: filezilla
Obsoletes: filezilla
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
cd locales
mv bg{_BG,}.po
mv ca{_ES,}.po
+mv cs{_CZ,}.po
mv da{_DK,}.po
mv de{_DE,}.po
+mv el{_GR,}.po
mv es{_ES,}.po
mv et{_EE,}.po
+mv eu{_ES,}.po
mv fi{_FI,}.po
mv fr{_FR,}.po
+mv gl{_ES,}.po
mv he{_IL,}.po
mv hu{_HU,}.po
mv id{_ID,}.po
mv it{_IT,}.po
mv ja{_JP,}.po
+mv km{_KH,}.po
mv ko{_KR,}.po
mv lt{_LT,}.po
mv lv{_LV,}.po
mv sv{_SE,}.po
mv tr{_TR,}.po
-# more suspicious
-# ca_ES@valencia cs_CZ el_GR eu_ES gl_ES km_KH pt_BR zh_CN zh_TW
-
%build
+%{__libtoolize}
+%{__aclocal} -I .
+%{__autoconf}
+%{__autoheader}
+%{__automake}
%configure \
--with-wx-config=wx-gtk2-unicode-config
%{__make}