set (LIB_INSTALL_DIR "${CMAKE_INSTALL_LIBDIR}" )
set (PLUGIN_INSTALL_PATH "${CMAKE_INSTALL_LIBDIR}/${PROJECT_NAME}")
set (INCLUDE_INSTALL_DIR "${CMAKE_INSTALL_INCLUDEDIR}")
-set (DOC_INSTALL_DIR "${CMAKE_INSTALL_DOCDIR}/${PROJECT_SERIES}")
-set (PLUGIN_SEGMENT_INSTALL_PATH "${CMAKE_INSTALL_SYSCONFDIR}/ambd/plugins.d")
+set (DOC_INSTALL_DIR "${CMAKE_INSTALL_DOCDIR}/${PROJECT_NAME}/${PROJECT_SERIES}")
+set (PLUGIN_SEGMENT_INSTALL_PATH "/${CMAKE_INSTALL_SYSCONFDIR}/ambd/plugins.d")
option(qtmainloop "Use QCoreApplication mainloop " OFF)
option(websocket_plugin "websocket source and sink plugins" OFF)
--- /dev/null
+<manifest>
+ <define>
+ <domain name="AMB" />
+ <provide>
+ <label name="AMB::readall" />
+ <label name="AMB::writeall" />
+ <label name="AMB::machinegun" />
+ </provide>
+ <request>
+ <smack request="_" type="rwxatl" />
+ <smack request="User" type="w" />
+ <smack request="System" type="wx" />
+ <smack request="System::Run" type="rwxat" />
+ <smack request="System::Shared" type="rx" />
+ <smack request="AMB::readall" type="rw" />
+ <smack request="AMB::writeall" type="rw" />
+ <smack request="AMB::machinegun" type="rw" />
+ </request>
+ <permit>
+ <smack permit="_" type="w" />
+ <smack permit="System" type="rwx" />
+ <smack permit="User" type="w" />
+ </permit>
+ </define>
+ <assign>
+ <dbus name="org.automotive.message.broker" own="AMB" bus="system">
+ <!--<node name="*/0/MachineGunTurretStatus" >
+ <interface name="org.freedesktop.DBus.Properties">
+ <method name="Set" >
+ <annotation name="com.tizen.smack" value="AMB::machinegun" />
+ </method>
+ </interface>
+ </node>
+ <node name="*" >
+ <interface name="org.freedesktop.DBus.Properties">
+ <method name="Set" >
+ <annotation name="com.tizen.smack" value="AMB::writeall" />
+ </method>
+ </interface>
+ </node>
+ -->
+ <!--<node name="*" >
+ <interface name="org.freedesktop.DBus.Properties">
+ <method name="Get" >
+ <annotation name="com.tizen.smack" value="AMB::readall" />
+ </method>
+ </interface>
+ </node>
+ <node name="*" >
+ <interface name="org.freedesktop.DBus.Properties">
+ <method name="GetAll" >
+ <annotation name="com.tizen.smack" value="AMB::readall" />
+ </method>
+ </interface>
+ </node>-->
+ </dbus>
+ <filesystem path="/usr/bin/ambd" exec_label="AMB" />
+ <filesystem path="lib/x86_64-linux-gnu*" label="_" />
+ </assign>
+ <request>
+ <domain name="AMB" />
+ </request>
+</manifest>
-%bcond_without qt5
+%bcond_with qt5
%define enable_plugin_opencvlux OFF
%build
%cmake \
+ -DCMAKE_INSTALL_DOCDIR=%{_docdir} \
-Dxwalk_vehicle_extension=ON \
-DXWALK_EXTENSION_PATH=/tizen-extensions-crosswalk \
%if %{with qt5}
%{_bindir}/amb-set
%{_bindir}/amb-listen
%{_bindir}/ambctl
+%{_sysconfdir}/init.d/ambd
+
%files devel
%defattr(-,root,root,-)
%manifest packaging.in/amb.manifest.plugins
%defattr(-,root,root,-)
%{_libdir}/libamb-plugins-common.so
+%{_libdir}/libamb-json-protocol.so
+
%files plugins-wheel
%defattr(-,root,root,-)
%{_libdir}/%{name}/bluemonkeyplugin.so
%config %{_sysconfdir}/ambd/bluemonkey
%{_sysconfdir}/ambd/plugins.d/bluemonkey
+%{_bindir}/bluemonkey
%files -n bluemonkey-modules-db
%manifest packaging.in/amb.manifest.plugins