Accepting request 25885 from GNOME:Factory

Copy from GNOME:Factory/mutter based on submit request 25885 from user vuntz

OBS-URL: https://build.opensuse.org/request/show/25885
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/mutter?expand=0&rev=9
This commit is contained in:
OBS User autobuild 2009-12-08 11:00:55 +00:00 committed by Git OBS Bridge
parent 702c66fc02
commit 0ae93948de
2 changed files with 14 additions and 9 deletions

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Wed Dec 2 12:04:17 CET 2009 - vuntz@opensuse.org
- Update the way we remove the ha, la, ig locales for old versions
of openSUSE.
------------------------------------------------------------------- -------------------------------------------------------------------
Thu Oct 8 18:47:29 CEST 2009 - vuntz@opensuse.org Thu Oct 8 18:47:29 CEST 2009 - vuntz@opensuse.org

View File

@ -30,10 +30,10 @@ BuildRequires: intltool
BuildRequires: startup-notification-devel BuildRequires: startup-notification-devel
BuildRequires: update-desktop-files BuildRequires: update-desktop-files
BuildRequires: zenity BuildRequires: zenity
License: GPL v2 or later License: GPLv2+
Group: System/GUI/GNOME Group: System/GUI/GNOME
Version: 2.28.0 Version: 2.28.0
Release: 1 Release: 2
Summary: Window and compositing manager based on Clutter Summary: Window and compositing manager based on Clutter
Source: %{name}-%{version}.tar.bz2 Source: %{name}-%{version}.tar.bz2
Url: http://www.gnome.org Url: http://www.gnome.org
@ -48,7 +48,7 @@ Mutter is a window and compositing manager based on Clutter, forked
from Metacity. from Metacity.
%package devel %package devel
License: GPL v2 or later License: GPLv2+
Summary: Include Files and Libraries mandatory for Development Summary: Include Files and Libraries mandatory for Development
Group: Development/Libraries/GNOME Group: Development/Libraries/GNOME
Requires: %{name} = %{version} Requires: %{name} = %{version}
@ -73,6 +73,11 @@ to develop applications that require these.
%install %install
%makeinstall %makeinstall
%if 0%{?suse_version} <= 1110
%{__rm} %{buildroot}%{_datadir}/locale/ha/LC_MESSAGES/*
%{__rm} %{buildroot}%{_datadir}/locale/la/LC_MESSAGES/*
%{__rm} %{buildroot}%{_datadir}/locale/ig/LC_MESSAGES/*
%endif
%{__rm} %{buildroot}/%{_libdir}/*.la %{__rm} %{buildroot}/%{_libdir}/*.la
%suse_update_desktop_file %{name} %suse_update_desktop_file %{name}
%find_lang %{name} %find_lang %{name}
@ -107,12 +112,6 @@ rm -rf %{buildroot}
%doc %{_mandir}/man*/* %doc %{_mandir}/man*/*
%files lang -f %{name}.lang %files lang -f %{name}.lang
%if %suse_version <= 1110
# exclude locales which don't exist on old versions of openSUSE
%exclude %{_datadir}/locale/ha/LC_MESSAGES/*
%exclude %{_datadir}/locale/ig/LC_MESSAGES/*
%exclude %{_datadir}/locale/la/LC_MESSAGES/*
%endif
%files devel %files devel
%defattr (-, root, root) %defattr (-, root, root)