-# Note that this is NOT a relocatable package
%define pref /usr
-%define ver 2.1.14
+%define ver 2.3.0
%define rel 0
Summary: wxBase library - non-GUI support classes of wxWindows toolkit
Source: wxBase-%{ver}.tar.gz
URL: none
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
+%setup -n wxBase-%{ver}
./configure --prefix=%{pref} --disable-gui --disable-std_iostreams
%build
%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*
%dir %{pref}/lib/wx
%dir %{pref}/lib/wx/include
%dir %{pref}/lib/wx/include/wx
-%{pref}/lib/wx/include/wx/setup.h
+%{pref}/lib/wx/include/wx/base/setup.h
%files devel -f src/rpmfiles.lst
%defattr (644, root, root, 755)