From: SangYoun Kwak Date: Tue, 11 Apr 2023 09:40:16 +0000 (+0900) Subject: Rename the .spec/.manifest files X-Git-Tag: accepted/tizen/unified/20230607.160238~4 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=36e12c023f6f3535aef3edf0eb377fcd76268862;p=platform%2Fcore%2Fsystem%2Fplugin%2Fresourced-generic.git Rename the .spec/.manifest files Since the repository name has been changed from plugin-backend-resourced-rpi to resourced-generic, the .spec and .manifest files should be renamed to their corresponding names. Signed-off-by: SangYoun Kwak --- diff --git a/packaging/plugin-backend-resourced-rpi.manifest b/packaging/plugin-backend-resourced-rpi.manifest deleted file mode 100644 index a76fdba..0000000 --- a/packaging/plugin-backend-resourced-rpi.manifest +++ /dev/null @@ -1,5 +0,0 @@ - - - - - diff --git a/packaging/plugin-backend-resourced-rpi.spec b/packaging/plugin-backend-resourced-rpi.spec deleted file mode 100644 index 84b2c7e..0000000 --- a/packaging/plugin-backend-resourced-rpi.spec +++ /dev/null @@ -1,47 +0,0 @@ -%define PLUGIN_LIBDIR %{_libdir}/plugin - -Name: plugin-backend-resourced-rpi -Summary: Resourced plugin backend for rpi targets -Version: 0.1.0 -Release: 0 -Group: System/Libraries -License: Apache-2.0 -Source0: %{name}-%{version}.tar.gz -Source1: %{name}.manifest - -Requires(post): /sbin/ldconfig -Requires(postun): /sbin/ldconfig - -BuildRequires: cmake -BuildRequires: pkgconfig(glib-2.0) -BuildRequires: pkgconfig(libsyscommon) -BuildRequires: pkgconfig(plugin-api-resourced) - -%description -Resourced plugin backend for rpi targets - -%prep -%setup -q -cp %{SOURCE1} . - -%build -%cmake . -DPLUGIN_NAME=%{name} \ - -DPLUGIN_LIB_DIR=%{PLUGIN_LIBDIR} \ - -DPLUGIN_BACKEND_RESOURCED_MEMORY_LMK_ENABLE_DLOG=1 - -make %{?jobs:-j%jobs} - -%install -%make_install - -%post -/sbin/ldconfig - -%postun -/sbin/ldconfig - -%files -%defattr(-,root,root,-) -%manifest %{name}.manifest -%license LICENSE.Apache-2.0 -%{PLUGIN_LIBDIR}/libplugin-backend-resourced-memory-lmk.so diff --git a/packaging/resourced-generic.manifest b/packaging/resourced-generic.manifest new file mode 100644 index 0000000..a76fdba --- /dev/null +++ b/packaging/resourced-generic.manifest @@ -0,0 +1,5 @@ + + + + + diff --git a/packaging/resourced-generic.spec b/packaging/resourced-generic.spec new file mode 100644 index 0000000..5d86c2f --- /dev/null +++ b/packaging/resourced-generic.spec @@ -0,0 +1,47 @@ +%define PLUGIN_LIBDIR %{_libdir}/plugin + +Name: resourced-generic +Summary: Resourced plugin backend for rpi targets +Version: 0.1.0 +Release: 0 +Group: System/Libraries +License: Apache-2.0 +Source0: %{name}-%{version}.tar.gz +Source1: %{name}.manifest + +Requires(post): /sbin/ldconfig +Requires(postun): /sbin/ldconfig + +BuildRequires: cmake +BuildRequires: pkgconfig(glib-2.0) +BuildRequires: pkgconfig(libsyscommon) +BuildRequires: pkgconfig(plugin-api-resourced) + +%description +Resourced plugin backend for rpi targets + +%prep +%setup -q +cp %{SOURCE1} . + +%build +%cmake . -DPLUGIN_NAME=%{name} \ + -DPLUGIN_LIB_DIR=%{PLUGIN_LIBDIR} \ + -DPLUGIN_BACKEND_RESOURCED_MEMORY_LMK_ENABLE_DLOG=1 + +make %{?jobs:-j%jobs} + +%install +%make_install + +%post +/sbin/ldconfig + +%postun +/sbin/ldconfig + +%files +%defattr(-,root,root,-) +%manifest %{name}.manifest +%license LICENSE.Apache-2.0 +%{PLUGIN_LIBDIR}/libplugin-backend-resourced-memory-lmk.so