%global extid %{extname}@rastersoft.com %global extname ding %global extname_full desktop-icons-ng %global uuid org.gnome.shell.extensions.%{extname} Name: gnome-shell-extension-%{extname_full} Version: 17 Release: 1%{?dist}.inferit Summary: GNOME Shell extension (next gen) for providing desktop icons License: GPLv3+ URL: https://gitlab.com/rastersoft/desktop-icons-ng Source0: %{url}/-/archive/%{version}/desktop-icons-ng-%{version}.tar.xz Source1: russian.mo BuildArch: noarch #BuildRequires: gobject-introspection #BuildRequires: intltool #BuildRequires: meson Requires: gnome-shell Requires: nautilus Requires: xdg-desktop-portal-gtk %description This package provides a GNOME Shell extension for showing the contents of ~/Desktop on the desktop of the Shell. Common file management operations such as launching, copy/paste, rename and deleting are supported. You can use gnome-tweaks (additional package) or run in terminal: gnome-extensions enable %{extid} %prep %autosetup -n %{extname_full}-%{version} %build %install install -d -m 755 %{buildroot}%{_datadir}/gnome-shell/extensions/ install -d -m 755 %{buildroot}%{_datadir}/glib-2.0/schemas mv %{extid}/schemas/%{uuid}.gschema.xml %{buildroot}%{_datadir}/glib-2.0/schemas rm -rf %{extid}/schemas mv %{extid} %{buildroot}%{_datadir}/gnome-shell/extensions/ cp -vrf %{SOURCE1} %{buildroot}%{_datadir}/gnome-shell/extensions/%{extid}/locale/ru/LC_MESSAGES/%{extname}.mo %files %{_datadir}/glib-2.0/schemas/%{uuid}.gschema.xml %{_datadir}/gnome-shell/extensions/%{extid}/ %changelog * Tue Mar 12 2024 Sergey Cherevko - 17-1.inferit - Update Russian translation * Tue Feb 20 2024 Arkady L. Shane - 17-1 - Update to 17 * Tue Feb 20 2024 Arkady L. Shane - 0.4.0-1 - Initial build for MSVSphere 8.9