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
This commit is contained in:
Pavol Rusnak 2011-03-16 15:10:42 +00:00 committed by Git OBS Bridge
parent aba3880ca8
commit 90d27ad31e
2 changed files with 10 additions and 25 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 Mon Nov 8 12:57:56 UTC 2010 - coolo@novell.com

View File

@ -26,7 +26,7 @@ Provides: fvwm fvwmicns windowmanager xpmroot
Obsoletes: fvwm xpmroot Obsoletes: fvwm xpmroot
AutoReqProv: on AutoReqProv: on
Version: 2.5.26 Version: 2.5.26
Release: 43 Release: 50
Summary: Improved Version of FVWM Window Manager Summary: Improved Version of FVWM Window Manager
Url: http://www.fvwm.org Url: http://www.fvwm.org
Source0: fvwm-%{version}.tar.bz2 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 set, to be extremely customizable and extendible, and to be very
compatible with the Motif MWM. compatible with the Motif MWM.
Authors:
--------
The fvwm developers <fvwm-workers@fvwm.org>
%define _xorg7libs %_lib %define _xorg7libs %_lib
%define _xorg7bin bin %define _xorg7bin bin
%define _xorg7libs32 lib %define _xorg7libs32 lib
@ -135,11 +129,14 @@ install -m 0644 %SOURCE3 $RPM_BUILD_ROOT/usr/share/xsessions/
# removing the useless README.vms file # removing the useless README.vms file
rm -f $RPM_BUILD_ROOT/%{_prefix}/share/doc/packages/fvwm2/README.vms rm -f $RPM_BUILD_ROOT/%{_prefix}/share/doc/packages/fvwm2/README.vms
%suse_update_desktop_file $RPM_BUILD_ROOT/usr/share/xsessions/%name.desktop %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 %clean
rm -rf $RPM_BUILD_ROOT rm -rf $RPM_BUILD_ROOT
%files %files -f %{name}.lang
%defattr(-,root,root) %defattr(-,root,root)
%doc AUTHORS COPYING ChangeLog NEWS docs sample.fvwmrc docu-module/* %doc AUTHORS COPYING ChangeLog NEWS docs sample.fvwmrc docu-module/*
%dir /etc/X11/fvwm2 %dir /etc/X11/fvwm2
@ -148,23 +145,6 @@ rm -rf $RPM_BUILD_ROOT
%{_prefix}/%{_xorg7libs32}/X11/fvwm2/* %{_prefix}/%{_xorg7libs32}/X11/fvwm2/*
%{_prefix}/%{_xorg7libshare}/X11/fvwm2/pixmaps/* %{_prefix}/%{_xorg7libshare}/X11/fvwm2/pixmaps/*
#%{_xorg7prefix}/share/locale/*/*/* #%{_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 %{_prefix}/%{_xorg7libshare}/X11/fvwm2/utils/quantize_pixmaps
%dir %{_xorg7prefix}/lib/X11/fvwm2 %dir %{_xorg7prefix}/lib/X11/fvwm2
%{_xorg7prefix}/share/fvwm %{_xorg7prefix}/share/fvwm