+++ /dev/null
-<!DOCTYPE busconfig PUBLIC
- "-//freedesktop//DTD D-BUS Bus Configuration 1.0//EN"
- "http://www.freedesktop.org/standards/dbus/1.0/busconfig.dtd">
-<busconfig>
- <!-- allow only privileged applications to send and receive notifications -->
- <policy context="default">
- <check send_interface="com.mediaserver.dbus.Signal" privilege="http://tizen.org/privilege/mediastorage" />
- <check receive_interface="com.mediaserver.dbus.Signal" privilege="http://tizen.org/privilege/mediastorage" />
- </policy>
-
- <!-- allow root to send and receive notifications -->
- <policy user="root">
- <allow send_interface="com.mediaserver.dbus.Signal" />
- <allow receive_interface="com.mediaserver.dbus.Signal" />
- </policy>
-</busconfig>
install -m 0775 ./data-media/dbspace/file-manager-service/.thumb/phone/PHONE_THUMB_HERE %{buildroot}%{TZ_SYS_DATA}/file-manager-service/.thumb/phone/
install -m 0775 ./data-media/dbspace/file-manager-service/.thumb/phone/.jpg* %{buildroot}%{TZ_SYS_DATA}/file-manager-service/.thumb/phone/
install -D -m 0775 ./data-media/dbspace/file-manager-service/* %{buildroot}%{TZ_SYS_DATA}/file-manager-service/
-mkdir -p %{buildroot}%{_sysconfdir}/dbus-1/system.d
-install -m 0644 dbus/media-server.conf %{buildroot}%{_sysconfdir}/dbus-1/system.d/
%post
vconftool set -t int db/filemanager/dbupdate "1" -f
%{_bindir}/media-server
%{_bindir}/media-scanner
%{_bindir}/mediadb-update
-%config %{_sysconfdir}/dbus-1/system.d/media-server.conf
%exclude %attr(755,-,-) %{_sysconfdir}/rc.d/init.d/mediasvr
%exclude /etc/rc.d/rc3.d/S46mediasvr
%exclude /etc/rc.d/rc5.d/S46mediasvr