[gnome-color-manager] trivial: update the Fedora spec file from upstream



commit 17a9b64be6102829c5c0cf97a35677414e32b6c7
Author: Richard Hughes <richard hughsie com>
Date:   Fri May 6 15:27:55 2011 +0100

    trivial: update the Fedora spec file from upstream

 contrib/gnome-color-manager.spec.in |   13 +++++++++----
 1 files changed, 9 insertions(+), 4 deletions(-)
---
diff --git a/contrib/gnome-color-manager.spec.in b/contrib/gnome-color-manager.spec.in
index e529c57..1d3a98a 100644
--- a/contrib/gnome-color-manager.spec.in
+++ b/contrib/gnome-color-manager.spec.in
@@ -16,7 +16,7 @@ Requires:  shared-color-profiles
 Requires:  dconf
 Requires:  GConf2 >= 2.31.1
 
-BuildRequires: gtk3-devel >= 2.91.3
+BuildRequires: gtk3-devel >= 3.0.0
 BuildRequires: scrollkeeper
 BuildRequires: gnome-doc-utils >= 0.3.2
 BuildRequires: desktop-file-utils
@@ -35,12 +35,20 @@ BuildRequires: libcanberra-devel
 BuildRequires: libnotify-devel >= 0.7.0
 BuildRequires: glib2-devel >= 2.25.9-2
 BuildRequires: docbook-utils
+BuildRequires: colord-devel
 BuildRequires: libmash-devel
 BuildRequires: clutter-gtk-devel
 
 # GNOME and KDE have different session policy agents
 Provides: color-policy-agent
 
+Requires(post):   /usr/bin/gtk-update-icon-cache
+Requires(postun): /usr/bin/gtk-update-icon-cache
+
+# obsolete sub-package
+Obsoletes: gnome-color-manager-devel <= 3.1.1
+Provides: gnome-color-manager-devel
+
 %description
 gnome-color-manager is a session framework that makes it easy to manage, install
 and generate color profiles in the GNOME desktop.
@@ -61,9 +69,6 @@ for i in gcm-prefs gcm-import ; do
     $RPM_BUILD_ROOT%{_datadir}/applications/$i.desktop
 done
 
-rm -f $RPM_BUILD_ROOT%{_libdir}/*.a
-rm -f $RPM_BUILD_ROOT%{_libdir}/*.la
-
 %find_lang %name --with-gnome
 
 %post



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]