Name: libmm-sound
Summary: MMSound Package contains client lib and sound_server binary
-Version: 0.7.1
-Release: 2
+Version: 0.7.2
+Release: 0
Group: System/Libraries
License: Apache-2.0
Source0: %{name}-%{version}.tar.gz
%install
%make_install
-install -d %{buildroot}/usr/lib/systemd/user/tizen-middleware.target.wants
-install -m0644 %{SOURCE1} %{buildroot}/usr/lib/systemd/user/
-install -m0644 %{SOURCE2} %{buildroot}/usr/lib/systemd/user/
-ln -sf ../sound-server.path %{buildroot}/usr/lib/systemd/user/tizen-middleware.target.wants/sound-server.path
+install -d %{buildroot}%{_libdir}/systemd/system/multi-user.target.wants
+install -m0644 %{SOURCE1} %{buildroot}%{_libdir}/systemd/system/
+install -m0644 %{SOURCE2} %{buildroot}%{_libdir}/systemd/system/
+ln -sf ../sound-server.path %{buildroot}%{_libdir}/systemd/system/multi-user.target.wants/sound-server.path
# FIXME: remove after systemd is in
mkdir -p %{buildroot}%{_sysconfdir}/rc.d/rc3.d
%attr(0755,root,root) %{_sysconfdir}/rc.d/init.d/soundserver
%{_sysconfdir}/rc.d/rc3.d/S23soundserver
%{_sysconfdir}/rc.d/rc4.d/S23soundserver
-/usr/lib/systemd/user/tizen-middleware.target.wants/sound-server.path
-/usr/lib/systemd/user/sound-server.service
-/usr/lib/systemd/user/sound-server.path
/usr/share/sounds/sound-server/*
+%{_libdir}/systemd/system/multi-user.target.wants/sound-server.path
+%{_libdir}/systemd/system/sound-server.service
+%{_libdir}/systemd/system/sound-server.path
%files devel
%defattr(-,root,root,-)