Name: libmm-sound
Summary: MMSound Package contains client lib and sound_server binary
-Version: 0.12.7
+Version: 0.12.8
Release: 0
Group: System/Libraries
License: Apache-2.0
Source0: %{name}-%{version}.tar.gz
+Source2: sound-server.service
Source3: sound-server.conf
Source4: focus-server.service
Source5: focus-server.path
%else
install -d %{buildroot}%{_unitdir}/multi-user.target.wants
%endif
+install -m0644 %{SOURCE2} %{buildroot}%{_unitdir}/
install -m0644 %{SOURCE4} %{buildroot}%{_unitdir}/
install -m0644 %{SOURCE5} %{buildroot}%{_unitdir}/
%if "%{?TIZEN_PRODUCT_TV}" == "1"
/etc/dbus-1/system.d/sound-server.conf
/etc/dbus-1/system.d/focus-server.conf
%{_datadir}/dbus-1/system-services/org.tizen.SoundServer.service
+%{_unitdir}/sound-server.service
%files devel
%defattr(-,root,root,-)
--- /dev/null
+[Unit]
+Description=Start the sound-server
+
+[Service]
+ExecStart=/usr/bin/sound_server -S
+Restart=no
+RestartSec=0
+MemoryLimit=50M
+User=multimedia_fw
+Group=multimedia_fw
+SmackProcessLabel=System
+SecureBits=keep-caps
+Capabilities=cap_lease=i
+