[PackageKit/f14/master: 2/2] - Split up the gtk-module Gtk2 and Gtk3 subpackages so we don't drag the gtk3 packages onto the li

Richard Hughes rhughes at fedoraproject.org
Thu Sep 2 08:44:38 UTC 2010


commit 56c8a30b9e179fd557b098adec9a2d09252fe4c8
Author: Richard Hughes <richard at hughsie.com>
Date:   Thu Sep 2 09:44:55 2010 +0100

    - Split up the gtk-module Gtk2 and Gtk3 subpackages so we don't drag the gtk3
      packages onto the live media.

 PackageKit.spec |   25 ++++++++++++++++++++++---
 1 files changed, 22 insertions(+), 3 deletions(-)
---
diff --git a/PackageKit.spec b/PackageKit.spec
index 745cdc0..ec66525 100644
--- a/PackageKit.spec
+++ b/PackageKit.spec
@@ -5,7 +5,7 @@
 Summary:   Package management service
 Name:      PackageKit
 Version:   0.6.7
-Release:   0%{?dist}
+Release:   2%{?dist}
 License:   GPLv2+ and LGPLv2+
 URL:       http://www.packagekit.org
 Source0:   http://www.packagekit.org/releases/%{name}-%{version}.tar.bz2
@@ -34,6 +34,7 @@ BuildRequires: sqlite-devel
 BuildRequires: NetworkManager-devel
 BuildRequires: polkit-devel >= 0.92
 BuildRequires: libtool
+BuildRequires: gtk2-devel
 BuildRequires: gtk3-devel
 BuildRequires: docbook-utils
 BuildRequires: gnome-doc-utils
@@ -202,7 +203,17 @@ Requires: pango
 Requires: PackageKit-glib = %{version}-%{release}
 
 %description gtk-module
-The PackageKit GTK+ module allows any Pango application to install
+The PackageKit GTK2+ module allows any Pango application to install
+fonts from configured repositories using PackageKit.
+
+%package gtk3-module
+Summary: Install fonts automatically using PackageKit
+Group: Development/Libraries
+Requires: pango
+Requires: PackageKit-glib = %{version}-%{release}
+
+%description gtk3-module
+The PackageKit GTK3+ module allows any Pango application to install
 fonts from configured repositories using PackageKit.
 
 %package command-not-found
@@ -387,7 +398,11 @@ update-mime-database %{_datadir}/mime &> /dev/null || :
 
 %files gtk-module
 %defattr(-,root,root,-)
-%{_libdir}/gtk-?.0/modules/*.so
+%{_libdir}/gtk-2.0/modules/*.so
+
+%files gtk3-module
+%defattr(-,root,root,-)
+%{_libdir}/gtk-3.0/modules/*.so
 
 %files command-not-found
 %defattr(-,root,root,-)
@@ -425,6 +440,10 @@ update-mime-database %{_datadir}/mime &> /dev/null || :
 %{_includedir}/PackageKit/backend/*.h
 
 %changelog
+* Tue Sep 02 2010 Richard Hughes  <rhughes at redhat.com> - 0.6.7-2
+- Split up the gtk-module Gtk2 and Gtk3 subpackages so we don't drag the gtk3
+  packages onto the live media.
+
 * Wed Aug 04 2010 Richard Hughes  <rhughes at redhat.com> - 0.6.7-1
 - New upstream release of 0.6.7.
 - Add gnome-packagekit and kpackagekit to the list of infrastructure packages


More information about the scm-commits mailing list