[packages/gnome-shell-extension-just-perfection] - new

baggins baggins at pld-linux.org
Tue Jun 24 23:11:12 CEST 2025


commit 2ae553724a9178406fe46557d99f6cf3a0b178ed
Author: Jan Rękorajski <baggins at pld-linux.org>
Date:   Wed Jun 25 01:10:54 2025 +0200

    - new

 gnome-shell-extension-just-perfection.spec | 64 ++++++++++++++++++++++++++++++
 1 file changed, 64 insertions(+)
---
diff --git a/gnome-shell-extension-just-perfection.spec b/gnome-shell-extension-just-perfection.spec
new file mode 100644
index 0000000..747b9b2
--- /dev/null
+++ b/gnome-shell-extension-just-perfection.spec
@@ -0,0 +1,64 @@
+Summary:	GNOME Shell extension to change behavior and disable UI elements
+Name:		gnome-shell-extension-just-perfection
+Version:	34.0
+Release:	1
+License:	GPL v3+
+Source0:	https://gitlab.gnome.org/jrahmatzadeh/just-perfection/-/archive/%{version}/just-perfection-%{version}.tar.gz
+# Source0-md5:	8027fe9f39b287c06372c835f6f92b99
+URL:		https://gitlab.gnome.org/jrahmatzadeh/just-perfection
+BuildRequires:	gettext
+BuildRequires:	glib2-devel
+BuildArch:	noarch
+
+%define		extuuid		just-perfection-desktop at just-perfection
+
+%description
+GNOME Shell extension to change behavior and disable UI elements.
+
+%prep
+%setup -q -n just-perfection-%{version}
+
+%build
+glib-compile-resources \
+	--sourcedir src/data \
+	src/data/resources.gresource.xml
+
+
+%install
+rm -rf $RPM_BUILD_ROOT
+install -d $RPM_BUILD_ROOT%{_datadir}/{gnome-shell/extensions/%{extuuid},glib-2.0/schemas}
+
+cd src
+# install main extension files
+cp -rp *.js stylesheet.css metadata.json lib data/resources.gresource \
+	$RPM_BUILD_ROOT%{_datadir}/gnome-shell/extensions/%{extuuid}
+cd ..
+
+# install the schema file
+cp -p src/schemas/org.gnome.shell.extensions.just-perfection.gschema.xml \
+	$RPM_BUILD_ROOT%{_datadir}/glib-2.0/schemas/
+
+# install locale files
+cd po
+for po in *.po; do
+    install -d $RPM_BUILD_ROOT%{_localedir}/${po%.po}/LC_MESSAGES
+    msgfmt -o $RPM_BUILD_ROOT%{_localedir}/${po%.po}/LC_MESSAGES/just-perfection.mo $po
+done
+cd ..
+
+%find_lang just-perfection
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%post
+%glib_compile_schemas
+
+%postun
+%glib_compile_schemas
+
+%files -f just-perfection.lang
+%defattr(644,root,root,755)
+%doc CHANGELOG.md README.md
+%{_datadir}/gnome-shell/extensions/%{extuuid}
+%{_datadir}/glib-2.0/schemas/org.gnome.shell.extensions.just-perfection.gschema.xml
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/gnome-shell-extension-just-perfection.git/commitdiff/2ae553724a9178406fe46557d99f6cf3a0b178ed



More information about the pld-cvs-commit mailing list