From acea2a0bacd976681be96ce7751547f0acd9c152 Mon Sep 17 00:00:00 2001 From: =?utf8?q?V=C3=A1clav=20Slav=C3=ADk?= Date: Thu, 22 Nov 2001 23:55:21 +0000 Subject: [PATCH] mo files are now with lang directive git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12607 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- wxBase.spec | 5 +++-- wxGTK.spec | 7 ++++--- wxMotif.spec | 5 +++-- 3 files changed, 10 insertions(+), 7 deletions(-) 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 -- 2.45.2