Change install path for HAL image 80/257280/1 accepted/tizen_6.5_unified accepted/tizen_7.0_unified accepted/tizen_7.0_unified_hotfix accepted/tizen_unified tizen tizen_6.5 tizen_7.0 tizen_7.0_hotfix accepted/tizen/6.5/unified/20211028.093622 accepted/tizen/7.0/unified/20221110.060137 accepted/tizen/7.0/unified/hotfix/20221116.104440 accepted/tizen/unified/20210428.040502 submit/tizen/20210428.002733 submit/tizen_6.5/20211028.161501 tizen_6.5.m2_release tizen_7.0_m2_release
authorJeongmo Yang <jm80.yang@samsung.com>
Thu, 22 Apr 2021 05:30:20 +0000 (14:30 +0900)
committerJeongmo Yang <jm80.yang@samsung.com>
Thu, 22 Apr 2021 05:30:20 +0000 (14:30 +0900)
- The path is changed from /usr/lib to /hal/lib.

[Version] 1.1.2-1
[Issue Type] HAL path

Change-Id: I4fac52b05644d1f2219f48a691d19549459b9a04
Signed-off-by: Jeongmo Yang <jm80.yang@samsung.com>
packaging/nx-video-api.spec

index 8ed295e..e11839b 100644 (file)
@@ -1,6 +1,6 @@
 Name:    nx-video-api
 Version: 1.1.2
-Release: 0
+Release: 1
 License: LGPL-2.1+
 Summary: Nexell video APIs
 Group: Development/Libraries
@@ -31,13 +31,15 @@ Nexell scaler (devel)
 %build
 export CFLAGS="-I/usr/include/libdrm"
 autoreconf -v --install || exit 1
-%configure
+%configure --libdir=%{_hal_libdir}
 make %{?_smp_mflags}
 
 %postun -p /sbin/ldconfig
 
 %install
 rm -rf %{buildroot}
+mkdir -p %{buildroot}%{_hal_licensedir}/%{name}
+cp LICENSE.LGPLv2+ %{buildroot}%{_hal_licensedir}/%{name}
 make install DESTDIR=%{buildroot}
 
 find %{buildroot} -type f -name "*.la" -delete
@@ -45,10 +47,10 @@ find %{buildroot} -type f -name "*.la" -delete
 %files
 %manifest nx-video-api.manifest
 %defattr(-,root,root,-)
-%{_libdir}/libnx_video_api.so
-%{_libdir}/libnx_video_api.so.*
-%license LICENSE.LGPLv2+
+%{_hal_libdir}/libnx_video_api.so
+%{_hal_libdir}/libnx_video_api.so.*
+%{_hal_licensedir}/%{name}/*
 
 %files devel
 %{_includedir}/*
-%license LICENSE.LGPLv2+
+