# Note that this is NOT a relocatable package
%define pref /usr
-%define ver 2.1.0
-%define rel 8
+%define ver 2.6.1
+%define rel 1
Summary: The WINE port of the wxWindows library
Name: wxWINE
./configure --prefix=%{pref}
%build
-cd src && make
+make
%install
rm -rf $RPM_BUILD_ROOT
%files
%defattr (644, root, root, 755)
%doc COPYING.LIB INSTALL.txt LICENCE.txt README.txt SYMBOLS.txt TODO.txt
-%dir %{pref}/include/wx
-%{pref}/include/wx/*
+%dir %{pref}/include/wx-*
+%{pref}/include/wx-*/*
%dir %{pref}/lib/wx
%{pref}/lib/wx/*
%dir %{pref}/share/wx
%{pref}/share/wx/*
%attr(755, -, -) %{pref}/lib/libwx_msw*
%attr(755, -, -) %{pref}/bin/wx-config
-
+: