[TSYSTEM-1043] Change install path to hal folder 74/256874/1 accepted/tizen_6.5_unified accepted/tizen_7.0_unified accepted/tizen_7.0_unified_hotfix accepted/tizen_8.0_unified accepted/tizen_unified tizen tizen_6.5 tizen_7.0 tizen_7.0_hotfix tizen_8.0 accepted/tizen/6.5/unified/20211028.093839 accepted/tizen/7.0/unified/20221110.062150 accepted/tizen/7.0/unified/hotfix/20221116.104411 accepted/tizen/8.0/unified/20231005.092447 accepted/tizen/unified/20210420.002144 submit/tizen/20210419.073713 submit/tizen_6.5/20211028.161501 tizen_6.5.m2_release tizen_7.0_m2_release tizen_8.0_m2_release
authorJihoon Jung <jh8801.jung@samsung.com>
Wed, 14 Apr 2021 05:04:07 +0000 (14:04 +0900)
committerJihoon Jung <jh8801.jung@samsung.com>
Wed, 14 Apr 2021 05:04:07 +0000 (14:04 +0900)
Change-Id: I48b4aab302dfb2544a4480c0865123f4e1eac4cd
Signed-off-by: Jihoon Jung <jh8801.jung@samsung.com>
CMakeLists.txt
packaging/nfc-plugin-emul.spec

index 871cbea..2fb5fdc 100644 (file)
@@ -15,4 +15,5 @@ ADD_LIBRARY(${PROJECT_NAME} SHARED ${SRCS})
 TARGET_COMPILE_OPTIONS(${PROJECT_NAME} PUBLIC ${pkgs_CFLAGS_OTHER})
 TARGET_LINK_LIBRARIES(${PROJECT_NAME} ${pkgs_LIBRARIES} pthread)
 INSTALL(TARGETS ${PROJECT_NAME} DESTINATION ${HAL_PATH})
-INSTALL(FILES 98-nfc-plugin-emul.rules DESTINATION ${CMAKE_INSTALL_PREFIX}/lib/udev/rules.d/)
+INSTALL(FILES 98-nfc-plugin-emul.rules DESTINATION ${HAL_PATH}/udev/rules.d/)
+INSTALL(FILES LICENSE.APLv2 DESTINATION ${HAL_LICENSE_PATH})
index f0ca530..e60ef17 100644 (file)
@@ -21,7 +21,8 @@ cp %{SOURCE1001} ./%{name}.manifest
 
 %build
 %cmake . -DCMAKE_VERBOSE_MAKEFILE=OFF \
-         -DHAL_PATH=%{_hal_libdir}
+         -DHAL_PATH=%{_hal_libdir} \
+         -DHAL_LICENSE_PATH=%{_hal_licensedir}
 make %{?_smp_mflags}
 
 %install
@@ -30,5 +31,5 @@ make %{?_smp_mflags}
 %files
 %manifest %{name}.manifest
 %{_hal_libdir}/*.so*
-%{_prefix}/lib/udev/rules.d/98-%{name}.rules
-%license LICENSE.APLv2
+%{_hal_libdir}/udev/rules.d/98-%{name}.rules
+%license %{_hal_licensedir}/LICENSE.APLv2