summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeongmo Yang <jm80.yang@samsung.com>2021-04-22 14:30:20 +0900
committerJeongmo Yang <jm80.yang@samsung.com>2021-04-22 14:30:20 +0900
commitc92b09c4c053b80f9120930c8aca02ed25aab744 (patch)
tree01f49dd83c7557b2f686b37172bedcc2bca9ce9b
parent4a82d76dce3b1112b2ef506f5be55f90727882aa (diff)
downloadnx-video-api-accepted/tizen_unified.tar.gz
nx-video-api-accepted/tizen_unified.tar.bz2
nx-video-api-accepted/tizen_unified.zip
- 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>
-rw-r--r--packaging/nx-video-api.spec14
1 files changed, 8 insertions, 6 deletions
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+
+