%global uuid hanabi-extension@jeffshee.github.io Name: gnome-shell-extension-hanabi Version: 0.0.git.374.7d8a4344 Release: 1%{?dist} Summary: Live Wallpaper for GNOME Group: User Interface/Desktops License: GPLv3 URL: https://github.com/KyleGospo/gnome-ext-hanabi/ VCS: git+https://github.com/KyleGospo/gnome-ext-hanabi.git#7d8a4344c81d428b34bd3d314827144fcf920f02: Source: gnome-ext-hanabi-7d8a4344.tar.gz BuildArch: noarch Requires: gnome-shell >= 3.12 Requires: clapper BuildRequires: glib2 %description Live Wallpaper for GNOME %prep %setup -T -b 0 -q -n gnome-ext-hanabi rm src/meson.build %build glib-compile-schemas src/schemas mv src/metadata.json.in src/metadata.json sed -i 's@\@settings_schema\@@io.github.jeffshee.hanabi-extension@g' src/metadata.json sed -i 's@\@uuid\@@hanabi-extension\@jeffshee.github.io@g' src/metadata.json sed -i 's@\@version\@@1.0@g' src/metadata.json %install mkdir -p %{buildroot}%{_datadir}/gnome-shell/extensions/%{uuid} cp -r src/* %{buildroot}%{_datadir}/gnome-shell/extensions/%{uuid}/ %files %license LICENSE %{_datadir}/gnome-shell/extensions/%{uuid}/ %changelog