%define unpackdir /opt/usr/share/package-unpacked
%define rwsignaturedir /opt/share/signatures
%define rosignaturedir /usr/share/signatures
-%define logdir /var/log/app-installers
+%define logdir /var/log/appfw/app-installers
%description
This is a meta package that installs the common application
-DUNITDIR=%{_unitdir} \
-DUNITDIR_USER=%{_unitdir_user} \
-DFULLVER=%{version} -DMAJORVER=${MAJORVER} \
- -DUNPACKDIR=%{unpackdir}
+ -DUNPACKDIR=%{unpackdir} \
+ -DLOGDIR=%{logdir}
make %{?_smp_mflags}
ADD_DEFINITIONS("-DTIZEN_FULL_VERSION=\"${TIZEN_FULL_VERSION}\"")
ENDIF(NOT DEFINED TIZEN_FULL_VERSION)
ADD_DEFINITIONS("-DUNPACKDIR=\"${UNPACKDIR}\"")
+ADD_DEFINITIONS("-DLOGDIR=\"${LOGDIR}\"")
CONFIGURE_FILE(${PLUGINS_LIST_FILE_PATH}.in ${PLUGINS_LIST_FILE_PATH} @ONLY)
INSTALL(FILES ${PLUGINS_LIST_FILE_PATH} DESTINATION ${PLUGINS_LIST_INSTALL_PATH}/)
namespace {
const unsigned kProgressRange = 100;
-const char kLogFileName[] = "/var/log/app-installers/app-installers.log";
-const char kHistoryFileName[] =
- "/var/log/app-installers/installation-history.log";
+const char kLogFileName[] = LOGDIR"/app-installers.log";
+const char kHistoryFileName[] = LOGDIR"/installation-history.log";
const int kLogRotationSize = 1024 * 256; // 256KB
const int kLogMaximumRotation = 3;