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