Revise service file to add capabilities option
[platform/core/multimedia/libmm-sound.git] / packaging / libmm-sound.spec
index 772bfe6..0afbbb6 100644 (file)
@@ -1,10 +1,11 @@
 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
@@ -99,6 +100,7 @@ install -d %{buildroot}%{_unitdir}/sysinit.target.wants
 %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"
@@ -139,6 +141,7 @@ ln -sf ../focus-server.path %{buildroot}%{_unitdir}/multi-user.target.wants/focu
 /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,-)