%global uuid hanabi-extension@jeffshee.github.io Name: gnome-shell-extension-hanabi Version: 0.0.git.372.6da7d209 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#6da7d209620745f5a904b716bf30b1e7f3b94b91: Source: gnome-ext-hanabi-6da7d209.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