From 90d27ad31ec5ca4b1f9c738910941c1be5e5a6abf66b4abfb3f2bb45394db873 Mon Sep 17 00:00:00 2001 From: Pavol Rusnak Date: Wed, 16 Mar 2011 15:10:42 +0000 Subject: [PATCH] Accepting request 63987 from home:coolo:branches:openSUSE:Factory OBS-URL: https://build.opensuse.org/request/show/63987 OBS-URL: https://build.opensuse.org/package/show/X11:windowmanagers/fvwm2?expand=0&rev=11 --- fvwm2.changes | 5 +++++ fvwm2.spec | 30 +++++------------------------- 2 files changed, 10 insertions(+), 25 deletions(-) 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 af14cf8..89ccc07 100644 --- a/fvwm2.spec +++ b/fvwm2.spec @@ -26,7 +26,7 @@ Provides: fvwm fvwmicns windowmanager xpmroot Obsoletes: fvwm xpmroot AutoReqProv: on Version: 2.5.26 -Release: 43 +Release: 50 Summary: Improved Version of FVWM Window Manager Url: http://www.fvwm.org Source0: fvwm-%{version}.tar.bz2 @@ -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