popd
%endif
-install -D -m 0644 LICENSE %{buildroot}%{_datadir}/license/bluetooth-agent
install -D -m 0644 packaging/bluetooth-map-agent.service %{buildroot}%{_libdir}/systemd/user/bluetooth-map-agent.service
# This usage of profile macro does NOT conflict 4.0 configurability.
%if "%{?profile}" != "mobile" && "%{?profile}" != "tv"
%files
%manifest %{name}.manifest
+%license LICENSE
%defattr(-, root, root)
-%{_datadir}/license/bluetooth-agent
# This usage of profile macro does NOT conflict 4.0 configurability.
%if "%{?profile}" != "mobile" && "%{?profile}" != "tv"
# Original: wearable, ivi. Added: common, "undefined"
%files profile_wearable
+%license LICENSE
%{_bindir}/bluetooth-hf-agent
%{_datadir}/dbus-1/system-services/org.bluez.hf_agent.service
%exclude %{_libdir}/systemd/user/bluetooth-map-agent.service
%exclude %{_libdir}/systemd/system/bluetooth-pbap-agent.service
%files profile_ivi
+%license LICENSE
%{_bindir}/bluetooth-hf-agent.ivi
%{_datadir}/dbus-1/system-services/org.bluez.hf_agent.service
%exclude %{_libdir}/systemd/user/bluetooth-map-agent.service
%if "%{?profile}" != "wearable" && "%{?profile}" != "ivi"
# Original: common, mobile, tv. Added: "undefined"
%files profile_common
+%license LICENSE
%{_bindir}/bluetooth-ag-agent
%{_bindir}/bluetooth-map-agent
%{_bindir}/bluetooth-pb-agent
%files ipsp
%manifest %{name}.manifest
+%license LICENSE
%defattr(-, root, root)
%{_datadir}/dbus-1/system-services/org.projectx.bt_ipsp.service
%{_bindir}/bt-ipsp