#
# Conditional build:
%bcond_with xmlrpc # enable XmlRpc functionality
-%bcond_without unicode # unicode version of wxGTK2
#
Summary: CHM viewer for UNIX
Summary(pl.UTF-8): Przeglądarka CHM dla Uniksów
Name: xchm
Version: 1.23
-Release: 4
+Release: 5
License: GPL v2+
Group: X11/Applications
Source0: http://downloads.sourceforge.net/xchm/%{name}-%{version}.tar.gz
BuildRequires: automake
BuildRequires: chmlib-devel
BuildRequires: gettext-tools >= 0.14.3
-BuildRequires: wxGTK2-%{?with_unicode:unicode-}devel >= 2.8.0
+BuildRequires: wxGTK3-unicode-devel >= 2.8.0
%if %{with xmlrpc}
# for configure check
BuildRequires: openssl-devel
%{__automake}
%configure \
%{?with_xmlrpc:--enable-xmlrpc} \
- WX_CONFIG_NAME=%{_bindir}/wx-gtk2-%{!?with_unicode:ansi}%{?with_unicode:unicode}-config
+ WX_CONFIG_NAME=%{_bindir}/wx-gtk3-unicode-config
%{__make}
%install