Name: xcape Version: 1.1 Release: 1%{?dist} Summary: Use a modifier key as a different key when quickly pressed and released License: GPLv3 URL: https://github.com/alols/xcape Source0: https://github.com/alols/xcape/archive/v%{version}.tar.gz#/%{name}-%{version}.tar.gz BuildRequires: libXtst-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 behavior is to generate the Escape key when Left Control is pressed and released on its own. %prep %setup -q -n %{name}-%{version} sed -i "s/\/local\//\/share\//g" Makefile %build make %{?_smp_mflags} %install make install DESTDIR=%{buildroot} %files %{_bindir}/xcape %{_mandir}/man1/%{name}.1* %changelog * Fri Dec 25 2015 Dhiru Kholia - 1.1-1 - Initial RPM package (based on .spec released by Matt Robinson)