HAL_MODULE_AUDIO will support the multiple version of HAL interface.
So that v1.0 is first supported version of HAL_MODULE_AUDIO.
And HALCC (HAL Compatibility Checker) checks and stores the hal-backend
compatibility result between HAL manifest and hal-backend package
under /opt/etc/hal/ directory. When installing/un-installing hal-api package,
hal-backend compatibility result should be reset.
So that reset the hal-backend compatibility result by executing
'usr/bin/hal-compatibility-checker --reset' command.
Change-Id: Iaea1f03211611d65aaf09575d7ecafc5ec6629a2
Signed-off-by: Chanwoo Choi <cw00.choi@samsung.com>
--- /dev/null
+<hal-api>
+ <manifest platform-version="9.0">
+ <hal-module>
+ <name>HAL_MODULE_AUDIO</name>
+ <version>1.0</version>
+ </hal-module>
+ </manifest>
+</hal-api>
License: Apache-2.0
URL: http://tizen.org
Source0: hal-api-audio-%{version}.tar.gz
+Source1: %{name}-manifest.xml
BuildRequires: cmake
BuildRequires: pkgconfig(hal-api-common)
BuildRequires: pkgconfig(capi-base-common)
%install
install -d -m 755 %{buildroot}%{_datadir}/testcase/res/audio/
install -m 644 testcase/*.raw %{buildroot}%{_datadir}/testcase/res/audio/
+mkdir -p %{buildroot}%{_sysconfdir}/hal
+cp %{SOURCE1} %{buildroot}%{_sysconfdir}/hal/
%make_install
%post
/sbin/ldconfig
+%{_bindir}/hal-compatibility-checker --reset
%postun
/sbin/ldconfig
+%{_bindir}/hal-compatibility-checker --reset
%files
%defattr(-,root,root,-)
%defattr(-,root,root,-)
%{_libdir}/hal/*.so*
%license LICENSE.APLv2
+%{_sysconfdir}/hal/%{name}-manifest.xml
%files devel
%defattr(-,root,root,-)