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.
60 export CFLAGS="${CFLAGS} -D__TIZEN_PATCH__ -D__BROADCOM_PATCH__ "
61 export LDFLAGS=" -lncurses -Wl,--as-needed "
62 %reconfigure --disable-static \
63 --sysconfdir=%{_prefix}/etc \
64 --localstatedir=/opt/var \
75 --enable-gstreamer=no \
80 --with-telephony=tizen
88 install -D -m 0644 audio/audio.conf %{buildroot}%{_prefix}/etc/bluetooth/audio.conf
89 install -D -m 0644 network/network.conf %{buildroot}%{_prefix}/etc/bluetooth/network.conf
92 %post -n libbluetooth3 -p /sbin/ldconfig
94 %postun -n libbluetooth3 -p /sbin/ldconfig
98 %defattr(-,root,root,-)
99 %{_prefix}/etc/bluetooth/audio.conf
100 %{_prefix}/etc/bluetooth/main.conf
101 %{_prefix}/etc/bluetooth/network.conf
102 %{_prefix}/etc/bluetooth/rfcomm.conf
103 %{_prefix}/etc/dbus-1/system.d/bluetooth.conf
105 %{_sbindir}/bluetoothd
106 %{_sbindir}/hciconfig
107 %{_sbindir}/hciattach
113 %dir %{_libdir}/bluetooth/plugins
114 %dir /opt/var/lib/bluetooth
115 %{_datadir}/dbus-1/system-services/org.bluez.service
118 %files -n libbluetooth3
119 %defattr(-,root,root,-)
120 %{_libdir}/libbluetooth.so.*
123 %files -n libbluetooth-devel
124 %defattr(-, root, root)
125 %{_includedir}/bluetooth/*
126 %{_libdir}/libbluetooth.so
127 %{_libdir}/pkgconfig/bluez.pc