The HAL manifest specify the supported HAL interface version.
It will be added on Tizen major version release.
[Detailed description of /etc/hal-manifest/hal-api-power.xml]
- The following hal-manifest means that HAL_MODULE_POWER support v1.0 on
Tizen 9.0 platform.
<hal-api>
<manifest platform-version="9.0">
<hal-module>
<name>HAL_MODULE_POWER</name>
<version>1.0</version>
</hal-module>
</manifest>
</hal-api>
Change-Id: I5c27b4bc714b23dfe89b3f014aa48010f126d7b5
Signed-off-by: Chanwoo Choi <cw00.choi@samsung.com>
FILES_MATCHING PATTERN "*.h")
INSTALL(FILES ${CMAKE_CURRENT_SOURCE_DIR}/${PROJECT_NAME}.pc
DESTINATION ${LIBDIR}/pkgconfig)
+INSTALL(FILES ${CMAKE_CURRENT_SOURCE_DIR}/packaging/hal-api-power.xml
+ DESTINATION /etc/hal-manifest/)
ADD_SUBDIRECTORY(tests)
%license LICENSE
%defattr(-,root,root,-)
%{_libdir}/hal/*.so*
+%{_sysconfdir}/hal-manifest/hal-api-power.xml
%files -n %{devel_name}
%defattr(-,root,root,-)
--- /dev/null
+<hal-api>
+ <manifest platform-version="9.0">
+ <hal-module>
+ <name>HAL_MODULE_POWER</name>
+ <version>1.0</version>
+ </hal-module>
+ </manifest>
+</hal-api>