3 %define backend -wayland
8 Name: bluetooth-qt%{backend}
9 Summary: Library for accessing bluetooth functionality in Qt
12 Group: System/GUI/Other
13 License: Apache License 2.0
14 Source0: bluetooth-qt-%{version}.tar.bz2
15 Patch0: bmc20660.patch
16 Requires(post): /sbin/ldconfig
17 Requires(postun): /sbin/ldconfig
18 BuildRequires: pkgconfig(QtCore%{backend})
19 BuildRequires: pkgconfig(QtDBus%{backend})
20 BuildRequires: pkgconfig(QtOpenGL%{backend})
21 BuildRequires: pkgconfig(QtGui%{backend})
22 BuildRequires: pkgconfig(dbus-1)
23 BuildRequires: doxygen
27 This is a library for accessing bluetooth through bluez functionality in Qt.
32 Summary: Development files for bluetooth-qt
33 Group: Development/Libraries
34 Requires: %{name} = %{version}-%{release}
37 This package contains the files necessary to develop
38 applications using qt to access bluetooth devices using bluez
43 %setup -q -n bluetooth-qt-%{version}
52 qmake install_prefix=/usr
71 %post -p /sbin/ldconfig
73 %postun -p /sbin/ldconfig
80 %defattr(-,root,root,-)
81 %{_libdir}/libbluetooth-qt.so.*
82 %{_libdir}/qt4/imports/Tizen/Bluetooth/*
83 /etc/dbus-1/system.d/bluetooth-qt.conf
89 %defattr(-,root,root,-)
90 %{_includedir}/bluetooth-qt/*.h
91 %{_libdir}/libbluetooth-qt.so
93 %{_libdir}/pkgconfig/*.pc