Rename .spec and package name
authorSangYoun Kwak <sy.kwak@samsung.com>
Thu, 13 Apr 2023 01:25:35 +0000 (10:25 +0900)
committerSangYoun Kwak <sy.kwak@samsung.com>
Fri, 21 Apr 2023 08:17:42 +0000 (17:17 +0900)
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 <sy.kwak@samsung.com>
packaging/resourced-generic.manifest [deleted file]
packaging/resourced-generic.spec [deleted file]
packaging/system-plugin-resourced-generic.manifest [new file with mode: 0644]
packaging/system-plugin-resourced-generic.spec [new file with mode: 0644]

diff --git a/packaging/resourced-generic.manifest b/packaging/resourced-generic.manifest
deleted file mode 100644 (file)
index a76fdba..0000000
+++ /dev/null
@@ -1,5 +0,0 @@
-<manifest>
-       <request>
-               <domain name="_" />
-       </request>
-</manifest>
diff --git a/packaging/resourced-generic.spec b/packaging/resourced-generic.spec
deleted file mode 100644 (file)
index 99ed640..0000000
+++ /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 (file)
index 0000000..a76fdba
--- /dev/null
@@ -0,0 +1,5 @@
+<manifest>
+       <request>
+               <domain name="_" />
+       </request>
+</manifest>
diff --git a/packaging/system-plugin-resourced-generic.spec b/packaging/system-plugin-resourced-generic.spec
new file mode 100644 (file)
index 0000000..a236ef5
--- /dev/null
@@ -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