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