diff --git a/wxBase.spec b/wxBase.spec index 25e9234dd4..b3bcbea468 100644 --- a/wxBase.spec +++ b/wxBase.spec @@ -68,6 +68,8 @@ rm -rf $RPM_BUILD_ROOT (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 @@ -93,11 +95,10 @@ if test -f %{_bindir}/wx-config -a -f /usr/bin/md5sum ; then 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) diff --git a/wxGTK.spec b/wxGTK.spec index 90fc4568b1..ff519e752f 100644 --- a/wxGTK.spec +++ b/wxGTK.spec @@ -1,7 +1,7 @@ %define pref /usr %define ver 2.3.2 %define ver2 2.3 -%define rel 0 +%define rel 1 Summary: The GTK+ 1.2 port of the wxWindows library Name: wxGTK @@ -82,6 +82,8 @@ rm -rf $RPM_BUILD_ROOT (cd obj-static; make prefix=$RPM_BUILD_ROOT%{pref} install) (cd obj-shared; make prefix=$RPM_BUILD_ROOT%{pref} install) +%find_lang wxstd + %post /sbin/ldconfig @@ -111,12 +113,11 @@ if test -f %{_bindir}/wx-config -a -f /usr/bin/md5sum ; then fi -%files +%files -f wxstd.lang %defattr(-,root,root) %doc COPYING.LIB *.txt %dir %{_datadir}/wx %{_datadir}/wx/* -%{_datadir}/locale/*/*/*.mo %{_libdir}/libwx_gtk-%{ver2}*.so.* %files devel diff --git a/wxMotif.spec b/wxMotif.spec index 83ae92b185..62e053ef1e 100644 --- a/wxMotif.spec +++ b/wxMotif.spec @@ -81,6 +81,8 @@ rm -rf $RPM_BUILD_ROOT (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 @@ -113,12 +115,11 @@ if test -f %{_bindir}/wx-config -a -f /usr/bin/md5sum ; then fi -%files +%files -f wxstd.lang %defattr (-,root,root) %doc COPYING.LIB *.txt %dir %{_datadir}/wx %{_datadir}/wx/* -%{_datadir}/locale/*/*/*.mo %{_libdir}/libwx_motif-%{ver2}*.so.* %files devel