#%endif
install -D -m 0644 packaging/bluetooth-pbap-agent.service %{buildroot}%{_libdir}/systemd/system/bluetooth-pbap-agent.service
execstack -c %{buildroot}%{_bindir}/bluetooth-pb-agent
+install -D -m 0644 packaging/bluetooth-hf-agent.service %{buildroot}%{_libdir}/systemd/system/bluetooth-hf-agent.service
+execstack -c %{buildroot}%{_bindir}/bluetooth-hf-agent
+install -D -m 0644 packaging/bluetooth-ag-agent.service %{buildroot}%{_libdir}/systemd/system/bluetooth-ag-agent.service
+execstack -c %{buildroot}%{_bindir}/bluetooth-ag-agent
+install -D -m 0644 packaging/bluetooth-hid-agent.service %{buildroot}%{_libdir}/systemd/system/bluetooth-hid-agent.service
+execstack -c %{buildroot}%{_bindir}/bluetooth-hid-agent
%post
%if 0%{?sec_product_feature_bt_map_server_enable}
ln -sf %{_libdir}/systemd/user/bluetooth-map-agent.service %{_sysconfdir}/systemd/default-extra-dependencies/ignore-units.d/
%endif
ln -sf %{_libdir}/systemd/system/bluetooth-pbap-agent.service %{_sysconfdir}/systemd/default-extra-dependencies/ignore-units.d/
+ln -sf %{_libdir}/systemd/system/bluetooth-ag-agent.service %{_sysconfdir}/systemd/default-extra-dependencies/ignore-units.d/
+ln -sf %{_libdir}/systemd/system/bluetooth-hf-agent.service %{_sysconfdir}/systemd/default-extra-dependencies/ignore-units.d/
+ln -sf %{_libdir}/systemd/system/bluetooth-hid-agent.service %{_sysconfdir}/systemd/default-extra-dependencies/ignore-units.d/
%files
%manifest %{name}.manifest
%{_datadir}/dbus-1/system-services/org.bluez.hid_agent.service
%{_sysconfdir}/dbus-1/system.d/bluetooth-ag-agent.conf
%{_sysconfdir}/dbus-1/system.d/bluetooth-hf-agent.conf
+%{_libdir}/systemd/system/bluetooth-hf-agent.service
+%{_libdir}/systemd/system/bluetooth-ag-agent.service
+%{_libdir}/systemd/system/bluetooth-hid-agent.service
%exclude %{_libdir}/systemd/system/bluetooth-map-agent.service
%exclude %{_libdir}/systemd/system/bluetooth-pbap-agent.service
%endif
%{_sysconfdir}/dbus-1/system.d/bluetooth-ag-agent.conf
%{_libdir}/systemd/system/bluetooth-map-agent.service
%{_libdir}/systemd/system/bluetooth-pbap-agent.service
+%{_libdir}/systemd/system/bluetooth-ag-agent.service
%endif
%files ipsp