From 3b6fa24b39e699e665251c19f60b2226f2f0de1e Mon Sep 17 00:00:00 2001 From: Tom Callaway Date: Fri, 24 Oct 2008 21:54:04 +0000 Subject: [PATCH] customize Vendor.conf for Fedora --- PackageKit-0.3.8-Fedora-Vendor.conf.patch | 60 +++++++++++++++++++++++ PackageKit.spec | 10 +++- 2 files changed, 69 insertions(+), 1 deletion(-) create mode 100644 PackageKit-0.3.8-Fedora-Vendor.conf.patch diff --git a/PackageKit-0.3.8-Fedora-Vendor.conf.patch b/PackageKit-0.3.8-Fedora-Vendor.conf.patch new file mode 100644 index 0000000..bab7118 --- /dev/null +++ b/PackageKit-0.3.8-Fedora-Vendor.conf.patch @@ -0,0 +1,60 @@ +diff -up PackageKit-0.3.8/etc/Vendor.conf.BAD PackageKit-0.3.8/etc/Vendor.conf +--- PackageKit-0.3.8/etc/Vendor.conf.BAD 2008-10-24 16:02:00.000000000 -0400 ++++ PackageKit-0.3.8/etc/Vendor.conf 2008-10-24 17:49:27.000000000 -0400 +@@ -12,7 +12,7 @@ + # If the value is set to 'none' then no link is shown. + # + # default=http://www.packagekit.org/pk-package-not-found.html +-DefaultUrl=http://www.packagekit.org/pk-package-not-found.html ++DefaultUrl=https://fedoraproject.org/wiki/PackageKit_Items_Not_Found#Missing_Package + + # The URL which is shown to the user when a codec could not be found. + # It should explain why certain codecs cannot be used, and perhaps show +@@ -21,7 +21,7 @@ DefaultUrl=http://www.packagekit.org/pk- + # If the value is set to 'none' then the value of DefaultUrl is used. + # + # default=none +-CodecUrl=none ++CodecUrl=https://fedoraproject.org/wiki/PackageKit_Items_Not_Found#Missing_Codec + + # The URL which is shown to the user when hardware drivers could not be found. + # It should explain why some hardware is not supported, and links to futher +@@ -30,7 +30,7 @@ CodecUrl=none + # If the value is set to 'none' then the value of DefaultUrl is used. + # + # default=none +-HardwareUrl=none ++HardwareUrl=https://fedoraproject.org/wiki/PackageKit_Items_Not_Found#Missing_Driver + + # The URL which is shown to the user when fonts could not be found. + # Alternatives should probably be suggested where possible. +@@ -38,7 +38,7 @@ HardwareUrl=none + # If the value is set to 'none' then the value of DefaultUrl is used. + # + # default=none +-FontUrl=none ++FontUrl=https://fedoraproject.org/wiki/PackageKit_Items_Not_Found#Missing_Font + + # The URL which is shown to the user when programs handing a mime tpye could not + # be found. It should probably explain how to use wine if the program is a +@@ -47,17 +47,17 @@ FontUrl=none + # If the value is set to 'none' then the value of DefaultUrl is used. + # + # default=none +-MimeUrl=none ++MimeUrl=https://fedoraproject.org/wiki/PackageKit_Items_Not_Found#Missing_MIME_Support + + [Groups] + + # The vendor name shown for the 'vendor' group + # + # default=My Vendor +-VendorName=My Vendor ++VendorName=Fedora + + # The vendor icon name shown for the 'vendor' group + # + # default=emblem-favorite +-VendorIcon=emblem-favorite ++VendorIcon=fedora-logo-small + diff --git a/PackageKit.spec b/PackageKit.spec index 3337260..200ea58 100644 --- a/PackageKit.spec +++ b/PackageKit.spec @@ -8,7 +8,7 @@ Summary: System daemon that is a DBUS abstraction layer for package management Name: PackageKit Version: 0.3.8 -Release: 5%{?dist} +Release: 6%{?dist} License: GPLv2+ Group: System Environment/Libraries URL: http://packagekit.freedesktop.org @@ -21,6 +21,10 @@ Patch0: pk-fix-pkcon-resolve.patch # upstream: 14aad0ff9d049e1843e263993cd00a24812abd97 Patch1: pk-use-servicepack-type.patch +# Fedora-specific +# Set Vendor.conf up for Fedora. +Patch2: PackageKit-0.3.8-Fedora-Vendor.conf.patch + Requires: dbus >= %{dbus_version} Requires: dbus-glib >= %{dbus_glib_version} Requires: PackageKit-glib = %{version}-%{release} @@ -203,6 +207,7 @@ codecs from configured repositories using PackageKit. %setup -q %patch0 -p1 %patch1 -p1 +%patch2 -p1 %build %configure --enable-yum --enable-smart --with-default-backend=yum --disable-local @@ -375,6 +380,9 @@ update-mime-database %{_datadir}/mime &> /dev/null || : %{_includedir}/PackageKit/backend/*.h %changelog +* Fri Oct 24 2008 Tom "spot" Callaway 0.3.8-6 +- Customize Vendor.conf for Fedora + * Fri Oct 24 2008 Richard Hughes - 0.3.8-5 - Bump as I forgot to add the patch.