Группа :: Графические оболочки/Прочее
Пакет: xkb-switch
Главная Изменения Спек Патчи Sources Загрузить 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
…
Полный changelog можно просмотреть здесь
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
…
Полный changelog можно просмотреть здесь