From 2a8f7ad0dfc66a48750f24f6ba09157af4097ed926c9e6b6c77d593e4aa58ae2 Mon Sep 17 00:00:00 2001 From: OBS User unknown Date: Thu, 9 Aug 2007 15:33:40 +0000 Subject: [PATCH] OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/gnome-session?expand=0&rev=14 --- gnome-session.changes | 6 ++++++ gnome-session.spec | 15 ++++++++++++--- 2 files changed, 18 insertions(+), 3 deletions(-) diff --git a/gnome-session.changes b/gnome-session.changes index 2dda663..771adfc 100644 --- a/gnome-session.changes +++ b/gnome-session.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Tue Aug 7 22:04:37 CEST 2007 - maw@suse.de + +- Use %fdupes +- Split off a -lang subpackage. + ------------------------------------------------------------------- Fri Aug 3 23:47:48 CEST 2007 - dreveman@suse.de diff --git a/gnome-session.spec b/gnome-session.spec index 85b2872..5f23f90 100644 --- a/gnome-session.spec +++ b/gnome-session.spec @@ -11,12 +11,12 @@ # norootforbuild Name: gnome-session -BuildRequires: CASA-devel control-center2-devel gnome-common gnome-desktop-devel gnome-keyring gnome-patch-translation hicolor-icon-theme intltool libglade2-devel libnotify-devel perl-XML-Parser tcpd-devel update-desktop-files +BuildRequires: CASA-devel control-center2-devel fdupes gnome-common gnome-desktop-devel gnome-keyring gnome-patch-translation hicolor-icon-theme intltool libglade2-devel libnotify-devel perl-XML-Parser tcpd-devel update-desktop-files # for xrdb resp. rsh checks: License: GPL v2 or later, LGPL v2 or later Group: System/GUI/GNOME Version: 2.19.6 -Release: 3 +Release: 6 Summary: Session Tools for the GNOME 2.x Desktop Source: %{name}-%{version}.tar.bz2 Source1: gnome @@ -67,6 +67,7 @@ Requires: control-center2 %endif Obsoletes: gnome-core Requires: hicolor-icon-theme +Requires: %{name}-lang = %{version} Suggests: rsh %gconf_schemas_prereq @@ -84,6 +85,7 @@ Authors: Ralph Mor, X Consortium +%lang_package %prep %setup -q gnome-patch-translation-prepare @@ -126,7 +128,9 @@ install -m644 %SOURCE2 $RPM_BUILD_ROOT%{_datadir}/xsessions/gnome.desktop %suse_update_desktop_file session-properties X-SuSE-ControlCenter-System %find_lang %{name}-2.0 %find_gconf_schemas -cat %{name}-2.0.lang %{name}.schemas_list >%{name}.lst +cat %{name}.schemas_list >%{name}.lst + +%fdupes $RPM_BUILD_ROOT %clean rm -rf $RPM_BUILD_ROOT @@ -152,7 +156,12 @@ rm -rf $RPM_BUILD_ROOT %dir %{_datadir}/xsessions %endif +%files lang -f %{name}-2.0.lang + %changelog +* Tue Aug 07 2007 - maw@suse.de +- Use %%fdupes +- Split off a -lang subpackage. * Fri Aug 03 2007 - dreveman@suse.de - Update for compiz 0.5.2, which need glib plugin to be loaded before gconf plugin.