Name: libmm-sound
Summary: MMSound Package contains client lib and sound_server binary
-Version: 0.10.106
+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
./autogen.sh
%configure \
- --with-plugindir=%{_libdir}/soundplugins/ \
+ --with-plugindir=%{_libdir}/soundplugins \
%if "%{?TIZEN_PRODUCT_TV}" == "1"
--enable-prelink \
--enable-lwipc \
%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
%files
%manifest libmm-sound.manifest
%defattr(-,root,root,-)
-%caps(cap_chown,cap_fowner,cap_lease=eip) %{_bindir}/focus_server
-%caps(cap_chown,cap_fowner,cap_lease=eip) %{_bindir}/sound_server
+%{_bindir}/focus_server
+%{_bindir}/sound_server
%{_libdir}/libmmfsound.so.*
%{_libdir}/libmmfsoundcommon.so.*
%{_libdir}/libmmfkeysound.so.*
%{_libdir}/libmmfbootsound.so.*
-%{_libdir}/libsoundplugintone.so*
-%{_libdir}/libsoundpluginwave.so*
%{_libdir}/soundplugins/libsoundplugintone.so
%{_libdir}/soundplugins/libsoundpluginwave.so
%if 0%{?tizen_audio_feature_ogg_enable}
%{_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
%{_includedir}/mmf/mm_sound.h
%{_includedir}/mmf/mm_sound_focus.h
%{_includedir}/mmf/mm_sound_device.h
+%exclude %{_includedir}/mmf/mm_sound_focus_socket.h
%exclude %{_includedir}/mmf/mm_sound_pa_client.h
%{_libdir}/pkgconfig/mm-keysound.pc
%{_libdir}/pkgconfig/mm-bootsound.pc