summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWook Song <wook16.song@samsung.com>2020-01-06 15:56:26 +0900
committerWook Song <wook16.song@samsung.com>2020-01-06 17:24:49 +0900
commit5ac3ce267e50d1d2ad5973f68008d83782682913 (patch)
tree21944643b971b907c55e4befff6654bca0c6e6ae
parentfe4c4f4c96d8f92a21c167f9c9f87e111247ed36 (diff)
downloaddldt-5ac3ce267e50d1d2ad5973f68008d83782682913.tar.gz
dldt-5ac3ce267e50d1d2ad5973f68008d83782682913.tar.bz2
dldt-5ac3ce267e50d1d2ad5973f68008d83782682913.zip
[PkgConfig] Rename libinference-engine.pc to openvino.pc
This patch renames the file name of the libinference-engine.pc to openvino.pc. Change-Id: Ibabcaf2d0a759d4202d4a9c379925fbaeab080b8 Signed-off-by: Wook Song <wook16.song@samsung.com>
-rwxr-xr-xdebian/rules12
-rw-r--r--packaging/openvino.pc.in (renamed from packaging/libinference-engine.pc.in)2
-rw-r--r--packaging/openvino.spec14
3 files changed, 14 insertions, 14 deletions
diff --git a/debian/rules b/debian/rules
index 83901c2d9..0a1ccd93c 100755
--- a/debian/rules
+++ b/debian/rules
@@ -72,12 +72,12 @@ override_dh_auto_install:
find $(SRC_ROOT)/inference-engine/bin -name "plugins.xml" -exec install -m 644 {} $(SRC_ROOT)/debian/tmp$(PREFIX)/$(LIBDIR) \;
cp -r $(SRC_ROOT)/inference-engine/include/* $(SRC_ROOT)/debian/tmp$(PREFIX)/$(INCDIR)
find $(SRC_ROOT)/inference-engine/bin -name "*.a" -exec install -m 644 {} $(SRC_ROOT)/debian/tmp$(PREFIX)/$(LIBDIR) \;
- cp -f $(SRC_ROOT)/packaging/libinference-engine.pc.in debian/tmp$(PREFIX)/$(LIBDIR)/pkgconfig
- sed -i 's|@VERSION@|$(VERSION)|g' debian/tmp$(PREFIX)/$(LIBDIR)/pkgconfig/libinference-engine.pc.in
- sed -i 's|@PREFIX@|$(PREFIX)|g' debian/tmp$(PREFIX)/$(LIBDIR)/pkgconfig/libinference-engine.pc.in
- sed -i 's|@LIB_INSTALL_DIR@|$(PREFIX)/$(LIBDIR)|g' debian/tmp$(PREFIX)/$(LIBDIR)/pkgconfig/libinference-engine.pc.in
- sed -i 's|@INCLUDE_INSTALL_DIR@|$(PREFIX)/$(INCDIR)|g' debian/tmp$(PREFIX)/$(LIBDIR)/pkgconfig/libinference-engine.pc.in
- mv debian/tmp$(PREFIX)/$(LIBDIR)/pkgconfig/libinference-engine.pc.in debian/tmp$(PREFIX)/$(LIBDIR)/pkgconfig/libinference-engine.pc
+ cp -f $(SRC_ROOT)/packaging/openvino.pc.in debian/tmp$(PREFIX)/$(LIBDIR)/pkgconfig
+ sed -i 's|@VERSION@|$(VERSION)|g' debian/tmp$(PREFIX)/$(LIBDIR)/pkgconfig/openvino.pc.in
+ sed -i 's|@PREFIX@|$(PREFIX)|g' debian/tmp$(PREFIX)/$(LIBDIR)/pkgconfig/openvino.pc.in
+ sed -i 's|@LIB_INSTALL_DIR@|$(PREFIX)/$(LIBDIR)|g' debian/tmp$(PREFIX)/$(LIBDIR)/pkgconfig/openvino.pc.in
+ sed -i 's|@INCLUDE_INSTALL_DIR@|$(PREFIX)/$(INCDIR)|g' debian/tmp$(PREFIX)/$(LIBDIR)/pkgconfig/openvino.pc.in
+ mv debian/tmp$(PREFIX)/$(LIBDIR)/pkgconfig/openvino.pc.in debian/tmp$(PREFIX)/$(LIBDIR)/pkgconfig/openvino.pc
ifneq ($(filter $(DEB_HOST_ARCH),amd64),)
cp -r $(SRC_ROOT)/inference-engine/src/extension/ext_list.hpp $(SRC_ROOT)/debian/tmp$(PREFIX)/$(INCDIR)
endif
diff --git a/packaging/libinference-engine.pc.in b/packaging/openvino.pc.in
index 8a4b71d27..cf3dae39a 100644
--- a/packaging/libinference-engine.pc.in
+++ b/packaging/openvino.pc.in
@@ -2,7 +2,7 @@ prefix=@PREFIX@
libdir=@LIB_INSTALL_DIR@
includedir=@INCLUDE_INSTALL_DIR@
-Name: libinference-engine
+Name: OpenVino
Description: OpenVINO™ Toolkit Development package
Version: @VERSION@
Requires:
diff --git a/packaging/openvino.spec b/packaging/openvino.spec
index 033af3ec7..a3a340c55 100644
--- a/packaging/openvino.spec
+++ b/packaging/openvino.spec
@@ -55,7 +55,7 @@ Source0: %{name}-%{version}.tar.gz
Source1: %{name}.manifest
Source1001: %{external_ade_archive}.tar.gz
Source1002: %{external_ngraph_archive}.tar.gz
-Source1003: libinference-engine.pc.in
+Source1003: openvino.pc.in
Patch0: 0001-CMake-Do-not-call-get_linux_name-when-LINUX_OS_NAME-.patch
Patch1: 0002-CMake-Add-a-variable-to-resolve-dependency-on-TBB-us.patch
BuildRequires: cmake
@@ -129,15 +129,15 @@ pushd build
%{__make} %{?_smp_mflags}
popd
popd
-sed -i 's|@VERSION@|%{version}|g' libinference-engine.pc.in
-sed -i 's|@PREFIX@|%{_prefix}|g' libinference-engine.pc.in
-sed -i 's|@LIB_INSTALL_DIR@|%{_libdir}|g' libinference-engine.pc.in
-sed -i 's|@INCLUDE_INSTALL_DIR@|%{_includedir}|g' libinference-engine.pc.in
+sed -i 's|@VERSION@|%{version}|g' openvino.pc.in
+sed -i 's|@PREFIX@|%{_prefix}|g' openvino.pc.in
+sed -i 's|@LIB_INSTALL_DIR@|%{_libdir}|g' openvino.pc.in
+sed -i 's|@INCLUDE_INSTALL_DIR@|%{_includedir}|g' openvino.pc.in
%install
mkdir -p %{buildroot}%{_libdir}
mkdir -p %{buildroot}%{_libdir}/pkgconfig
-cp libinference-engine.pc.in %{buildroot}%{_libdir}/pkgconfig/libinference-engine.pc
+cp openvino.pc.in %{buildroot}%{_libdir}/pkgconfig/openvino.pc
pushd inference-engine/bin/%{install_arch}/Release
install -m 644 lib/*.so %{buildroot}%{_libdir}
@@ -186,5 +186,5 @@ popd
%manifest %{name}.manifest
%license LICENSE
%{_libdir}/*.a
-%{_libdir}/pkgconfig/libinference-engine.pc
+%{_libdir}/pkgconfig/openvino.pc
%{_includedir}/*