Sisyphus repository
Last update: 1 october 2023 | SRPMs: 18631 | Visits: 37535346
en ru br
ALT Linux repos
S:1.8.5-alt2

Group :: Graphical desktop/Other
RPM: xkb-switch

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs and FR  Repocop 

Summary:        Change keyboard layout from console
Name:           xkb-switch
Version:        1.4.0
Release:        alt1.git.d7c1856a
URL:            https://github.com/ierton/xkb-switch
Packager: Valentin Rosavitskiy <valintinr at altlinux.org>
License: GPL v2+
Group: Graphical desktop/Other

Source: %name-%version.tar
BuildPreReq: cmake rpm-macros-cmake gcc-c++ libX11-devel libxkbfile-devel


%description
xkb-switch is a C++ program that allows to query and change the XKB
layout state. Originally ruby-based code written by J.Broomley.

%prep
%setup -q

%build
#quick fix for libdir
sed -i 's/LIBRARY DESTINATION lib OPTIONAL/LIBRARY DESTINATION %_lib OPTIONAL/' CMakeLists.txt

cmake . -DCMAKE_INSTALL_PREFIX:PATH=%_usr -DINSTALL_LIBDIR=:PATH=%_libdir .


%install
%makeinstall_std PREFIX=/usr

%files
%_bindir/%name
%_libdir/libxkbswitch.so

%changelog

Full changelog you can see here

 
design & coding: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
current maintainer: Michael Shigorin