Name: audio-hal-bcm2837
Summary: TIZEN Audio HAL for BCM2837
-Version: 0.1.12
+Version: 0.1.13
Release: 0
Group: System/Libraries
License: Apache-2.0
%setup -q -n %{name}-%{version}
%build
-export CFLAGS="$CFLAGS -DTIZEN_DEBUG_ENABLE -DSYSCONFDIR=\\\"%{_sysconfdir}\\\""
+export CFLAGS="$CFLAGS -DTIZEN_DEBUG_ENABLE -DSYSCONFDIR=\\\"%{_hal_sysconfdir}\\\""
export CXXFLAGS="$CXXFLAGS -DTIZEN_DEBUG_ENABLE"
export FFLAGS="$FFLAGS -DTIZEN_DEBUG_ENABLE"
%install
rm -rf %{buildroot}
%make_install
+mkdir -p %{buildroot}%{_hal_licensedir}/%{name}
+cp LICENSE.Apache-2.0 %{buildroot}%{_hal_licensedir}/%{name}
%post
/sbin/ldconfig
%manifest audio-hal-bcm2837.manifest
%defattr(-,root,root,-)
%{_hal_libdir}/libhal-backend-audio.so
-%license LICENSE.Apache-2.0
+%{_hal_licensedir}/%{name}/*