Author: lmontel
Date: Mon Feb  5 17:33:34 2007
New Revision: 116277

Added:
   packages/cooker/kdebluetooth/current/SOURCES/kdebluetooth-use-kwrite.patch
Modified:
   packages/cooker/kdebluetooth/current/SPECS/kdebluetooth.spec

Log:
Use kwrite by default into template


Added: 
packages/cooker/kdebluetooth/current/SOURCES/kdebluetooth-use-kwrite.patch
==============================================================================
--- (empty file)
+++ packages/cooker/kdebluetooth/current/SOURCES/kdebluetooth-use-kwrite.patch  
Mon Feb  5 17:33:34 2007
@@ -0,0 +1,74 @@
+--- 
kdebluetooth-1.0_beta2/kdebluetooth/kbluetoothd/scripts/Custom_Job.template--   
   2006-10-16 12:23:56.000000000 +0200
++++ 
kdebluetooth-1.0_beta2/kdebluetooth/kbluetoothd/scripts/Custom_Job.template     
   2007-02-05 17:30:24.000000000 +0100
+@@ -50,10 +50,10 @@
+         ;;
+         
+     configure)
+-        # Simply run kedit let the user edit this script.
++        # Simply run kwrite let the user edit this script.
+         # A more sophisticated solution might use kdialog to hide 
+         # the shell script from the user
+-        kedit "$JOB_PATH"
++        kwrite "$JOB_PATH"
+         ;;
+ esac
+    
+\ No newline at end of file
+--- 
kdebluetooth-1.0_beta2/kdebluetooth/kbluetoothd/scripts/Device_Notification.template--
     2007-02-05 17:29:34.000000000 +0100
++++ 
kdebluetooth-1.0_beta2/kdebluetooth/kbluetoothd/scripts/Device_Notification.template
       2007-02-05 17:30:24.000000000 +0100
+@@ -18,7 +18,7 @@
+         $JOB_TEMPLATE_DIR/Device_Notification.real $@
+         ;;
+     configure)
+-        kedit $JOB_PATH
++        kwrite $JOB_PATH
+         ;;
+ esac
+ 
+--- 
kdebluetooth-1.0_beta2/kdebluetooth/kbluetoothd/scripts/Discovery_Protocol.template--
      2007-02-05 17:29:38.000000000 +0100
++++ 
kdebluetooth-1.0_beta2/kdebluetooth/kbluetoothd/scripts/Discovery_Protocol.template
        2007-02-05 17:30:24.000000000 +0100
+@@ -19,7 +19,7 @@
+         $JOB_TEMPLATE_DIR/Discovery_Protocol.real $@
+         ;;
+     configure)
+-        kedit $JOB_PATH
++        kwrite $JOB_PATH
+         ;;
+ esac
+    
+\ No newline at end of file
+--- 
kdebluetooth-1.0_beta2/kdebluetooth/kbluetoothd/scripts/Kopete_AutoAway.template--
 2007-02-05 17:29:45.000000000 +0100
++++ 
kdebluetooth-1.0_beta2/kdebluetooth/kbluetoothd/scripts/Kopete_AutoAway.template
   2007-02-05 17:30:24.000000000 +0100
+@@ -8,7 +8,7 @@
+         $JOB_TEMPLATE_DIR/Kopete_AutoAway.real $@
+         ;;
+     configure)
+-        kedit $JOB_PATH
++        kwrite $JOB_PATH
+         ;;
+ esac
+    
+\ No newline at end of file
+--- 
kdebluetooth-1.0_beta2/kdebluetooth/kbluetoothd/scripts/Photo_Copy.template--   
   2007-02-05 17:29:54.000000000 +0100
++++ 
kdebluetooth-1.0_beta2/kdebluetooth/kbluetoothd/scripts/Photo_Copy.template     
   2007-02-05 17:30:24.000000000 +0100
+@@ -45,7 +45,7 @@
+         $JOB_TEMPLATE_DIR/Photo_Copy.real $@
+         ;;
+     configure)
+-        kedit $JOB_PATH
++        kwrite $JOB_PATH
+         ;;
+ esac
+    
+\ No newline at end of file
+--- 
kdebluetooth-1.0_beta2/kdebluetooth/kbluetoothd/scripts/Screensaver.template--  
   2007-02-05 17:29:58.000000000 +0100
++++ 
kdebluetooth-1.0_beta2/kdebluetooth/kbluetoothd/scripts/Screensaver.template    
   2007-02-05 17:30:24.000000000 +0100
+@@ -27,7 +27,7 @@
+         $JOB_TEMPLATE_DIR/Screensaver.real $@
+         ;;
+     configure)
+-        kedit $JOB_PATH
++        kwrite $JOB_PATH
+         ;;
+ esac
+ 

Modified: packages/cooker/kdebluetooth/current/SPECS/kdebluetooth.spec
==============================================================================
--- packages/cooker/kdebluetooth/current/SPECS/kdebluetooth.spec        
(original)
+++ packages/cooker/kdebluetooth/current/SPECS/kdebluetooth.spec        Mon Feb 
 5 17:33:34 2007
@@ -8,7 +8,7 @@
 Name: kdebluetooth
 Summary: Access and control bluetooth devices in KDE
 Version: 1.0
-Release: %mkrel 1.beta2.9
+Release: %mkrel 1.beta2.10
 Source: %{name}-%{version}_beta2.tar.bz2
 URL: http://kde-bluetooth.sourceforge.net/
 License: GPL
@@ -28,6 +28,7 @@
 Requires: %libname = %version-%release
 Patch1:                kdebluetooth-1.0-fix-crash.patch
 Patch2:                kdebluetooth-fix-message.patch
+Patch3:                kdebluetooth-use-kwrite.patch
 
 %description
 The aim of this project is a tight and easy to use integration of Bluetooth
@@ -145,6 +146,7 @@
 %setup -q -n %{name}-%{version}_beta2
 %patch1 -p1 -b .fix_crash
 %patch2 -p1 -b .fix_messgae
+%patch3 -p1 -b .use_kwrite
 
 %build
 export QTLIB=%{qt3lib}

Reply via email to