%global extid %{extname_full}@alexsaveau.dev %global extname_full clipboard-history %global commit c274be6bd2f5fdafe5832bc87607625811cdfcee %global commit_short c274be6 %global commit_date 20250309 Name: gnome-shell-extension-%{extname_full} Version: 46 Release: 2.%{?commit_date}git%{?commit_short}%{?dist} Summary: A clipboard manager GNOME extension License: MIT URL: https://github.com/SUPERCILEX/gnome-clipboard-history Source0: gnome-%{extname_full}-%{version}.tar.xz BuildArch: noarch BuildRequires: /usr/bin/glib-compile-schemas BuildRequires: gettext Requires: gnome-shell %description Gnome Clipboard History is a clipboard manager GNOME extension that saves what you've copied into an easily accessible, searchable history panel. The extension is a rewrite of Clipboard Indicator with vastly improved performance, new features, and bug fixes. %prep %autosetup -p1 -n gnome-%{extname_full}-%{version} %make_build %build %install %make_install install -d %{buildroot}%{_datadir}/gnome-shell/extensions/%{extid} cp -r metadata.json \ extension.js \ store.js \ dataStructures.js \ confirmDialog.js \ prefs.js \ settingsFields.js \ stylesheet.css \ LICENSE \ README.md \ schemas/ \ locale \ %{buildroot}%{_datadir}/gnome-shell/extensions/%{extid} find %{buildroot}%{_datadir}/gnome-shell/extensions/%{extid} -name '*.po' -delete %files %license LICENSE %doc README.md %{_datadir}/gnome-shell/extensions/%{extid}/ %changelog * Fri Jun 20 2025 Arkady L. Shane - 46-2.20250309gitc274be6 - Fix installation * Fri Jun 20 2025 Arkady L. Shane - 46-1.20250309gitc274be6 - Initial build for MSVSphere 10