From 5915fb47d2e480dd3732613600b30c4961d154cba357cfb6be6c5ccc340b9a5f Mon Sep 17 00:00:00 2001
From: Dominique Leuenberger <dimstar@opensuse.org>
Date: Thu, 11 Aug 2011 19:43:23 +0000
Subject: [PATCH] Accepting request 78553 from
 home:anubisg1:branches:GNOME:Factory

split out user faces so that they can be used by other login managers as well, re-submitted with dimstar suggested modification

OBS-URL: https://build.opensuse.org/request/show/78553
OBS-URL: https://build.opensuse.org/package/show/GNOME:Factory/gnome-control-center?expand=0&rev=107
---
 gnome-control-center.changes |  6 ++++++
 gnome-control-center.spec    | 14 +++++++++++++-
 2 files changed, 19 insertions(+), 1 deletion(-)

diff --git a/gnome-control-center.changes b/gnome-control-center.changes
index c885c8e..9afc6e8 100644
--- a/gnome-control-center.changes
+++ b/gnome-control-center.changes
@@ -1,3 +1,9 @@
+-------------------------------------------------------------------
+Wed Aug  3 12:22:47 UTC 2011 - andrea@opensuse.org
+
+- split out faces package so that any Display manager other than
+  gnome with gdm can use it 
+
 -------------------------------------------------------------------
 Mon Jul 25 22:47:06 CEST 2011 - vuntz@opensuse.org
 
diff --git a/gnome-control-center.spec b/gnome-control-center.spec
index 78f6235..825dd5e 100644
--- a/gnome-control-center.spec
+++ b/gnome-control-center.spec
@@ -81,6 +81,7 @@ Requires:       gnome-version
 Requires:       iso-codes
 Requires:       nautilus
 Recommends:     %{name}-lang
+Recommends:     %{name}-user-faces
 Recommends:     apg
 Provides:       control-center2 = 2.22.1
 Obsoletes:      control-center2 < 2.22.1
@@ -91,6 +92,14 @@ BuildRoot:      %{_tmppath}/%{name}-%{version}-build
 The control center is GNOME's main interface for configuration of
 various aspects of your desktop.
 
+%package user-faces
+License:        GPLv2+
+Summary:        Login Managers user avatars
+Group:          System/GUI/GNOME
+
+%description user-faces
+This package provides user avatars to be used by display managers
+
 %package -n libgnome-control-center1
 License:        GPLv2+
 Summary:        Shared library used by GNOME control center
@@ -204,7 +213,6 @@ rm -rf $RPM_BUILD_ROOT
 %{_datadir}/gnome-control-center/
 %{_datadir}/icons/hicolor/*/*/*.png
 %{_datadir}/icons/hicolor/*/*/*.svg
-%{_datadir}/pixmaps/faces/
 %dir %{_datadir}/sounds/gnome
 %dir %{_datadir}/sounds/gnome/default
 %dir %{_datadir}/sounds/gnome/default/alerts
@@ -213,6 +221,10 @@ rm -rf $RPM_BUILD_ROOT
 
 %files lang -f %{name}-2.0.lang
 
+%files user-faces
+%defattr (-, root, root)
+%{_datadir}/pixmaps/faces/
+
 %files -n libgnome-control-center1
 %defattr (-, root, root)
 %{_libdir}/libgnome-control-center.so.1*