Name: xkblayout-state Version: 0 Release: 1%{?dist} Summary: A small command-line program to get/set the current keyboard layout. License: GPL3 URL: https://github.com/nonpop/xkblayout-state Source0: https://github.com/nonpop/xkblayout-state/archive/refs/heads/master.zip BuildRequires: gcc-c++ libX11-devel #Requires: %description xkblayout-state is a small command-line program to get/set the current XKB keyboard layout. It's a thin wrapper around a slightly version of Jay Bromley's XKeyboard class, the original of which is included in http://members.dslextreme.com/users/jbromley/files/ruby-xkb.tar.bz2. %prep unzip ../SOURCES/master.zip %build cd %{name}-master make PREFIX=$BUILDROOT/usr %install cd %{name}-master make PREFIX=$RPM_BUILD_ROOT/usr install %files %{_bindir}/%{name} %changelog * Sat Feb 27 2022 linuxredneck linux.redneck@disroot.org- 0-1 - Initial build.