From: Jeongmo Yang Date: Thu, 22 Apr 2021 05:30:20 +0000 (+0900) Subject: Change install path for HAL image X-Git-Tag: submit/tizen/20210428.002733^0 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=refs%2Fheads%2Faccepted%2Ftizen_unified;p=platform%2Fadaptation%2Fnexell%2Fnx-video-api.git Change install path for HAL image - 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 --- diff --git a/packaging/nx-video-api.spec b/packaging/nx-video-api.spec index 8ed295e..e11839b 100644 --- a/packaging/nx-video-api.spec +++ b/packaging/nx-video-api.spec @@ -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+ +