File kdebluetooth4.spec of Package kdebluetooth4

#
# spec file for package kdebluetooth4 (Version 0.3)
#
# Copyright (c) 2009 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
# 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.

# Please submit bugfixes or comments via http://bugs.opensuse.org/
#

# norootforbuild


Name:           kdebluetooth4
BuildRequires:  dbus-1-devel kdebase4-workspace-devel libkde4-devel libknotificationitem-devel libsoprano-devel
License:        GPL v2 or later
Group:          System/GUI/KDE
Summary:        Kdebluetooth4 is the bluetooth framework for KDE4. It adds a lot of bluetooth abilities to the KDE4 desktop.
Url:            http://kde-apps.org/content/show.php/kdebluetooth4?content=84761
Version:        0.3
Release:        8
BuildRoot:      %{_tmppath}/%{name}-%{version}-build
Source0:        kbluetooth4-%version-svn.tar.bz2
Patch:          r1018677.diff
Requires:       obex-data-server kdebase4-workspace >= 4.1.96
Requires:       bluez >= 4
Requires:       obex-data-server >= 0.4
%kde4_runtime_requires

%description
kdebluetooth4 offers the following:

* Trayicon to manage all functions

* Passkey and Authorization Agent to handle requests from remote
   devices

* Bluetooth Adapter configuration

* Bluetooth Device-Manager

* Bluetooth Device Wizard, to add new Devices

* KBlueLock, to lock your screen, when your mobile phone is out of
   scope

* Send Files to remote devices (obex-data-server)



Authors:
--------
    Tom Patzig<tpatzig@suse.de>

%prep
%setup -q -n kbluetooth4-%version
%patch

%build
%cmake_kde4 -d build
%make_jobs

%install
pushd build
%makeinstall
popd
%suse_update_desktop_file -N "Bluetooth Manager" kdebluetooth4 
%kde_post_install
%find_lang kbluetooth4 %{name}.lang
%find_lang kbluetooth4-devicemanager %{name}.lang
%find_lang kbluetooth4-wizard %{name}.lang

%post -p /sbin/ldconfig    

%postun -p /sbin/ldconfig   

%clean  
rm -rf $RPM_BUILD_ROOT  

%files -f %{name}.lang
%defattr(-,root,root)
%doc ChangeLog TODO AUTHORS COPYING
/usr/bin/kbluetooth4
/usr/bin/kbluetooth4-devicemanager
/usr/bin/kbluetooth4-inputwizard
/usr/share/applications/kde4/kdebluetooth4.desktop
/usr/share/icons/hicolor/*/apps/kbluetooth4*

%changelog
openSUSE Build Service is sponsored by