%global srcname swaycaffeine Name: swaycaffeine Version: 0.0.5 Release: 1%{?dist} Summary: Easy access to Sway's idle inhibitors License: GPLv3+ URL: https://github.com/ludwigd/%{srcname} # Sources can be obtained by # git clone https://github.com/ludwigd/swaycaffeine # cd swaycaffeine # tito build --tgz Source0: %{name}-%{version}.tar.gz BuildArch: noarch Requires: python3 Requires: python3-i3ipc Requires: sway %description Script for managing idle inhibitors in Sway. %prep %autosetup %build # nothing to build %install mkdir -p %{buildroot}/%{_bindir} install -m 755 ./swaycaffeine %{buildroot}%{_bindir}/swaycaffeine %files %license LICENSE %{_bindir}/swaycaffeine %changelog * Sun Feb 18 2024 Damian Ludwig - fix: too may args for clear_all_inhibitors (ludwigd@fedoraproject.org) - fix: update README.org (ludwigd@fedoraproject.org) * Sat Feb 17 2024 Damian Ludwig - feat: simplify cmd-line interface (ludwigd@fedoraproject.org) - feat: improve window list, add --list option (ludwigd@fedoraproject.org) * Sun Oct 08 2023 Damian Ludwig 0.0.3-1 - added interactive mode (ludwigd@fedoraproject.org) * Fri Sep 01 2023 Damian Ludwig 0.0.2-1 - use idle_inhibitors/user to check for inhibitors * Mon Aug 28 2023 Damian Ludwig 0.0.1-1 - new package built with tito