mo files are now with lang directive

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12607 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Václav Slavík 2001-11-22 23:55:21 +00:00
parent bb6de5ffad
commit acea2a0bac
3 changed files with 10 additions and 7 deletions

View File

@ -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)

View File

@ -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

View File

@ -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