From b4cbd62caa9dde6ef792954a8010b3ecc5843b40aa626b0b86c1f029a8367fcc Mon Sep 17 00:00:00 2001 From: Dominique Leuenberger Date: Mon, 23 Jul 2012 20:46:06 +0000 Subject: [PATCH] Accepting request 128590 from GNOME:Next Split out lang package.. no importance.. just cleaning up old bugs OBS-URL: https://build.opensuse.org/request/show/128590 OBS-URL: https://build.opensuse.org/package/show/GNOME:Factory/gnome-backgrounds?expand=0&rev=50 --- gnome-backgrounds.changes | 8 ++++++++ gnome-backgrounds.spec | 10 ++++++---- 2 files changed, 14 insertions(+), 4 deletions(-) diff --git a/gnome-backgrounds.changes b/gnome-backgrounds.changes index 4791ae2..2fe26d5 100644 --- a/gnome-backgrounds.changes +++ b/gnome-backgrounds.changes @@ -1,3 +1,11 @@ +------------------------------------------------------------------- +Sat Jul 21 17:37:57 UTC 2012 - dimstar@opensuse.org + +- Split out lang-package (bnc#645077). +- Recommend -lang package from the main package. +- Drop xz BuildRequires as it now comes for free in the build + system. + ------------------------------------------------------------------- Mon May 14 15:55:01 UTC 2012 - vuntz@opensuse.org diff --git a/gnome-backgrounds.spec b/gnome-backgrounds.spec index c855207..9429f8f 100644 --- a/gnome-backgrounds.spec +++ b/gnome-backgrounds.spec @@ -21,8 +21,6 @@ BuildRequires: fdupes BuildRequires: glib2-devel BuildRequires: intltool BuildRequires: translation-update-upstream -# Only needed because we don't (and won't) support building xz tarballs by default... See bnc#697467 -BuildRequires: xz AutoReqProv: off BuildArch: noarch Version: 3.4.2 @@ -33,10 +31,12 @@ BuildRoot: %{_tmppath}/%{name}-%{version}-build Summary: GNOME Backgrounds License: GPL-2.0+ Group: System/GUI/GNOME +Recommends: %{name}-lang %description Background images from the GNOME project. +%lang_package %prep %setup -q translation-update-upstream @@ -53,16 +53,18 @@ make %{?jobs:-j%jobs} mv $RPM_BUILD_ROOT/%{_datadir}/locale/sr@latin $RPM_BUILD_ROOT/%{_datadir}/locale/sr@Latn # Change sr@Latn to sr@latin mv %{buildroot}%{_datadir}/locale/sr@Latn %{buildroot}%{_datadir}/locale/sr@latin -%find_lang %{name} +%find_lang %{name} %{?no_lang_C} %fdupes -s %buildroot %clean rm -rf $RPM_BUILD_ROOT -%files -f %name.lang +%files %defattr(-, root, root) %doc AUTHORS COPYING ChangeLog NEWS README %{_datadir}/gnome-background-properties/ %{_datadir}/backgrounds/ +%files lang -f %{name}.lang + %changelog