#include <glib.h>
#include <gio/gio.h>
+#include "dbus_macro.h"
#include "extended-sd-main.h"
-/* Block service: manage block device */
-#define STORAGED_BUS_NAME "org.tizen.system.storage"
-#define STORAGED_OBJECT_PATH "/Org/Tizen/System/Storage"
-#define STORAGED_INTERFACE_NAME STORAGED_BUS_NAME
-#define STORAGED_PATH_BLOCK STORAGED_OBJECT_PATH"/Block"
-#define STORAGED_PATH_BLOCK_MANAGER STORAGED_PATH_BLOCK"/Manager"
-#define STORAGED_INTERFACE_BLOCK_MANAGER STORAGED_INTERFACE_NAME".BlockManager"
-
-#define POPUP_SDCARD_ID "_SDCARD_NUM_"
-
struct dbus_int {
int *list;
int size;
%files
%manifest %{name}.manifest
-%license LICENSE
+%license LICENSE.Apache-2.0
%config %{_sysconfdir}/dbus-1/system.d/storaged.conf
%{_unitdir}/multi-user.target.wants/storaged.service
%{_unitdir}/storaged.service
%files module_block
%manifest %{name}.manifest
-%license LICENSE
+%license LICENSE.Apache-2.0
%{_libdir}/storaged/module_block.so
%{_bindir}/mmc-smack-label
%config %{_sysconfdir}/storaged/block.conf
%files module_storage
%manifest %{name}.manifest
-%license LICENSE
+%license LICENSE.Apache-2.0
%{_libdir}/storaged/module_storage.so
%config %{_sysconfdir}/storaged/storage.conf
%files org.tizen.extended-sd -f extended-sd.lang
%manifest %{name}.manifest
-%license LICENSE
+%license LICENSE.Apache-2.0
%defattr(-,root,root,-)
%{TZ_SYS_RO_APP}/org.tizen.extended-sd/bin/*
%{TZ_SYS_RO_APP}/org.tizen.extended-sd/res/*