-# Note that this is NOT a relocatable package
%define pref /usr
-%define ver 2.1.16
-%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>
-BuildRoot: /tmp/wxBase_rpm
+Prefix: %{pref}
+BuildRoot: /var/tmp/%{name}-root
%description
wxBase is a collection of C++ classes providing basic data structures (strings,
Header files for wxBase. You need them to develop programs using wxBase.
%prep
-%setup -n wxBase
-./configure --prefix=%{pref} --disable-gui --disable-std_iostreams
+%setup -n wxBase-%{ver}
+./configure --prefix=%{pref} --enable-soname --disable-gui --disable-std_iostreams
%build
if [ "$SMP" != "" ]; then
%files
%defattr (644, root, root, 755)
-%doc COPYING.LIB INSTALL.txt LICENCE.txt README.txt SYMBOLS.txt TODO.txt
-%attr(755, -, -) %{pref}/lib/libwxbase*
+%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
-%{pref}/lib/wx/include/wx/setup.h
-
-%files devel -f src/rpmfiles.lst
+%dir %{pref}/lib/wx/include/wx/base
+%{pref}/lib/wx/include/wx/base/setup.h
%defattr (644, root, root, 755)
+%attr(755, -, -) %{pref}/bin/wxbase-%{ver2}-config
%attr(755, -, -) %{pref}/bin/wx-config