2 Summary: Bluetooth utilities
5 Group: Applications/System
7 URL: http://www.bluez.org/
8 Source0: %{name}-%{version}.tar.gz
9 Source1: bluetooth.service
10 Requires: bluez-libs = %{version}
11 Requires: dbus >= 0.60
14 Requires(post): systemd
15 Requires(postun): systemd
16 Requires(preun): systemd
17 BuildRequires: pkgconfig(dbus-1)
18 BuildRequires: pkgconfig(alsa)
19 BuildRequires: pkgconfig(udev)
20 BuildRequires: pkgconfig(sndfile)
21 BuildRequires: pkgconfig(glib-2.0)
22 BuildRequires: pkgconfig(gstreamer-plugins-base-0.10)
23 BuildRequires: pkgconfig(gstreamer-0.10)
24 BuildRequires: pkgconfig(check)
30 Utilities for use in Bluetooth applications:
41 The BLUETOOTH trademarks are owned by Bluetooth SIG, Inc., U.S.A.
46 Summary: Libraries for use in Bluetooth applications
47 Group: System/Libraries
48 Requires: %{name} = %{version}-%{release}
49 Requires(post): /sbin/ldconfig
50 Requires(postun): /sbin/ldconfig
53 Libraries for use in Bluetooth applications.
56 Summary: Development libraries for Bluetooth applications
57 Group: Development/Libraries
58 Requires: %{name} = %{version}-%{release}
59 Requires: bluez-libs = %{version}
61 %description libs-devel
62 bluez-libs-devel contains development libraries and headers for
63 use in Bluetooth applications.
67 Summary: CUPS printer backend for Bluetooth printers
69 Requires: %{name} = %{version}-%{release}
70 Requires: bluez-libs = %{version}
74 This package contains the CUPS backend
77 Summary: ALSA support for Bluetooth audio devices
79 Requires: %{name} = %{version}-%{release}
80 Requires: bluez-libs = %{version}
83 This package contains ALSA support for Bluetooth audio devices
86 Summary: GStreamer support for SBC audio format
88 Requires: %{name} = %{version}-%{release}
89 Requires: bluez-libs = %{version}
91 %description gstreamer
92 This package contains gstreamer plugins for the Bluetooth SBC audio format
95 Summary: Test Programs for BlueZ
96 Group: Development/Tools
97 Requires: %{name} = %{version}-%{release}
98 Requires: bluez-libs = %{version}
104 Scripts for testing BlueZ and its functionality
107 %setup -q -n %{name}-%{version}
109 %reconfigure --disable-static \
110 --localstatedir=/opt/var \
119 --enable-hid2hci=no \
125 --with-telephony=ofono \
128 make %{?jobs:-j%jobs}
134 install -D -m 0644 %SOURCE1 %{buildroot}%{_libdir}/systemd/system/bluetooth.service
135 mkdir -p %{buildroot}%{_libdir}/systemd/system/bluetooth.target.wants
136 mkdir -p %{buildroot}%{_libdir}/systemd/system/network.target.wants
137 ln -s ../bluetooth.service %{buildroot}%{_libdir}/systemd/system/bluetooth.target.wants/bluetooth.service
138 ln -s ../bluetooth.service %{buildroot}%{_libdir}/systemd/system/network.target.wants/bluetooth.service
140 %post libs -p /sbin/ldconfig
142 %postun libs -p /sbin/ldconfig
145 systemctl daemon-reload
146 systemctl restart bluetooth.service
149 systemctl stop bluetooth.service
152 systemctl daemon-reload
158 %defattr(-,root,root,-)
165 %config(noreplace) %{_sysconfdir}/bluetooth/*
166 %config %{_sysconfdir}/dbus-1/system.d/bluetooth.conf
167 %{_libdir}/systemd/system/bluetooth.service
168 %{_libdir}/systemd/system/bluetooth.target.wants/bluetooth.service
169 %{_libdir}/systemd/system/network.target.wants/bluetooth.service
170 /usr/share/dbus-1/system-services/org.bluez.service
173 %defattr(-,root,root,-)
174 %{_libdir}/libbluetooth.so.*
178 %defattr(-, root, root)
179 %{_libdir}/libbluetooth.so
180 %dir %{_includedir}/bluetooth
181 %{_includedir}/bluetooth/*
182 %{_libdir}/pkgconfig/bluez.pc
186 %defattr(-,root,root,-)
187 #%{_libdir}/alsa-lib/*.so
188 #%{_datadir}/alsa/bluetooth.conf
191 %defattr(-,root,root,-)
192 %{_libdir}/gstreamer-*/*.so
195 %defattr(-,root,root,-)
198 %{_libdir}/bluez/test/*