rm -rf CMakeCache.txt
MAJORVER=`echo %{version} | awk 'BEGIN {FS="."}{print $1}'`
cmake . -DCMAKE_INSTALL_PREFIX=/usr -DFULLVER=%{version} -DMAJORVER=${MAJORVER} -DLIB_INSTALL_DIR:PATH=%{_libdir} \
- -DTZ_SYS_RO_APP=%TZ_SYS_RO_APP -DTZ_SYS_RO_PACKAGES=%TZ_SYS_RO_PACKAGES
+ -DTZ_SYS_RO_APP=%TZ_SYS_RO_APP -DTZ_SYS_RO_PACKAGES=%TZ_SYS_RO_PACKAGES -DTZ_SYS_RO_ICONS=%TZ_SYS_RO_ICONS
make %{?jobs:-j%jobs}
%manifest test/org.tizen.autofill-test.manifest
%{TZ_SYS_RO_PACKAGES}/org.tizen.autofill-test.xml
%{TZ_SYS_RO_APP}/org.tizen.autofill-test/*
+%{TZ_SYS_RO_ICONS}/default/small/*
%files -n org.tizen.autofill-daemon
%manifest server/org.tizen.autofill-daemon.manifest
CMAKE_MINIMUM_REQUIRED(VERSION 2.6)
PROJECT(autofill-test C)
+SET(ICONDIR "${TZ_SYS_RO_ICONS}/default/small")
+
SET(SRCS
ecore_imf_example.c
)
INSTALL(TARGETS ${PROJECT_NAME} DESTINATION ${TZ_SYS_RO_APP}/org.tizen.${PROJECT_NAME}/bin)
INSTALL(FILES ${CMAKE_BINARY_DIR}/test/org.tizen.autofill-test.xml DESTINATION ${TZ_SYS_RO_PACKAGES})
+INSTALL(FILES ${CMAKE_SOURCE_DIR}/test/org.tizen.autofill-test.png DESTINATION ${ICONDIR})
#INSTALL(FILES ${CMAKE_BINARY_DIR}/test/autofill-test.manifest DESTINATION ${TZ_SYS_RO_PACKAGES})
<label>autofill-test</label>
<author email="jihoon48.kim@samsung.com" href="www.samsung.com">Jihoon Kim</author>
<description>autofill-test</description>
- <ui-application appid="org.tizen.autofill-test" launch_mode="caller" exec="autofill-test" nodisplay="true" multiple="false" type="capp" taskmanage="false">
+ <ui-application appid="org.tizen.autofill-test" launch_mode="caller" exec="autofill-test" nodisplay="false" multiple="false" type="capp">
<label>autofill-test</label>
+ <icon>org.tizen.autofill-test.png</icon>
</ui-application>
-
<privileges>
<privilege>http://tizen.org/privilege/appmanager.launch</privilege>
<privilege>http://tizen.org/privilege/datasharing</privilege>