From: SangYoun Kwak Date: Thu, 8 Jun 2023 05:16:27 +0000 (+0900) Subject: Add 'backend' to package and .so name X-Git-Tag: accepted/tizen/unified/20230608.164356^0 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=2493db18104dd87d1606b5b42ef4179e83d884ce;p=platform%2Fcore%2Fsystem%2Fplugin%2Fresourced-generic.git Add 'backend' to package and .so name It is required to add 'backend' keyword to this plugin backend package and .so name to distinguish this backend package since there are other packages whose start with 'system-plugin'. Change-Id: I91e8c531fd07391ea4d8b0207d2bfce2dc772967 Signed-off-by: SangYoun Kwak --- diff --git a/CMakeLists.txt b/CMakeLists.txt index 76f07ce..a42663e 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1,5 +1,5 @@ CMAKE_MINIMUM_REQUIRED(VERSION 2.6) -PROJECT(${PLUGIN_NAME} C) +PROJECT(${PLUGIN_BACKEND_NAME} C) SET(PREFIX ${CMAKE_INSTALL_PREFIX}) diff --git a/packaging/system-plugin-backend-resourced-generic.manifest b/packaging/system-plugin-backend-resourced-generic.manifest new file mode 100644 index 0000000..a76fdba --- /dev/null +++ b/packaging/system-plugin-backend-resourced-generic.manifest @@ -0,0 +1,5 @@ + + + + + diff --git a/packaging/system-plugin-resourced-generic.manifest b/packaging/system-plugin-resourced-generic.manifest deleted file mode 100644 index a76fdba..0000000 --- a/packaging/system-plugin-resourced-generic.manifest +++ /dev/null @@ -1,5 +0,0 @@ - - - - - diff --git a/packaging/system-plugin-resourced-generic.spec b/packaging/system-plugin-resourced-generic.spec index 8a93f8c..9c3806b 100644 --- a/packaging/system-plugin-resourced-generic.spec +++ b/packaging/system-plugin-resourced-generic.spec @@ -1,7 +1,7 @@ %define SYSTEM_PLUGIN_LIBDIR %{_libdir}/system/plugin -Name: system-plugin-resourced-generic -Summary: System plugin for resourced and generic profile +Name: system-plugin-backend-resourced-generic +Summary: System plugin backend for resourced and generic profile Version: 0.1.0 Release: 0 Group: System/Libraries @@ -18,14 +18,14 @@ BuildRequires: pkgconfig(libsyscommon) BuildRequires: pkgconfig(libsyscommon-plugin-api-resourced) %description -System plugin for resourced and generic profile +System plugin backend for resourced and generic profile %prep %setup -q cp %{SOURCE1} . %build -%cmake . -DPLUGIN_NAME=%{name} \ +%cmake . -DPLUGIN_BACKEND_NAME=%{name} \ -DPLUGIN_LIB_DIR=%{SYSTEM_PLUGIN_LIBDIR} \ -DPLUGIN_RESOURCED_MEMORY_LMK_ENABLE_DLOG=1 @@ -44,4 +44,4 @@ make %{?jobs:-j%jobs} %defattr(-,root,root,-) %manifest %{name}.manifest %license LICENSE.Apache-2.0 -%{SYSTEM_PLUGIN_LIBDIR}/libplugin-resourced-memory-lmk.so +%{SYSTEM_PLUGIN_LIBDIR}/libplugin-backend-resourced-memory-lmk.so diff --git a/src/resourced-memory-lmk/CMakeLists.txt b/src/resourced-memory-lmk/CMakeLists.txt index ef7722c..4ef6316 100644 --- a/src/resourced-memory-lmk/CMakeLists.txt +++ b/src/resourced-memory-lmk/CMakeLists.txt @@ -1,5 +1,5 @@ CMAKE_MINIMUM_REQUIRED(VERSION 2.6) -PROJECT(plugin-resourced-memory-lmk C) +PROJECT(plugin-backend-resourced-memory-lmk C) SET(PREFIX ${CMAKE_INSTALL_PREFIX})