File project.diff of Package Kwlan

--- kwlan-0.6.3-no-return-in-nonvoid-function.patch.orig
+++ kwlan-0.6.3-no-return-in-nonvoid-function.patch
@@ -0,0 +1,11 @@
+--- kwlan/kprofileconfig.ui.h.orig	2009-03-11 23:57:53.000000000 +0100
++++ kwlan/kprofileconfig.ui.h	2009-03-12 00:13:05.000000000 +0100
+@@ -56,7 +56,7 @@
+ 
+ int KProfileConfig::setNetworkParam( int id, const char * field, const char * value, bool quote )
+ {
+-
++ return(id);
+ }
+ 
+ 
--- kwlan.spec.orig
+++ kwlan.spec
@@ -1,3 +1,19 @@
+#
+# spec file for package kwlan (Version 0.6.3)
+#
+# Copyright 2007 Donnie S Bhayangkara <dsbhayangkara@gmail.com>
+# Copyright 2009 Buschmann <buschmann23@opensuse.org>
+#
+# All modifications and additions to the file contributed by third parties
+# remain the property of their copyright owners, unless otherwise agreed
+# upon. The license for this file, and modifications and additions to the
+# file, is the same license as for the pristine package itself (unless the
+# license for the pristine package is not an Open Source License, in which
+# case the license is the MIT License). An "Open Source License" is a
+# license that conforms to the Open Source Definition (Version 1.9)
+# published by the Open Source Initiative.
+#
+
 # norootforbuild
 
 %define _prefix	/opt/kde3
@@ -8,18 +24,15 @@
 Name:		kwlan
 Version:	%{rversion}
 Release:	%{rrelease}%{releasesuffix}
-%if %suse_version < 1020
-Distribution:	SUSE Linux %(echo "%{suse_version}" | %__sed -e 's/.$//' -e ':a;s/\(.$\)/\.\1/g')
-%else
-Distribution:	openSUSE %(echo "%{suse_version}" | %__sed -e 's/.$//' -e ':a;s/\(.$\)/\.\1/g')
-%endif
+
 Summary:	Wireless Lan Manager
 Source:		%{name}-%{rversion}.tar.bz2
 Patch0:		%{name}-kdelinkdir.diff
+Patch1:         %{name}-%{version}-no-return-in-nonvoid-function.patch
 URL:		http://home.arcor.de/tom.michel
-Packager:	Donnie S Bhayangkara - http://donnie.110mb.com
+#Packager:	Donnie S Bhayangkara - http://donnie.110mb.com
 Group:		Productivity/Networking/System
-License:	GPL
+License:	GPLv2
 BuildRoot:	%{_tmppath}/build-%{name}-%{version}
 BuildRequires:	autoconf automake libstdc++-devel
 BuildRequires: 	kdelibs3-devel qt3-devel
@@ -38,12 +51,13 @@ Authors:
 --------
      Thomas Michel <tom.michel@arcor.de>
 
-%if %suse_version >= 930
+%if !0%{?opensuse_bs}
 %debug_package
 %endif
 %prep
 %setup -q -n "%{name}-%{rversion}"
 %patch0
+%patch1
 %{?suse_update_config:%{suse_update_config -f}}
 
 %build
@@ -55,22 +69,50 @@ Authors:
 %install
 %makeinstall
 
-%suse_update_desktop_file -r "%{name}" Qt KDE System Network 
+%suse_update_desktop_file -r "%{name}" Qt KDE System Network
 
-find %{buildroot} -type f -o -type l | sed "s|^%{buildroot}||" >master.list
-
-%if %suse_version < 930
-%__strip "%{buildroot}%{_bindir}"/*
-%endif
+%find_lang %{name}
 
 %clean
 %__rm -rf "%{buildroot}"
 
-%files -f master.list
+%files -f %{name}
 %defattr(-,root,root)
 %doc AUTHORS ChangeLog COPYING README VERSION
+/opt/kde3/bin/kwlan                       
+/opt/kde3/share/applications/kde/kwlan.desktop
+/opt/kde3/share/apps/kwlan
+/opt/kde3/share/icons/hicolor/22x22/apps/*.png
+/opt/kde3/share/icons/hicolor/22x22/apps/kwlan
+/opt/kde3/share/icons/hicolor/48x48/apps/kwlan
+/opt/kde3/share/icons/hicolor/48x48/apps/kwlanmain.png
+%lang(ar) /opt/kde3/share/locale/ar/LC_MESSAGES/kwlan.mo
+%lang(bg) /opt/kde3/share/locale/bg/LC_MESSAGES/kwlan.mo
+%lang(br) /opt/kde3/share/locale/br/LC_MESSAGES/kwlan.mo
+%lang(cs) /opt/kde3/share/locale/cs/LC_MESSAGES/kwlan.mo
+%lang(da) /opt/kde3/share/locale/da/LC_MESSAGES/kwlan.mo
+%lang(de) /opt/kde3/share/locale/de/LC_MESSAGES/kwlan.mo
+%lang(el) /opt/kde3/share/locale/el/LC_MESSAGES/kwlan.mo
+%lang(es) /opt/kde3/share/locale/es/LC_MESSAGES/kwlan.mo
+%lang(et) /opt/kde3/share/locale/et/LC_MESSAGES/kwlan.mo
+%lang(ga) /opt/kde3/share/locale/ga/LC_MESSAGES/kwlan.mo
+%lang(it) /opt/kde3/share/locale/it/LC_MESSAGES/kwlan.mo
+%lang(ja) /opt/kde3/share/locale/ja/LC_MESSAGES/kwlan.mo
+%lang(nl) /opt/kde3/share/locale/nl/LC_MESSAGES/kwlan.mo
+%lang(pt) /opt/kde3/share/locale/pt/LC_MESSAGES/kwlan.mo
+%lang(sk) /opt/kde3/share/locale/sk/LC_MESSAGES/kwlan.mo
+%lang(sr) /opt/kde3/share/locale/sr/LC_MESSAGES/kwlan.mo
+%lang(sr) /opt/kde3/share/locale/sr@Latn/LC_MESSAGES/kwlan.mo
+%lang(sv) /opt/kde3/share/locale/sv/LC_MESSAGES/kwlan.mo
 
 %changelog
+* Thu Mar 12 2009 Buschmann <buschmann23@opensuse.org> 0.6.3
+- removing obsolete suse version checks
+- removing Distribution tag, which is set by the Build Service
+- fixing file list
+- using debug_package macro only outside the Build Service, which has
+  its own mechanism
+
 * Fri Aug 24 2007 Donnie S Bhayangkara <dsbhayangkara@gmail.com> 0.6.3
 - new upstream version:
   * Fixed Bug: Setting to show New Interface Wizard was not stored correctly.
@@ -87,7 +129,7 @@ find %{buildroot} -type f -o -type l | s
   * Added option to show commands in kdesu password requests
   * Shows signal strength in context menu
   * Shows unconfigured networks in context menu to automatically add them
-- added patch0 (%{name}-%{rversion}-kdelinkdir.diff)
+- added patch0 (kwlan-kdelinkdir.diff)
 
 * Wed Mar 21 2007 Donnie S Bhayangkara <dsbhayangkara@gmail.com> 0.6.1
 - new upstream version:
openSUSE Build Service is sponsored by