# Note that this is NOT a relocatable package
%define pref /usr
%define ver 2.3.1
+%define ver2 2.3
%define rel 1
Summary: The Motif/Lesstif port of the wxWindows library
# all packages providing an implementation of wxWindows library (regardless of
# the toolkit used) should provide the (virtual) wxwin package, this makes it
-# possible to require wxwin instead of requiring "wxgtk or wxmotif or wxqt..."
+# possible to require wxwin instead of requiring "wxgtk or wxmotif or wxuniv..."
Provides: wxwin
%description
%prep
%setup -n wxMotif
-./configure --prefix=%{pref} --enable-burnt_name --with-odbc --with-opengl --with-motif
+./configure --prefix=%{pref} --enable-soname --with-odbc --with-opengl --with-motif
%build
if [ "$SMP" != "" ]; then
%doc COPYING.LIB INSTALL.txt LICENCE.txt README.txt SYMBOLS.txt TODO.txt
%dir %{pref}/share/wx
%{pref}/share/wx/*
-%attr(755, -, -) %{pref}/lib/libwx_motif.*
-%attr(755, -, -) %{pref}/lib/libwx_motif-2.1.*
+%attr(755, -, -) %{pref}/lib/libwx_motif-%{ver2}.*
%files devel
%defattr (644, root, root, 755)
%{pref}/include/wx/*
%dir %{pref}/lib/wx
%{pref}/lib/wx/*
-%attr(755, -, -) %{pref}/bin/wxmotif-config
+%attr(755, -, -) %{pref}/bin/wxmotif-%{ver2}-config
%attr(755, -, -) %{pref}/bin/wx-config
%files gl