%define debug_package %{nil} Name: xcape Version: 1.2 Release: 1%{?dist} Summary: Linux utility to configure keyboard keys behaviour URL: https://github.com/alols/xcape License: GPLv3+ Source0: https://github.com/alols/xcape/archive/v%{version}.tar.gz BuildRequires: libX11-devel BuildRequires: libXtst-devel BuildRequires: libXi-devel %description xcape 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. (If you don't understand why anybody would want this, I'm guessing that Vim is not your favourite text editor ;) %prep %autosetup %build %make_build %install %make_install MANDIR=/share/man/man1 %files %license LICENSE %doc README.md %{_bindir}/%{name} %{_mandir}/man1/* %changelog * Tue Jan 03 2017 Dawid Zych - 1.2-1 - Initial packaging.