CMAKE_MINIMUM_REQUIRED(VERSION 2.6)
-PROJECT(${PLUGIN_NAME} C)
+PROJECT(${PLUGIN_BACKEND_NAME} C)
SET(PREFIX ${CMAKE_INSTALL_PREFIX})
%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
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
%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
CMAKE_MINIMUM_REQUIRED(VERSION 2.6)
-PROJECT(plugin-resourced-memory-lmk C)
+PROJECT(plugin-backend-resourced-memory-lmk C)
SET(PREFIX ${CMAKE_INSTALL_PREFIX})