File gnome-shell-extension-ddterm.spec of Package gnome-shell-extension-ddterm
%global extid ddterm@amezin.github.com
%global extname_full ddterm
Name: gnome-shell-extension-%{extname_full}
Version: 62.0.2
Release: 1%{?dist}
Summary: Another Drop Down Terminal Extension
License: GPL-3.0-only
URL: https://github.com/ddterm/gnome-shell-extension-ddterm
Source0: %{url}/releases/download/v%{version}/ddterm@amezin.github.com.shell-extension.zip
Source1: com.github.amezin.ddterm.gschema.override
BuildArch: noarch
BuildRequires: glib2-tools
BuildRequires: unzip
Requires: gnome-shell
%description
Another drop down terminal extension for GNOME Shell. With tabs.
Works on Wayland
%prep
%build
%check
%install
mkdir -p %{buildroot}%{_datadir}/gnome-shell/extensions/%{extid}
unzip %{SOURCE0} -d %{buildroot}%{_datadir}/gnome-shell/extensions/%{extid}
mkdir -p %{buildroot}%{_datadir}/glib-2.0/schemas
mv %{buildroot}%{_datadir}/gnome-shell/extensions/%{extid}/schemas/com.github.amezin.ddterm.gschema.xml \
%{buildroot}%{_datadir}/glib-2.0/schemas/
install -m644 %{SOURCE1} %{buildroot}%{_datadir}/glib-2.0/schemas/
rm -rf %{buildroot}%{_datadir}/gnome-shell/extensions/%{extid}/schemas/
%files
%dir %{_datadir}/gnome-shell/extensions/
%dir %{_datadir}/gnome-shell
%{_datadir}/gnome-shell/extensions/%{extid}/
%{_datadir}/glib-2.0/schemas/*
%changelog
* Sun Dec 28 2025 Arkady L. Shane <ashejn@gmail.com> - 62.0.2-1
- Initial build