From: SangYoun Kwak Date: Thu, 13 Apr 2023 01:25:35 +0000 (+0900) Subject: Rename .spec and package name X-Git-Tag: accepted/tizen/unified/20230607.160238~2 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=4d5d01e19e3413803ce2383dd4032b83129ef6cb;p=platform%2Fcore%2Fsystem%2Fplugin%2Fresourced-generic.git Rename .spec and package name resourced-generic -> system-plugin-resourced-generic Also modified the summary and the description of this package according to the package name. Signed-off-by: SangYoun Kwak --- diff --git a/packaging/resourced-generic.manifest b/packaging/resourced-generic.manifest deleted file mode 100644 index a76fdba..0000000 --- a/packaging/resourced-generic.manifest +++ /dev/null @@ -1,5 +0,0 @@ - - - - - diff --git a/packaging/resourced-generic.spec b/packaging/resourced-generic.spec deleted file mode 100644 index 99ed640..0000000 --- a/packaging/resourced-generic.spec +++ /dev/null @@ -1,47 +0,0 @@ -%define PLUGIN_LIBDIR %{_libdir}/system/plugin - -Name: resourced-generic -Summary: Resourced plugin backend for generic profile -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 generic profile - -%prep -%setup -q -cp %{SOURCE1} . - -%build -%cmake . -DPLUGIN_NAME=%{name} \ - -DPLUGIN_LIB_DIR=%{PLUGIN_LIBDIR} \ - -DPLUGIN_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-resourced-memory-lmk.so diff --git a/packaging/system-plugin-resourced-generic.manifest b/packaging/system-plugin-resourced-generic.manifest new file mode 100644 index 0000000..a76fdba --- /dev/null +++ b/packaging/system-plugin-resourced-generic.manifest @@ -0,0 +1,5 @@ + + + + + diff --git a/packaging/system-plugin-resourced-generic.spec b/packaging/system-plugin-resourced-generic.spec new file mode 100644 index 0000000..a236ef5 --- /dev/null +++ b/packaging/system-plugin-resourced-generic.spec @@ -0,0 +1,47 @@ +%define PLUGIN_LIBDIR %{_libdir}/system/plugin + +Name: system-plugin-resourced-generic +Summary: System plugin for resourced and generic profile +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 +System plugin for resourced and generic profile + +%prep +%setup -q +cp %{SOURCE1} . + +%build +%cmake . -DPLUGIN_NAME=%{name} \ + -DPLUGIN_LIB_DIR=%{PLUGIN_LIBDIR} \ + -DPLUGIN_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-resourced-memory-lmk.so