Change-Id: I0fa6846075718fdb5650bfd5566f981554f8576c
Signed-off-by: h.sandeep <h.sandeep@samsung.com>
INSTALL(TARGETS ${PROJECT_NAME} DESTINATION bin)
INSTALL(FILES ${CMAKE_CURRENT_SOURCE_DIR}/org.projectx.httpproxy.service DESTINATION share/dbus-1/system-services)
+INSTALL(FILES ${CMAKE_CURRENT_SOURCE_DIR}/bluetooth-frwk-httpproxy.conf DESTINATION /etc/dbus-1/system.d)
+
SET(PREFIX ${CMAKE_INSTALL_PREFIX})
--- /dev/null
+<!DOCTYPE busconfig PUBLIC "-//freedesktop//DTD D-BUS Bus Configuration 1.0//EN"
+ "http://www.freedesktop.org/standards/dbus/1.0/busconfig.dtd">
+<busconfig>
+ <policy user="root">
+ <allow own="org.projectx.httpproxy"/>
+ </policy>
+ <policy at_console="true">
+ <allow send_destination="org.projectx.httpproxy" />
+ </policy>
+ <policy context="default">
+ <allow send_destination="org.projectx.httpproxy" />
+ </policy>
+</busconfig>
+
%{_bindir}/bt-httpproxy
%{_datadir}/license/bluetooth-frwk-httpproxy
%{_datadir}/dbus-1/system-services/org.projectx.httpproxy.service
+%{_sysconfdir}/dbus-1/system.d/bluetooth-frwk-httpproxy.conf
%files core
%manifest %{name}.manifest