[packages/gnome-shell-extension-system-monitor-next-applet] - new
baggins
baggins at pld-linux.org
Mon Jun 23 23:13:35 CEST 2025
commit 3af9df7a11b8cddaa3ce5866a91fd032510639cd
Author: Jan Rękorajski <baggins at pld-linux.org>
Date: Tue Jun 24 01:13:19 2025 +0200
- new
...shell-extension-system-monitor-next-applet.spec | 61 ++++++++++++++++++++++
no-schema-rebuild.patch | 10 ++++
2 files changed, 71 insertions(+)
---
diff --git a/gnome-shell-extension-system-monitor-next-applet.spec b/gnome-shell-extension-system-monitor-next-applet.spec
new file mode 100644
index 0000000..3311d0a
--- /dev/null
+++ b/gnome-shell-extension-system-monitor-next-applet.spec
@@ -0,0 +1,61 @@
+Summary: GNOME Shell System Monitor NEXT Extension
+Name: gnome-shell-extension-system-monitor-next-applet
+Version: 3.27
+Release: 1
+# The entire source code is GPLv3+ except convenience.js, which is BSD
+License: GPL-3.0-or-later AND BSD-3-Clause
+Source0: https://github.com/mgalgs/gnome-shell-system-monitor-next-applet/archive/v%{version}/%{name}-%{version}.tar.gz
+# Source0-md5: 5dc0c451ec79403925eab992f8fb8ec3
+Patch0: no-schema-rebuild.patch
+URL: https://github.com/mgalgs/gnome-shell-system-monitor-next-applet
+BuildRequires: gettext
+BuildArch: noarch
+
+%define extuuid system-monitor-next at paradoxxx.zero.gmail.com
+
+%description
+Display system information in gnome shell status bar, such as memory
+usage, CPU usage, and network rate...
+
+%prep
+%setup -q -n gnome-shell-system-monitor-next-applet-%{version}
+%patch -P0 -p1
+
+%build
+%{__make} BUILD_FOR_RPM=1
+
+%install
+rm -rf $RPM_BUILD_ROOT
+install -d $RPM_BUILD_ROOT%{_datadir}/glib-2.0/schemas
+
+%{__make} install \
+ DESTDIR=$RPM_BUILD_ROOT \
+ VERSION=%{version} \
+ BUILD_FOR_RPM=1
+
+# Install schema.
+%{__rm} -r $RPM_BUILD_ROOT%{_datadir}/gnome-shell/extensions/%{extuuid}/schemas
+%{__cp} -p %{extuuid}/schemas/org.gnome.shell.extensions.system-monitor-next-applet.gschema.xml \
+ $RPM_BUILD_ROOT%{_datadir}/glib-2.0/schemas
+
+# Install locale
+%{__mv} $RPM_BUILD_ROOT%{_datadir}{/gnome-shell/extensions/%{extuuid},}/locale
+
+%{__rm} $RPM_BUILD_ROOT%{_datadir}/gnome-shell/extensions/%{extuuid}/README
+
+%find_lang %{name} --all-name
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%post
+%glib_compile_schemas
+
+%postun
+%glib_compile_schemas
+
+%files -f %{name}.lang
+%defattr(644,root,root,755)
+%doc README.md COPYING
+%{_datadir}/gnome-shell/extensions/%{extuuid}
+%{_datadir}/glib-2.0/schemas/*gschema.xml
diff --git a/no-schema-rebuild.patch b/no-schema-rebuild.patch
new file mode 100644
index 0000000..f75acd6
--- /dev/null
+++ b/no-schema-rebuild.patch
@@ -0,0 +1,10 @@
+--- gnome-shell-system-monitor-next-applet-3.27/Makefile~ 2025-03-19 21:22:01.000000000 +0100
++++ gnome-shell-system-monitor-next-applet-3.27/Makefile 2025-06-24 00:45:39.639998207 +0200
+@@ -156,7 +156,6 @@
+ $(Q)cp $(VV) -r $(UUID)/locale/* _build/locale/
+ $(Q)mkdir -p _build/schemas
+ $(Q)cp $(VV) $(UUID)/schemas/*.xml _build/schemas/
+- $(Q)cp $(VV) $(UUID)/schemas/gschemas.compiled _build/schemas/
+ $(Q)sed -i 's/"version": -1/"version": "$(VERSION)"/' _build/metadata.json;
+ $(call msg,$@,OK)
+
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/gnome-shell-extension-system-monitor-next-applet.git/commitdiff/3af9df7a11b8cddaa3ce5866a91fd032510639cd
More information about the pld-cvs-commit
mailing list