%define pref /usr
-%define ver 2.3.0
-%define rel 0
+%define ver 2.3.1
+%define ver2 2.3
+%define rel 1
Summary: wxBase library - non-GUI support classes of wxWindows toolkit
Name: wxBase
Release: %{rel}
Copyright: wxWindows Licence
Group: Development/Libraries
-Source: wxBase-%{ver}.tar.gz
-URL: none
+Source: wxBase-%{ver}.tar.bz2
+URL: http://www.wxwindows.org
Packager: Vadim Zeitlin <vadim@wxwindows.org>
Prefix: %{pref}
BuildRoot: /var/tmp/%{name}-root
%prep
%setup -n wxBase-%{ver}
-./configure --prefix=%{pref} --disable-gui --disable-std_iostreams
+./configure --prefix=%{pref} --enable-soname --disable-gui --disable-std_iostreams
%build
if [ "$SMP" != "" ]; then
%defattr (644, root, root, 755)
%doc COPYING.LIB LICENCE.txt README.txt SYMBOLS.txt
%attr(755, -, -) %{pref}/lib/libwx_base*
+
+%files devel -f src/rpmfiles.lst
%dir %{pref}/lib/wx
%dir %{pref}/lib/wx/include
%dir %{pref}/lib/wx/include/wx
+%dir %{pref}/lib/wx/include/wx/base
%{pref}/lib/wx/include/wx/base/setup.h
-
-%files devel -f src/rpmfiles.lst
%defattr (644, root, root, 755)
+%attr(755, -, -) %{pref}/bin/wxbase-%{ver2}-config
%attr(755, -, -) %{pref}/bin/wx-config