%global gittag v0.49.0 %global commit ba228cc52eeb8cc50c5b143d3cb1cafab78239bd %global shortcommit %(c=%{commit}; echo ${c:0:7}) Name: gnome-shell-extension-fluent-battery-indicators Version: 0.49.0 Release: 2%{?dist} Summary: A GNOME Shell extension that adds rich battery-status rows to the Quick Settings panel for connected peripheral devices, with a native look & feel. License: GPLv2+ URL: https://github.com/gerelef/fluent-battery-indicators Source0: https://github.com/gerelef/fluent-battery-indicators/archive/%{gittag}/fluent-battery-indicators-%{version}.tar.gz BuildArch: noarch Requires: upower >= 1.90 Requires: gnome-shell >= 49 Requires: gnome-shell < 50 %description This GNOME Shell extension adds a cool feature to GNOME Shell. %prep %autosetup -n fluent-battery-indicators-%{version} %build # No build step %install install -d %{buildroot}%{_datadir}/gnome-shell/extensions/fluent-battery-indicators@gerelef.github.io cp -a ./* %{buildroot}%{_datadir}/gnome-shell/extensions/fluent-battery-indicators@gerelef.github.io/ %files %license LICENSE %{_datadir}/gnome-shell/extensions/fluent-battery-indicators@gerelef.github.io/ %changelog * Mon Mar 30 2026 gerelef <44060598+gerelef@users.noreply.github.com> - 0.49.0-2 - corrected runtime dependencies * Mon Mar 30 2026 Gerasimos Eleftheriotis <44060598+gerelef@users.noreply.github.com> - 0.49.0-1 - Initial package