rpms/kpackagekit/devel kpackagekit-0.3.1-kdeinit.patch, NONE, 1.1 kpackagekit.spec, 1.9, 1.10

Rex Dieter rdieter at fedoraproject.org
Mon Oct 20 18:20:17 UTC 2008


Author: rdieter

Update of /cvs/pkgs/rpms/kpackagekit/devel
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv16935

Modified Files:
	kpackagekit.spec 
Added Files:
	kpackagekit-0.3.1-kdeinit.patch 
Log Message:
* Mon Oct 20 2008 Rex Dieter <rdieter at fedoraproject.rog> 0.3.1-3
- patch kpackagekit.desktop (guessed correct X-DBUS-ServiceName value), 
  fixes: KDEInit could not launch "/usr/bin/kpackagekit" 
- cleanup %files


kpackagekit-0.3.1-kdeinit.patch:

--- NEW FILE kpackagekit-0.3.1-kdeinit.patch ---
diff -up KPackageKit/Desktop/kpackagekit.desktop.kdeinit KPackageKit/Desktop/kpackagekit.desktop
--- KPackageKit/Desktop/kpackagekit.desktop.kdeinit	2008-10-15 17:38:27.000000000 -0500
+++ KPackageKit/Desktop/kpackagekit.desktop	2008-10-20 13:11:39.000000000 -0500
@@ -3,6 +3,7 @@ Type=Application
 Icon=applications-other
 Exec=kpackagekit -caption "%c" %i %F
 X-DBUS-StartupType=Unique
+X-DBUS-ServiceName=org.kde.KPackageKit
 
 Name=KPackageKit
 GenericName=Software Management


Index: kpackagekit.spec
===================================================================
RCS file: /cvs/pkgs/rpms/kpackagekit/devel/kpackagekit.spec,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -r1.9 -r1.10
--- kpackagekit.spec	16 Oct 2008 21:21:32 -0000	1.9
+++ kpackagekit.spec	20 Oct 2008 18:19:47 -0000	1.10
@@ -2,16 +2,17 @@
 
 Name:	  	kpackagekit
 Version:	0.3.1
-Release:	2%{?dist}
+Release:	3%{?dist}
 Summary:	KDE interface for PackageKit
 
 License:	GPLv2+
 Group:		Applications/System
 Source0: 	http://www.kde-apps.org/CONTENT/content-files/84745-kpackagekit-%{version}.tar.bz2
 URL:		http://www.kde-apps.org/content/show.php/KPackageKit?content=84745
-
 BuildRoot:	%{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 
+Patch1: kpackagekit-0.3.1-kdeinit.patch
+
 BuildRequires:	cmake
 BuildRequires:	kde-filesystem
 BuildRequires:	kdelibs4-devel
@@ -24,6 +25,9 @@
 %prep
 %setup -q -n KPackageKit 
 
+%patch1 -p1 -b .kdeinit
+
+
 %build
 %{cmake_kde4} .
 make %{?_smp_mflags}
@@ -41,13 +45,19 @@
 %{_bindir}/kpackagekit
 %{_bindir}/kpackagekit-smart-icon
 %{_kde4_libdir}/kde4/*.so
-%{_kde4_sharedir}/applications/kde4/kpackagekit.desktop
-%{_kde4_sharedir}/kde4/apps/KPackageKit/KPackageKit.notifyrc
+%{_kde4_datadir}/applications/kde4/kpackagekit.desktop
 %{_kde4_datadir}/kde4/services/*.desktop
 %{_kde4_datadir}/kde4/services/kded/*.desktop
-/usr/share/kde4/apps/kpackagekit/icons/*
+%{_kde4_appsdir}/kpackagekit/
+%{_kde4_appsdir}/KPackageKit/
+
 
 %changelog
+* Mon Oct 20 2008 Rex Dieter <rdieter at fedoraproject.rog> 0.3.1-3
+- patch kpackagekit.desktop (guessed correct X-DBUS-ServiceName value), 
+  fixes: KDEInit could not launch "/usr/bin/kpackagekit" 
+- cleanup %%files
+
 * Thu Oct 16 2008 Steven M. Parrish <smparrish at shallowcreek.net> 0.3.1-2
 - Fix build error
 




More information about the scm-commits mailing list