Accepting request 64328 from X11:windowmanagers

Accepted submit request 64328 from user prusnak

OBS-URL: https://build.opensuse.org/request/show/64328
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/fvwm2?expand=0&rev=31
This commit is contained in:
Sascha Peilicke 2011-03-17 09:29:23 +00:00 committed by Git OBS Bridge
commit 57fb0d8075
2 changed files with 9 additions and 24 deletions

View File

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

View File

@ -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 <fvwm-workers@fvwm.org>
%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