diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..afbe360 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +/xcape-6ded5b4.tar.gz diff --git a/dead.package b/dead.package deleted file mode 100644 index 5204a84..0000000 --- a/dead.package +++ /dev/null @@ -1 +0,0 @@ -Orphaned for 6+ weeks diff --git a/sources b/sources new file mode 100644 index 0000000..d8b3c08 --- /dev/null +++ b/sources @@ -0,0 +1 @@ +SHA512 (xcape-6ded5b4.tar.gz) = f4091082226531cd705899d58847d3652ae96d004d095338c30133b2119c2611ff93b4df6e657fde06d56459cd707d7d256bd794e49104862ec85cdc756b3a57 diff --git a/xcape.spec b/xcape.spec new file mode 100644 index 0000000..1fd1e88 --- /dev/null +++ b/xcape.spec @@ -0,0 +1,56 @@ +%global commit 6ded5b453b50642197044a170402664cbf6d2c96 +%global shortcommit %(c=%{commit}; echo ${c:0:7}) +%global snapinfo 20180106git%{shortcommit} + +Name: xcape +Version: 1.2 +Release: 3.%{snapinfo}%{?dist} +Summary: Use a modifier key as another key when pressed and released on its own + +License: GPLv3+ +URL: https://github.com/alols/%{name} +Source0: https://github.com/alols/%{name}/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. (If you don't understand why +anybody would want this, I'm guessing that Vim is not your favourite text +editor ;) + + +%prep +%autosetup -n %{name}-%{commit} + + +%build +%make_build CFLAGS="%{optflags}" + + +%install +%make_install MANDIR=/share/man/man1 + + +%files +%license LICENSE +%doc README.md +%{_bindir}/%{name} +%{_mandir}/man1/%{name}.1* + + +%changelog +* 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