Name: libmm-sound
Summary: MMSound Package contains client lib and sound_server binary
-Version: 0.11.10
+Version: 0.12.6
Release: 0
Group: System/Libraries
License: Apache-2.0
Source6: focus-server.conf
Requires: security-config
%if "%{?TIZEN_PRODUCT_TV}" == "1"
+Source7: libmm-sound.notstrip
Source8: focus-server-tv.service
%endif
Source9: org.tizen.SoundServer.service
Requires(post): /sbin/ldconfig
Requires(postun): /sbin/ldconfig
BuildRequires: pkgconfig(mm-common)
-BuildRequires: pkgconfig(mm-log)
BuildRequires: pkgconfig(mm-session)
BuildRequires: pkgconfig(glib-2.0)
BuildRequires: pkgconfig(gio-2.0)
%build
-CFLAGS="%{optflags} -fvisibility=hidden -D_TIZEN_PUBLIC_ -DMM_DEBUG_FLAG -DEXPORT_API=\"__attribute__((visibility(\\\"default\\\")))\"" ;export CFLAGS
+CFLAGS="%{optflags} -fvisibility=hidden -D_TIZEN_PUBLIC_ -DEXPORT_API=\"__attribute__((visibility(\\\"default\\\")))\"" ;export CFLAGS
%if "%{?TIZEN_PRODUCT_TV}" == "1"
CFLAGS+=" -DTIZEN_TV";export CFLAGS
%make_install
%if "%{?TIZEN_PRODUCT_TV}" == "1"
+mkdir -p %{buildroot}%{_sysconfdir}/notstrip
+install -m0644 %{SOURCE7} %{buildroot}%{_sysconfdir}/notstrip/libmm-sound.notstrip
install -d %{buildroot}%{_unitdir}/sysinit.target.wants
%else
install -d %{buildroot}%{_unitdir}/multi-user.target.wants
%{_libdir}/soundplugins/libsoundplugintremoloogg.so
%endif
%if "%{?TIZEN_PRODUCT_TV}" == "1"
+%{_sysconfdir}/notstrip/libmm-sound.notstrip
%{_unitdir}/sysinit.target.wants/focus-server.path
%else
%{_unitdir}/multi-user.target.wants/focus-server.path