2 Summary: Bluetooth utilities
5 Group: Applications/System
7 URL: http://www.bluez.org/
8 Source0: http://www.kernel.org/pub/linux/bluetooth/%{name}-%{version}.tar.gz
9 Patch1 : bluez-ncurses.patch
10 Requires: dbus >= 0.60
12 BuildRequires: pkgconfig(dbus-1)
13 BuildRequires: pkgconfig(glib-2.0)
16 BuildRequires: readline-devel
19 Utilities for use in Bluetooth applications:
29 The BLUETOOTH trademarks are owned by Bluetooth SIG, Inc., U.S.A.
33 %package -n libbluetooth3
34 Summary: Libraries for use in Bluetooth applications
35 Group: System/Libraries
36 Requires: %{name} = %{version}-%{release}
37 Requires(post): /sbin/ldconfig
38 Requires(postun): /sbin/ldconfig
40 %description -n libbluetooth3
41 Libraries for use in Bluetooth applications.
43 %package -n libbluetooth-devel
44 Summary: Development libraries for Bluetooth applications
45 Group: Development/Libraries
46 Requires: %{name} = %{version}-%{release}
47 Requires: libbluetooth3 = %{version}
49 %description -n libbluetooth-devel
50 bluez-libs-devel contains development libraries and headers for
51 use in Bluetooth applications.
54 Summary: Test Programs for BlueZ
55 Group: Development/Tools
56 Requires: %{name} = %{version}-%{release}
62 Scripts for testing BlueZ and its functionality
71 export CFLAGS="${CFLAGS} -D__TIZEN_PATCH__ -D__BROADCOM_PATCH__ "
72 export LDFLAGS=" -lncurses -Wl,--as-needed "
73 %reconfigure --disable-static \
74 --sysconfdir=%{_prefix}/etc \
75 --localstatedir=/opt/var \
86 --enable-gstreamer=no \
91 --with-telephony=ofono \
101 install -D -m 0644 audio/audio.conf %{buildroot}%{_prefix}/etc/bluetooth/audio.conf
102 install -D -m 0644 network/network.conf %{buildroot}%{_prefix}/etc/bluetooth/network.conf
105 %post -n libbluetooth3 -p /sbin/ldconfig
107 %postun -n libbluetooth3 -p /sbin/ldconfig
111 %defattr(-,root,root,-)
112 %{_prefix}/etc/bluetooth/audio.conf
113 %{_prefix}/etc/bluetooth/main.conf
114 %{_prefix}/etc/bluetooth/network.conf
115 %{_prefix}/etc/bluetooth/rfcomm.conf
116 %{_prefix}/etc/dbus-1/system.d/bluetooth.conf
118 %{_sbindir}/bluetoothd
119 %{_sbindir}/hciconfig
120 %{_sbindir}/hciattach
121 %exclude %{_bindir}/ciptool
127 %dir %{_libdir}/bluetooth/plugins
128 %dir /opt/var/lib/bluetooth
129 %{_datadir}/dbus-1/system-services/org.bluez.service
132 %files -n libbluetooth3
133 %defattr(-,root,root,-)
134 %{_libdir}/libbluetooth.so.*
137 %files -n libbluetooth-devel
138 %defattr(-, root, root)
139 %{_includedir}/bluetooth/*
140 %{_libdir}/libbluetooth.so
141 %{_libdir}/pkgconfig/bluez.pc
144 %defattr(-,root,root,-)
145 %{_libdir}/bluez/test/*