## START: Set by rpmautospec ## (rpmautospec version 0.3.0) %define autorelease(e:s:pb:n) %{?-p:0.}%{lua: release_number = 2; base_release_number = tonumber(rpm.expand("%{?-b*}%{!?-b:1}")); print(release_number + base_release_number - 1); }%{?-e:.%{-e*}}%{?-s:.%{-s*}}%{!?-n:%{?dist}} ## END: Set by rpmautospec Name: xbanish Version: 1.8 Release: %autorelease Summary: Banish the mouse cursor when typing, show it again when the mouse moves License: BSD URL: https://github.com/jcs/xbanish Source0: %{url}/archive/v%{version}/%{name}-%{version}.tar.gz BuildRequires: gcc BuildRequires: make BuildRequires: libX11-devel BuildRequires: libXfixes-devel BuildRequires: libXi-devel BuildRequires: libXt-devel %description xbanish hides the mouse cursor when you start typing, and shows it again when the mouse cursor moves or a mouse button is pressed. This is similar to xterm's pointerMode setting, but xbanish works globally in the X11 session. %prep %autosetup %build %set_build_flags %make_build %install export PREFIX='%{_prefix}' export MANDIR='%{_mandir}/man1' export INSTALL_PROGRAM='install -p' %make_install %files %doc README.md %{_bindir}/xbanish %{_mandir}/man1/xbanish.1* %changelog * Sat Jul 23 2022 Fedora Release Engineering 1.8-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild * Sun Jul 10 2022 Davide Cavalca 1.8-1 - Update to 1.8; Fixes: RHBZ#2056151 * Sat Jan 22 2022 Fedora Release Engineering - 1.7-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild * Fri Jul 23 2021 Fedora Release Engineering - 1.7-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild * Wed Mar 17 2021 Davide Cavalca - 1.7-2 - Update build requires - Fix license - Preserve timestamps when installing * Sat Mar 13 2021 Davide Cavalca - 1.7-1 - Initial package