Name: aetheros-gnome-extensions Version: 1.0 Release: 6%{?dist} Summary: Essential system extensions (Dash to Panel, ArcMenu) for AetherOS GNOME. License: GPLv2+ and MIT BuildArch: noarch Requires: gnome-shell >= 48.0 BuildRequires: unzip BuildRequires: glib2-devel Source0: dash-to-panel.zip Source1: arcmenu.zip %description This package provides essential GNOME Shell extensions (Dash to Panel, ArcMenu) pre-installed system-wide for the AetherOS GNOME desktop environment. %prep # NOTE: unzip extracts files into the current working directory (%{_builddir}/%{name}-%{version}) # We rely on the folders dash-to-panel@... and arcmenu@... being inside the ZIP. %setup -q -n %{name}-%{version} # Unzip the extensions into the BUILD directory # The %prep scriptlet has already been executed, so we are inside the top build directory. unzip -o %{SOURCE0} -d . unzip -o %{SOURCE1} -d . %install # Define the system-wide extension and schema paths EXT_DIR=%{buildroot}/usr/share/gnome-shell/extensions SCHEMA_DIR=%{buildroot}/usr/share/glib-2.0/schemas # 1. CREATE ALL MANDATORY DIRECTORIES install -d %{EXT_DIR} install -d %{SCHEMA_DIR} # 2. INSTALL EXTENSIONS (Copy the UUID folders from the current directory) cp -r dash-to-panel@jderose9.github.com %{EXT_DIR}/ cp -r arcmenu@arcmenu.com %{EXT_DIR}/ # 3. INSTALL AND COMPILE SCHEMAS (CRITICAL STEP) # Copy the schema XML files to the schema directory cp dash-to-panel@jderose9.github.com/schemas/org.gnome.shell.extensions.dash-to-panel.gschema.xml %{SCHEMA_DIR}/ cp arcmenu@arcmenu.com/schemas/org.gnome.shell.extensions.arcmenu.gschema.xml %{SCHEMA_DIR}/ # Compile the schemas to make them available to GSettings /usr/bin/glib-compile-schemas %{SCHEMA_DIR} %files # 1. DECLARE DIRECTORY OWNERSHIP (Required for clean install/removal) %dir /usr/share/gnome-shell/extensions %dir /usr/share/glib-2.0/schemas # 2. LIST ALL EXTENSION FOLDERS /usr/share/gnome-shell/extensions/dash-to-panel@jderose9.github.com/ /usr/share/gnome-shell/extensions/arcmenu@arcmenu.com/ # 3. LIST SCHEMA FILES (Required for package manifest) /usr/share/glib-2.0/schemas/org.gnome.shell.extensions.dash-to-panel.gschema.xml /usr/share/glib-2.0/schemas/org.gnome.shell.extensions.arcmenu.gschema.xml %changelog * Wed Oct 15 2025 stanlysilas - 1.0-6 - Final structural fix: Ensured all directories and schema XML files are correctly declared and copied, resolving BUILDROOT manifest error. * Wed Oct 15 2025 stanlysilas - 1.0-5 - Final correction to %files to explicitly include schema XML files, resolving directory not found errors. * Wed Oct 15 2025 stanlysilas - 1.0-4 - Fixed an issue in files section. * Wed Oct 15 2025 stanlysilas - 1.0-3 - Fixed glib2-devel missing directory error. * Wed Oct 15 2025 stanlysilas - 1.0-2 - Fixed BuildRequires by adding glib2-devel dependency. * Wed Oct 15 2025 stanlysilas - 1.0-1 - Initial system package build for Dash to Panel and ArcMenu.