%global uuid hanabi-extension@jeffshee.github.io Name: gnome-shell-extension-hanabi Version: 0.0.git.359.67f2469c 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#67f2469cda716066be87b1b43dd3054f2032a906: Source: gnome-ext-hanabi-67f2469c.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