File libbluedevil.spec of Package libbluedevil
#
# spec file for package libbluedevil
#
# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany.
# Copyright (c) 2010 Raymond Wooninck <tittiatcoke@gmail.com>
#
# 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/
#
Name: libbluedevil
Version: 1.9.2
Release: 0
Summary: Qt Bluetooth client library
License: LGPL-2.0+
Group: System/Libraries
Url: http://www.kde.org
Source0: ftp://ftp.kde.org/pub/kde/stable/libbluedevil/%{version}/src/%{name}-%{version}.tar.bz2
BuildRequires: cmake
BuildRequires: kde4-filesystem
BuildRequires: libqt4-devel
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%description
Qt wrapper for BlueZ. This wrapper is used by KDE's Bluetooth layer.
%package devel
Summary: Qt Wrapper for Bluez
Group: Development/Libraries/C and C++
Requires: libbluedevil1 = %{version}
%description devel
Qt wrapper for BlueZ. This wrapper is used by KDE's Bluetooth layer.
%package -n libbluedevil1
Summary: Qt Wrapper for Bluez
Group: System/Libraries
%description -n libbluedevil1
Qt wrapper for BlueZ. This wrapper is used by KDE's Bluetooth layer.
%prep
%setup -q
%build
%cmake_kde4 -d build
%make_jobs
%install
%kde4_makeinstall -C build
%kde_post_install
%clean
rm -rf %{buildroot}
%post -n libbluedevil1 -p /sbin/ldconfig
%postun -n libbluedevil1 -p /sbin/ldconfig
%files -n libbluedevil1
%defattr(-,root,root,-)
%{_libdir}/libbluedevil.so.1*
%files devel
%defattr(-,root,root,-)
%{_includedir}/bluedevil/
%{_libdir}/libbluedevil.so
%{_libdir}/pkgconfig/bluedevil.pc
%changelog