tv-service
dlog
alarm-service
+ libtzplatform-config
)
IF(NOT DEFINED PACKAGE_NAME)
SET(LOCALEDIR "${RESDIR}/locale")
ENDIF(NOT DEFINED LOCALEDIR)
IF(NOT DEFINED PACKAGEDIR)
- SET(PACKAGEDIR "/usr/share/packages")
+ SET(PACKAGEDIR "${TZ_SYS_RO_PACKAGES}")
ENDIF(NOT DEFINED PACKAGEDIR)
IF(NOT DEFINED DESKTOP_ICONDIR)
SET(DESKTOP_ICONDIR "/usr/share/icons")
ADD_DEFINITIONS("-DEDJEDIR=\"${EDJEDIR}\"")
ADD_DEFINITIONS("-DEDJEFILE=\"${EDJEDIR}/${TARGET_EDJ}\"")
ADD_DEFINITIONS("-DTHEMEFILE=\"${EDJEDIR}/${THEME_EDJ}\"")
+ADD_DEFINITIONS("-DTZ_SYS_RO_APPS=\"${TZ_SYS_RO_APPS}\"")
FOREACH(flag ${PKGS_CFLAGS})
SET(EXTRA_CFLAGS "${EXTRA_CFLAGS} ${flag}")
#define __AIR_SETTINGS_APP_STRING_H__
#define SETTINGS_PACKAGE "settings"
-#define SETTINGS_LOCALEDIR "/usr/apps/org.tizen.settings/res/locale"
+#define SETTINGS_LOCALEDIR TZ_SYS_RO_APPS"/org.tizen.settings/res/locale"
#ifdef _
#undef _
BuildRequires: cmake
BuildRequires: gettext-tools
+BuildRequires: pkgconfig(libtzplatform-config)
BuildRequires: pkgconfig(elementary)
BuildRequires: pkgconfig(capi-appfw-application)
BuildRequires: pkgconfig(capi-system-info)
BuildRequires: pkgconfig(alarm-service)
Requires(post): /usr/bin/vconftool
-%define _appdir /usr/apps/%{name}
+%define _appdir /%{TZ_SYS_RO_APPS}/%{name}
%define _bindir %{_appdir}/bin
%define _resdir %{_appdir}/res
%define _edjedir %{_resdir}/edje
%define _pkgdir %{_datadir}/packages
-%define _desktop_icondir /usr/share/icons
+%define _desktop_icondir %{TZ_SYS_RO_ICONS}
%description
Setting application.
-DBINDIR=%{_bindir} \
-DRESDIR=%{_resdir} \
-DEDJEDIR=%{_edjedir} \
+ -DTZ_SYS_RO_PACKAGES=%{TZ_SYS_RO_PACKAGES} \
+ -DTZ_SYS_RO_APPS=%{TZ_SYS_RO_APPS} \
-DDESKTOP_ICONDIR=%{_desktop_icondir} \
-DDESKTOP_ICON=%{name}.png \
-DPACKAGEDIR=%{_pkgdir}