%define pref /usr
-%define ver 2.3.2
-%define ver2 2.3
+%define ver 2.5.0
+%define ver2 2.5
%define rel 1
Summary: wxBase library - non-GUI support classes of wxWindows toolkit
export MAKE="make"
fi
-(cd locale; make allmo)
-
mkdir obj-shared
cd obj-shared
-../configure --prefix=%{pref} --enable-soname --disable-gui --disable-std_iostreams
+../configure --prefix=%{pref} --disable-gui --disable-std_iostreams
$MAKE
cd ..
(cd obj-static ; make prefix=$RPM_BUILD_ROOT%{pref} install)
(cd obj-shared ; make prefix=$RPM_BUILD_ROOT%{pref} install)
+%find_lang wxstd
+
%clean
rm -rf $RPM_BUILD_ROOT
fi
fi
-%files
+%files -f wxstd.lang
%defattr (-,root,root)
%doc COPYING.LIB *.txt
%{_libdir}/libwx_base*so.*
-%{_datadir}/locale/*/*/*.mo
%files devel
%defattr (-,root,root)
%dir %{_libdir}/wx
%{_libdir}/wx/*
%{_bindir}/wxbase-%{ver2}-config
+%{_datadir}/aclocal/*.m4
%files static
%defattr (-,root,root)