diff --git a/fvwm2.changes b/fvwm2.changes index 156111e..dcc6d13 100644 --- a/fvwm2.changes +++ b/fvwm2.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Fri Mar 11 20:26:21 UTC 2011 - coolo@novell.com + +- use of %find_lang is a MUST + ------------------------------------------------------------------- Mon Nov 8 12:57:56 UTC 2010 - coolo@novell.com diff --git a/fvwm2.spec b/fvwm2.spec index 9a6dece..89ccc07 100644 --- a/fvwm2.spec +++ b/fvwm2.spec @@ -52,12 +52,6 @@ FVWM is intended to have a small memory footprint but a rich feature set, to be extremely customizable and extendible, and to be very compatible with the Motif MWM. - - -Authors: --------- - The fvwm developers - %define _xorg7libs %_lib %define _xorg7bin bin %define _xorg7libs32 lib @@ -135,11 +129,14 @@ install -m 0644 %SOURCE3 $RPM_BUILD_ROOT/usr/share/xsessions/ # removing the useless README.vms file rm -f $RPM_BUILD_ROOT/%{_prefix}/share/doc/packages/fvwm2/README.vms %suse_update_desktop_file $RPM_BUILD_ROOT/usr/share/xsessions/%name.desktop +%find_lang fvwm %{name}.lang +%find_lang FvwmScript %{name}.lang +%find_lang FvwmTaskBar %{name}.lang %clean rm -rf $RPM_BUILD_ROOT -%files +%files -f %{name}.lang %defattr(-,root,root) %doc AUTHORS COPYING ChangeLog NEWS docs sample.fvwmrc docu-module/* %dir /etc/X11/fvwm2 @@ -148,23 +145,6 @@ rm -rf $RPM_BUILD_ROOT %{_prefix}/%{_xorg7libs32}/X11/fvwm2/* %{_prefix}/%{_xorg7libshare}/X11/fvwm2/pixmaps/* #%{_xorg7prefix}/share/locale/*/*/* -# the find_lang macro is not very usable for fwvm, -# listing the files manually -%lang(ar) %{_xorg7prefix}/share/locale/ar/LC_MESSAGES/fvwm.mo -%lang(de) %{_xorg7prefix}/share/locale/de/LC_MESSAGES/fvwm.mo -%lang(fr) %{_xorg7prefix}/share/locale/fr/LC_MESSAGES/fvwm.mo -%lang(sv) %{_xorg7prefix}/share/locale/sv/LC_MESSAGES/fvwm.mo -%lang(zh) %{_xorg7prefix}/share/locale/zh_CN/LC_MESSAGES/fvwm.mo -%lang(ar) %{_xorg7prefix}/share/locale/ar/LC_MESSAGES/FvwmScript.mo -%lang(ar) %{_xorg7prefix}/share/locale/ar/LC_MESSAGES/FvwmTaskBar.mo -%lang(de) %{_xorg7prefix}/share/locale/de/LC_MESSAGES/FvwmScript.mo -%lang(de) %{_xorg7prefix}/share/locale/de/LC_MESSAGES/FvwmTaskBar.mo -%lang(fr) %{_xorg7prefix}/share/locale/fr/LC_MESSAGES/FvwmScript.mo -%lang(fr) %{_xorg7prefix}/share/locale/fr/LC_MESSAGES/FvwmTaskBar.mo -%lang(sv) %{_xorg7prefix}/share/locale/sv/LC_MESSAGES/FvwmScript.mo -%lang(sv) %{_xorg7prefix}/share/locale/sv/LC_MESSAGES/FvwmTaskBar.mo -%lang(zh) %{_xorg7prefix}/share/locale/zh_CN/LC_MESSAGES/FvwmScript.mo -%lang(zh) %{_xorg7prefix}/share/locale/zh_CN/LC_MESSAGES/FvwmTaskBar.mo %{_prefix}/%{_xorg7libshare}/X11/fvwm2/utils/quantize_pixmaps %dir %{_xorg7prefix}/lib/X11/fvwm2 %{_xorg7prefix}/share/fvwm