%global commit a34d6bae27bbd55506852f5ed3c27045a3c0bd9e %global shortcommit %(c=%{commit}; echo ${c:0:7}) %global snapinfo 20180301git%{shortcommit} Name: xcape Version: 1.2 Release: 7.%{snapinfo}%{?dist} Summary: Configure modifier keys to act as other keys when pressed and released License: GPLv3+ URL: https://github.com/alols/%{name} Source0: %{url}/archive/%{commit}/%{name}-%{shortcommit}.tar.gz BuildRequires: gcc BuildRequires: pkgconfig(x11) BuildRequires: pkgconfig(xproto) BuildRequires: pkgconfig(xtst) %description %{name} allows you to use a modifier key as another key when pressed and released on its own. Note that it is slightly slower than pressing the original key, because the pressed event does not occur until the key is released. The default behaviour is to generate the Escape key when Left Control is pressed and released on its own. %prep %autosetup -n %{name}-%{commit} %build %make_build CFLAGS="%{optflags}" %install %make_install MANDIR=/share/man/man1 %files %doc README.md %license LICENSE %{_bindir}/%{name} %{_mandir}/man1/%{name}.1* %changelog * Wed Jul 27 2022 Jashank Jeremy - 1.2-7.20180301gita34d6ba - Bump for Fedora 37 mass rebuild. * Tue Apr 19 2022 Jashank Jeremy - 1.2-6.20180301gita34d6b - Revive package; update; fix up build-requires, summary, description. * Sat Jul 27 2019 Fedora Release Engineering - 1.2-5.20180106git6ded5b4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild * Sun Feb 03 2019 Fedora Release Engineering - 1.2-4.20180106git6ded5b4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild * Sat Jul 14 2018 Fedora Release Engineering - 1.2-3.20180106git6ded5b4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild * Fri Feb 09 2018 Fedora Release Engineering - 1.2-2.20180106git6ded5b4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild * Sat Jan 06 2018 Filip SzymaƄski - 1.2-1.20180106git6ded5b4 - Initial release * Tue Jan 03 2017 Dawid Zych - 1.2-1 - Initial packaging.