1 # Do not create provides from emulator .so files because the main package
2 # should anchor any reverse-dependencies
3 %global __provides_exclude_from ^(.*\\.emulator)$
6 %define _dumpdir /opt/etc/dump.d/module.d
7 %define _varlibdir /opt/var/lib
8 %define _meshdir /opt/usr/mesh
11 Summary: Bluetooth framework for BlueZ and Obexd. This package is Bluetooth framework based on BlueZ and Obexd stack.
14 Group: Network & Connectivity/Bluetooth
16 Source0: %{name}-%{version}.tar.gz
17 Source1001: bluetooth-frwk.manifest
19 Requires: bluetooth-tools
21 %define bt_bluez_hal ENABLED
22 %define bt_gatt_client_fd ENABLED
23 %define bt_permanent_log DISABLED
24 %define bt_http_proxy DISABLED
25 %define bt_factory_mode DISABLED
26 %define bt_avc_target ENABLED
27 %define bt_vendor_operation DISABLED
29 BuildRequires: pkgconfig(aul)
30 %if %{bt_factory_mode} == ENABLED
31 BuildRequires: pkgconfig(bincfg)
33 BuildRequires: pkgconfig(dlog)
34 BuildRequires: pkgconfig(glib-2.0)
35 BuildRequires: pkgconfig(gio-2.0)
36 BuildRequires: pkgconfig(gio-unix-2.0)
37 BuildRequires: pkgconfig(syspopup-caller)
38 BuildRequires: pkgconfig(vconf)
39 BuildRequires: pkgconfig(libxml-2.0)
40 BuildRequires: pkgconfig(capi-network-connection)
41 BuildRequires: pkgconfig(alarm-service)
42 BuildRequires: pkgconfig(capi-content-mime-type)
43 BuildRequires: pkgconfig(eventsystem)
44 %if %{bt_http_proxy} == ENABLED
45 BuildRequires: pkgconfig(libsoup-2.4)
47 BuildRequires: pkgconfig(capi-network-tethering)
49 BuildRequires: pkgconfig(cynara-client)
50 BuildRequires: pkgconfig(cynara-creds-gdbus)
51 BuildRequires: pkgconfig(libtzplatform-config)
52 BuildRequires: pkgconfig(json-c)
53 BuildRequires: pkgconfig(ell)
54 BuildRequires: pkgconfig(storage)
55 BuildRequires: pkgconfig(capi-system-info)
56 BuildRequires: pkgconfig(capi-appfw-app-control)
57 BuildRequires: pkgconfig(gmock)
58 BuildRequires: pkgconfig(libactd)
59 BuildRequires: pkgconfig(libsystemd-daemon)
61 Requires(post): /usr/bin/vconftool
62 Requires(post): /sbin/ldconfig
63 Requires(postun): /sbin/ldconfig
66 Bluetooth framework for BlueZ and Obexd. This package is Bluetooth framework based on BlueZ and Obexd stack.
67 This package contains API set for BT GAP, BT SDP, BT RFCOMM and BLE Mesh.
69 %package profile_common
70 Summary: bluetooth-frwk service and conf files for common profile
71 Requires: %{name} = %{version}-%{release}
72 Conflicts: %{name}-profile_mobile
73 Conflicts: %{name}-profile_wearable
74 Conflicts: %{name}-profile_tv
75 Conflicts: %{name}-profile_ivi
76 %description profile_common
77 Bluetooth framework configuration and service files for Tizen common profile
79 %package profile_mobile
80 Summary: bluetooth-frwk service and conf files for mobile profile
81 Requires: %{name} = %{version}-%{release}
82 Conflicts: %{name}-profile_common
83 Conflicts: %{name}-profile_wearable
84 Conflicts: %{name}-profile_tv
85 Conflicts: %{name}-profile_ivi
86 %description profile_mobile
87 Bluetooth framework configuration and service files for Tizen mobile profile
90 %ifarch %{ix86} || %{arm}
91 %package extension-TM1
92 Summary: bluetooth-frwk service and conf files for mobile TM1
93 Requires: %{name}-profile_mobile = %{version}-%{release}
94 %description extension-TM1
95 Bluetooth framework configuration and service files for Tizen mobile TM1
98 %package profile_wearable
99 Summary: bluetooth-frwk service and conf files for wearable profile
100 Requires: %{name} = %{version}-%{release}
101 Conflicts: %{name}-profile_mobile
102 Conflicts: %{name}-profile_common
103 Conflicts: %{name}-profile_tv
104 Conflicts: %{name}-profile_ivi
105 %description profile_wearable
106 Bluetooth framework configuration and service files for Tizen wearable profile
109 Summary: bluetooth-frwk service and conf files for tv profile
110 Requires: %{name} = %{version}-%{release}
111 Conflicts: %{name}-profile_mobile
112 Conflicts: %{name}-profile_wearable
113 Conflicts: %{name}-profile_common
114 Conflicts: %{name}-profile_ivi
115 %description profile_tv
116 Bluetooth framework configuration and service files for Tizen tv profile
119 Summary: bluetooth-frwk service and conf files for ivi profile
120 Requires: %{name} = %{version}-%{release}
121 Conflicts: %{name}-profile_mobile
122 Conflicts: %{name}-profile_wearable
123 Conflicts: %{name}-profile_tv
124 Conflicts: %{name}-profile_common
125 %description profile_ivi
126 Bluetooth framework configuration and service files for Tizen ivi profile
128 %ifarch %{ix86} x86_64
129 %package extension-emulator
130 Summary: bluetooth-frwk service and conf files for emulator
131 Requires: %{name} = %{version}-%{release}
132 %description extension-emulator
133 bluetooth-frwk service and conf files for emulator
134 %endif // ifarch %{ix86} x86_64
137 Summary: Bluetooth framework for BlueZ and Obexd
138 Group: Development/Libraries
139 Requires: %{name} = %{version}-%{release}
142 This package is development files for Bluetooth framework based on BlueZ and Obexd stack.
143 This package contains API set for BT GAP, BT SDP, and BT RFCOMM.
146 Summary: Bluetooth Service daemon
147 Group: Network & Connectivity/Bluetooth
148 Requires: %{name} = %{version}-%{release}
151 This package is Bluetooth Service daemon to manage BT services.
153 %if %{bt_http_proxy} == ENABLED
155 Summary: Bluetooth HTTP Proxy Service daemon
156 Group: Network & Connectivity/Bluetooth
157 Requires: %{name} = %{version}-%{release}
159 %description httpproxy
160 This package is Bluetooth HTTP Proxy Service daemon
164 Summary: Bluetooth OTP Service daemon
165 Group: Network & Connectivity/Bluetooth
166 Requires: %{name} = %{version}-%{release}
169 This package is Bluetooth OTP Service daemon
172 Summary: Bluetooth Core daemon
173 Group: Network & Connectivity/Bluetooth
174 Requires: %{name} = %{version}-%{release}
177 This package is Bluetooth core daemon to manage activation / deactivation.
180 Summary: Bluetooth test application
181 Group: Network & Connectivity/Bluetooth
182 Requires: %{name} = %{version}-%{release}
185 This package is Bluetooth test application.
188 Summary: Bluetooth OAL
189 Group: Network & Connectivity/Bluetooth
190 Requires: %{name} = %{version}-%{release}
193 This package is BT stack common interface.
195 %package plugin-headed
196 Summary: Bluetooth plugin Headed
197 Group: Network & Connectivity/Bluetooth
198 Requires: %{name} = %{version}-%{release}
200 %description plugin-headed
201 This package is Bluetooth plugin to manage UI and syspopup
203 %package -n bluetooth-haltests
204 Summary: HAL Test package for bluetooth OAL
206 Requires: %{name} = %{version}-%{release}
208 %description -n bluetooth-haltests
209 This package is C-API test application.
217 export CFLAGS="$CFLAGS -DTIZEN_DEBUG_ENABLE"
218 export CFLAGS="$CFLAGS -DTIZEN_FEATURE_BT_OBEX"
219 export CFLAGS="$CFLAGS -DTIZEN_FEATURE_BT_PAN_NAP"
220 export CFLAGS="$CFLAGS -DTIZEN_FEATURE_BT_IPSP"
221 export CXXFLAGS="$CXXFLAGS -DTIZEN_DEBUG_ENABLE"
222 export FFLAGS="$FFLAGS -DTIZEN_DEBUG_ENABLE"
223 export CFLAGS="$CFLAGS -DTIZEN_GATT_CLIENT"
224 export CFLAGS="$CFLAGS -DTIZEN_FEATURE_ACTD"
226 %define _servicefile packaging/bluetooth-frwk-common.service
227 %define _servicedir starter.target.wants
229 %if "%{?profile}" == "mobile"
230 export CFLAGS="$CFLAGS -DTIZEN_FEATURE_NETWORK_TETHERING_ENABLE -DTIZEN_FEATURE_FLIGHTMODE_ENABLED -DTIZEN_PROFILE_MOBILE -DTIZEN_FEATURE_TELEPHONY_ENABLED"
231 %if "%{?tizen_target_name}" == "TM1"
232 %define _servicefile packaging/bluetooth-frwk-mobile-sprd.service
234 %define _servicefile packaging/bluetooth-frwk-mobile.service
236 %define _servicedir multi-user.target.wants
239 %if "%{?profile}" == "wearable"
240 export CFLAGS="$CFLAGS -DTIZEN_PROFILE_WEARABLE -DTIZEN_FEATURE_FLIGHTMODE_ENABLED"
241 %define _servicefile packaging/bluetooth-frwk-wearable.service
242 %define _servicedir multi-user.target.wants
245 %if "%{?profile}" == "tv"
246 export CFLAGS="$CFLAGS -DUSB_BLUETOOTH -DTIZEN_TV -DAUTO_ACCEPT"
247 %define _servicefile packaging/bluetooth-frwk-tv.service
248 %define _servicedir multi-user.target.wants
251 %if "%{?profile}" == "ivi"
252 export CFLAGS="$CFLAGS -DTIZEN_PROFILE_IVI"
253 %define _servicefile packaging/bluetooth-frwk-wearable.service
254 %define _servicedir multi-user.target.wants
258 #export CFLAGS="$CFLAGS -Wall -g -fvisibility=hidden -fPIC"
259 export CFLAGS="$CFLAGS -fpie"
260 export CFLAGS+=" -DARCH64"
261 export CXXFLAGS+=" -DARCH64"
262 export FFLAGS+=" -DARCH64"
264 export CFLAGS="$CFLAGS -fpie"
265 export LDFLAGS="$CFLAGS -pie"
268 %if %{bt_bluez_hal} == ENABLED
269 export CFLAGS="$CFLAGS -DTIZEN_FEATURE_BT_RFCOMM_DIRECT -DTIZEN_BT_HAL"
271 export CFLAGS="$CFLAGS -DTIZEN_FEATURE_BT_RFCOMM_DIRECT"
273 export LDFLAGS="$CFLAGS -Wl,--rpath=%{_libdir} -Wl,--as-needed -Wl,--unresolved-symbols=ignore-in-shared-libs"
275 %if %{bt_gatt_client_fd} == DISABLED
276 export CFLAGS="$CFLAGS -DTIZEN_FEATURE_BT_GATT_CLIENT_FD_DISABLE"
279 %if %{bt_permanent_log} == ENABLED
280 export CFLAGS="$CFLAGS -DTIZEN_FEATURE_BT_PERMANENT_LOG"
283 %if %{bt_http_proxy} == ENABLED
284 export CFLAGS="$CFLAGS -DTIZEN_FEATURE_BT_HTTP_PROXY"
287 %if %{bt_factory_mode} == ENABLED
288 export CFLAGS="$CFLAGS -DTIZEN_FEATURE_BT_FACTORY_MODE"
291 %if %{bt_avc_target} == ENABLED
292 export CFLAGS="$CFLAGS -DTIZEN_FEATURE_BT_AVC_TARGET"
295 %if %{bt_vendor_operation} == ENABLED
296 export CFLAGS="$CFLAGS -DTIZEN_FEATURE_BT_VENDOR_OPERATION"
300 %ifarch %{ix86} x86_64
301 export CFLAGS+=" -DTIZEN_TEST_EMUL"
302 export CXXFLAGS+=" -DTIZEN_TEST_EMUL"
303 export FFLAGS+=" -DTIZEN_TEST_EMUL"
306 %if %{bt_bluez_hal} == ENABLED
307 export BT_INCLUDE_OAL_BLUEZ=ENABLED
308 export CFLAGS="$CFLAGS -DTIZEN_BT_INCLUDE_OAL_BLUEZ"
310 export BT_INCLUDE_OAL_BLUEZ=DISABLED
313 export CFLAGS_DEFAULT="$CFLAGS"
314 export CXXFLAGS_DEFAULT="$CXXFLAGS"
315 export FFLAGS_DEFAULT="$FFLAGS"
318 %ifarch %{ix86} || %{arm}
320 export CFLAGS="$CFLAGS_DEFAULT -DTIZEN_FEATURE_RADIO -DTIZEN_FEATURE_BT_RFCOMM_DIRECT"
321 export CXXFLAGS="$CXXFLAGS_DEFAULT -DTIZEN_FEATURE_RADIO -DTIZEN_FEATURE_BT_RFCOMM_DIRECT"
322 export FFLAGS="$FFLAGS_DEFAULT -DTIZEN_FEATURE_RADIO -DTIZEN_FEATURE_BT_RFCOMM_DIRECT"
324 cmake . -DCMAKE_INSTALL_PREFIX=/usr \
325 -DCMAKE_LIB_DIR=%{_libdir} \
326 -DTZ_SYS_USER_GROUP=%TZ_SYS_USER_GROUP \
327 -DTZ_SYS_DEFAULT_USER=%TZ_SYS_DEFAULT_USER \
328 -DLIBNOTIFY_SUPPORT=Off \
329 -DLIBNOTIFICATION_SUPPORT=Off
335 cp %{buildroot}%{_bindir}/bt-core tm1/bt-core.tm1
339 %ifarch %{ix86} x86_64
340 export CFLAGS="${CFLAGS} -DTIZEN_TEST_EMUL -DTIZEN_FEATURE_BT_RFCOMM_DIRECT"
341 export CXXFLAGS="${CXXFLAGS} -DTIZEN_TEST_EMUL -DTIZEN_FEATURE_BT_RFCOMM_DIRECT"
342 export FFLAGS="${FFLAGS} -DTIZEN_TEST_EMUL -DTIZEN_FEATURE_BT_RFCOMM_DIRECT"
344 mkdir -p build_emulator
346 cmake . -DCMAKE_INSTALL_PREFIX=/usr \
347 -DCMAKE_LIB_DIR=%{_libdir} \
348 -DTZ_SYS_USER_GROUP=%TZ_SYS_USER_GROUP \
349 -DTZ_SYS_DEFAULT_USER=%TZ_SYS_DEFAULT_USER \
350 -DLIBNOTIFY_SUPPORT=Off \
351 -DLIBNOTIFICATION_SUPPORT=Off
357 cp %{buildroot}%{_libdir}/libbluetooth-api.so* build_emulator/
358 pushd build_emulator/
359 for FILE in libbluetooth-api.so*; do mv "${FILE}" "${FILE}.emulator"; done
363 # non-extension-TM1 / non-extension-emulator
365 export CFLAGS="$CFLAGS_DEFAULT -DTIZEN_FEATURE_BT_RFCOMM_DIRECT"
366 export CXXFLAGS="$CXXFLAGS_DEFAULT -DTIZEN_FEATURE_BT_RFCOMM_DIRECT"
367 export FFLAGS="$FFLAGS_DEFAULT -DTIZEN_FEATURE_BT_RFCOMM_DIRECT"
371 export CFLAGS+=" -DARCH64"
372 export CXXFLAGS+=" -DARCH64"
373 export FFLAGS+=" -DARCH64"
376 cmake . -DCMAKE_INSTALL_PREFIX=/usr \
377 -DCMAKE_LIB_DIR=%{_libdir} \
378 -DTZ_SYS_USER_GROUP=%TZ_SYS_USER_GROUP \
379 -DTZ_SYS_DEFAULT_USER=%TZ_SYS_DEFAULT_USER \
380 -DLIBNOTIFY_SUPPORT=Off \
381 -DLIBNOTIFICATION_SUPPORT=Off
390 mkdir -p %{buildroot}%{_unitdir}/starter.target.wants
391 mkdir -p %{buildroot}%{_unitdir}/delayed.target.wants
392 mkdir -p %{buildroot}%{_unitdir}/multi-user.target.wants
393 mkdir -p %{buildroot}/%{_prefix}/lib/udev/rules.d
394 mkdir -p %{buildroot}%{_meshdir}
396 cp packaging/99-bluetooth-rfkill.rules %{buildroot}/%{_prefix}/lib/udev/rules.d/99-bluetooth-rfkill.rules
399 %ifarch %{ix86} x86_64
400 cp build_emulator/libbluetooth-api.so*.emulator %{buildroot}%{_libdir}/
401 #mv %{buildroot}/%{_bindir}/bt-service-emul %{buildroot}/%{_bindir}/bt-service
404 # Rename the postfix (.mobile, .tv, ..) at post script
406 install -m 0644 packaging/bluetooth-frwk-mobile.service %{buildroot}%{_unitdir}/bluetooth-frwk.service.mobile
409 %ifarch %{ix86} || %{arm}
410 cp tm1/bt-core.tm1 %{buildroot}%{_bindir}/
411 install -m 0644 packaging/bluetooth-frwk-mobile-sprd.service %{buildroot}%{_unitdir}/bluetooth-frwk.service.tm1
415 install -m 0644 packaging/bluetooth-frwk-wearable.service %{buildroot}%{_unitdir}/bluetooth-frwk.service.wearable
416 # On IVI bt-service needs to be run as 'app' even if there is a 'guest' user.
417 cp %{buildroot}%{_datadir}/dbus-1/system-services/org.projectx.bt.service %{buildroot}%{_datadir}/dbus-1/system-services/org.projectx.bt.service.ivi
418 sed -i 's/%TZ_SYS_DEFAULT_USER/app/' %{buildroot}%{_datadir}/dbus-1/system-services/org.projectx.bt.service.ivi
421 install -m 0644 packaging/bluetooth-frwk-tv.service %{buildroot}%{_unitdir}/bluetooth-frwk.service.tv
424 install -m 0644 packaging/bluetooth-frwk-common.service %{buildroot}%{_unitdir}/bluetooth-frwk.service.common
427 install -m 0644 bt-core/bluetooth-frwk-core.service %{buildroot}%{_unitdir}/bluetooth-frwk-core.service
429 ln -s ../bluetooth-frwk.service %{buildroot}%{_unitdir}/multi-user.target.wants/bluetooth-frwk.service
430 ln -s ../bluetooth-frwk.service %{buildroot}%{_unitdir}/starter.target.wants/bluetooth-frwk.service
432 %postun -p /sbin/ldconfig
435 /usr/bin/chsmack -a '_' %{_varlibdir}/bluetooth/auto-pair-blacklist
436 /usr/bin/chown network_fw:network_fw %{_varlibdir}/bluetooth/auto-pair-blacklist
437 /usr/bin/chown network_fw:network_fw %{_meshdir}
440 %manifest %{name}.manifest
442 %defattr(-, root, root)
443 %{_libdir}/libbluetooth-api.so.*
444 %exclude %{_libdir}/libbluetooth-api.so*.emulator
447 %defattr(-, root, root)
448 %{_includedir}/bt-service/bluetooth-api.h
449 %{_includedir}/bt-service/bluetooth-hid-api.h
450 %{_includedir}/bt-service/bluetooth-audio-api.h
451 %{_includedir}/bt-service/bluetooth-telephony-api.h
452 %{_includedir}/bt-service/bluetooth-media-control.h
453 %{_includedir}/bt-service/bluetooth-scmst-api.h
454 %{_includedir}/bt-service/bluetooth-ipsp-api.h
455 %{_includedir}/bt-service/bluetooth-gatt-server-api.h
456 %{_includedir}/bt-service/bluetooth-gatt-client-api.h
457 %{_includedir}/bt-service/bluetooth-mesh-api.h
458 %{_libdir}/pkgconfig/bluetooth-api.pc
459 %{_libdir}/libbluetooth-api.so
462 %ifarch %{ix86} x86_64
463 %post extension-emulator
465 for FILE in libbluetooth-api.so*.emulator; do mv "${FILE}" "${FILE%.emulator}"; done
467 %preun extension-emulator
469 for FILE in libbluetooth-api.so*; do mv "${FILE}" "${FILE}.emulator"; done
471 %files extension-emulator
472 %manifest %{name}.manifest
473 %defattr(-, root, root)
474 %{_libdir}/libbluetooth-api.so.*.emulator
475 %{_libdir}/libbluetooth-api.so.emulator
479 %manifest %{name}.manifest
481 %defattr(-, root, root)
482 %{_bindir}/bt-service
483 %{_sysconfdir}/dbus-1/system.d/bluetooth-frwk-service.conf
484 %{_bindir}/bluetooth-frwk-test
485 %{_varlibdir}/bluetooth
486 %{_prefix}/etc/bluetooth
488 %attr(-,network_fw,network_fw) %{_varlibdir}/bluetooth/auto-pair-blacklist
490 %if %{bt_http_proxy} == ENABLED
492 %manifest %{name}.manifest
494 %defattr(-, root, root)
495 %{_bindir}/bt-httpproxy
496 %{_datadir}/dbus-1/system-services/org.projectx.httpproxy.service
497 %{_sysconfdir}/dbus-1/system.d/bluetooth-frwk-httpproxy.conf
501 %manifest %{name}.manifest
503 %defattr(-, root, root)
505 %{_datadir}/dbus-1/system-services/org.projectx.otp.service
506 %{_sysconfdir}/dbus-1/system.d/bluetooth-frwk-otp.conf
509 %manifest %{name}.manifest
511 %defattr(-, root, root)
512 %{_unitdir}/bluetooth-frwk-core.service
513 %{_datadir}/dbus-1/system-services/org.projectx.bt_core.service
515 %{_sysconfdir}/dbus-1/system.d/bluetooth-frwk-core.conf
516 %{_prefix}/lib/udev/rules.d/99-bluetooth-rfkill.rules
519 %manifest %{name}.manifest
521 %defattr(-, root, root)
522 %{_bindir}/bluetooth-frwk-test
523 #%{_bindir}/bluetooth-gatt-test
524 #%{_bindir}/bluetooth-advertising-test
527 %manifest %{name}.manifest
529 %defattr(-, root, root)
530 %{_libdir}/bt-plugin-headed.so
534 mv bluetooth-frwk.service.common bluetooth-frwk.service
536 %preun profile_common
538 mv bluetooth-frwk.service bluetooth-frwk.service.common
540 %files profile_common
542 %{_unitdir}/multi-user.target.wants/bluetooth-frwk.service
543 %exclude %{_unitdir}/starter.target.wants/bluetooth-frwk.service
544 %{_unitdir}/bluetooth-frwk.service.common
545 %{_datadir}/dbus-1/system-services/org.projectx.bt.service
549 mv bluetooth-frwk.service.mobile bluetooth-frwk.service
551 %preun profile_mobile
553 mv bluetooth-frwk.service bluetooth-frwk.service.mobile
555 %files profile_mobile
557 %{_unitdir}/multi-user.target.wants/bluetooth-frwk.service
558 %{_unitdir}/bluetooth-frwk.service.mobile
559 %{_datadir}/dbus-1/system-services/org.projectx.bt.service
562 %ifarch %{ix86} || %{arm}
565 mv bluetooth-frwk.service.tm1 bluetooth-frwk.service
568 mv bt-core.tm1 bt-core
572 mv bluetooth-frwk.service bluetooth-frwk.service.tm1
575 mv bt-core bt-core.tm1
578 %{_unitdir}/bluetooth-frwk.service.tm1
580 %defattr(-, root, root)
581 %{_bindir}/bt-core.tm1
584 %post profile_wearable
586 mv bluetooth-frwk.service.wearable bluetooth-frwk.service
588 %preun profile_wearable
590 mv bluetooth-frwk.service bluetooth-frwk.service.wearable
592 %files profile_wearable
594 %{_unitdir}/multi-user.target.wants/bluetooth-frwk.service
595 %{_unitdir}/bluetooth-frwk.service.wearable
596 %{_datadir}/dbus-1/system-services/org.projectx.bt.service
600 mv bluetooth-frwk.service.tv bluetooth-frwk.service
604 mv bluetooth-frwk.service bluetooth-frwk.service.tv
608 %{_unitdir}/multi-user.target.wants/bluetooth-frwk.service
609 %{_unitdir}/bluetooth-frwk.service.tv
610 %{_datadir}/dbus-1/system-services/org.projectx.bt.service
612 # Note: ivi reuses bluetooth-frwk.service.wearable
615 mv bluetooth-frwk.service.wearable bluetooth-frwk.service
617 pushd %{_datadir}/dbus-1/system-services
618 mv org.projectx.bt.service.ivi org.projectx.bt.service
622 mv bluetooth-frwk.service bluetooth-frwk.service.wearable
624 pushd %{_datadir}/dbus-1/system-services
625 mv org.projectx.bt.service org.projectx.bt.service.ivi
629 %{_unitdir}/multi-user.target.wants/bluetooth-frwk.service
630 %{_unitdir}/bluetooth-frwk.service.wearable
631 %{_datadir}/dbus-1/system-services/org.projectx.bt.service.ivi
634 %manifest %{name}.manifest
635 %defattr(-, root, root)
636 %{_libdir}/libbt-oal.so*
637 %{_sysconfdir}/dbus-1/system.d/bluetooth-frwk-gap-agent.conf
639 %if %{bt_bluez_hal} == ENABLED
640 %{_libdir}/libbluetooth.default.so*
643 %files -n bluetooth-haltests
644 %manifest %{name}.manifest
645 %{_bindir}/bluetooth-haltests