+%define ver 2.7.0
+%define ver2 2.7
+%define rel 1
+
+# Configurable settings (use --with(out) unicode on rpmbuild command line):
+%define unicode 0
+%{?_with_unicode: %{expand: %%define unicode 1}}
+%{?_without_unicode: %{expand: %%define unicode 0}}
+
+%if %{unicode}
+ %define name wx-base-unicode
+ %define wxconfig base-unicode-release-%{ver2}
+ %define wxconfiglink wxbaseu-%{ver2}-config
+%else
+ %define name wx-base
+ %define wxconfig base-ansi-release-%{ver2}
+ %define wxconfiglink wxbase-%{ver2}-config
+%endif
+
+Summary: wxBase library - non-GUI support classes of wxWidgets toolkit
+Name: %{name}