[Dist/Tizen] Rearrange static libraries in the development package 20/221520/1
authorWook Song <wook16.song@samsung.com>
Fri, 3 Jan 2020 07:32:15 +0000 (16:32 +0900)
committerWook Song <wook16.song@samsung.com>
Fri, 3 Jan 2020 07:47:35 +0000 (16:47 +0900)
Several libraries related to GTest, GFlags, and stb might conflicts with
other packages in Tizen. In order to handle this issue, this patch
rearrages the static libraries in the development package.

Change-Id: I676e81e2f4466efb6901061bfee68b02c8ede9d6
Signed-off-by: Wook Song <wook16.song@samsung.com>
packaging/openvino.spec

index ff49d2c..033af3e 100644 (file)
@@ -136,14 +136,17 @@ sed -i 's|@INCLUDE_INSTALL_DIR@|%{_includedir}|g' libinference-engine.pc.in
 
 %install
 mkdir -p %{buildroot}%{_libdir}
-mkdir -p %{buildroot}%{_libdir}/tbb
 mkdir -p %{buildroot}%{_libdir}/pkgconfig
 cp libinference-engine.pc.in %{buildroot}%{_libdir}/pkgconfig/libinference-engine.pc
 
 pushd inference-engine/bin/%{install_arch}/Release
 install -m 644 lib/*.so %{buildroot}%{_libdir}
 install -m 644 lib/*.xml %{buildroot}%{_libdir}
-install -m 644 lib/*.a %{buildroot}%{_libdir}/tbb
+install -m 644 lib/libngraph.a %{buildroot}%{_libdir}
+install -m 644 lib/libinference_engine_s.a %{buildroot}%{_libdir}
+install -m 644 lib/libhelpers.a %{buildroot}%{_libdir}
+install -m 644 lib/libpugixml.a %{buildroot}%{_libdir}
+install -m 644 lib/libfluid.a %{buildroot}%{_libdir}
 popd
 
 mkdir -p %{buildroot}%{_includedir}
@@ -182,6 +185,6 @@ popd
 %files devel
 %manifest %{name}.manifest
 %license LICENSE
-%{_libdir}/tbb/*.a
+%{_libdir}/*.a
 %{_libdir}/pkgconfig/libinference-engine.pc
 %{_includedir}/*