Commit b1b06fc8 authored by Alexander Larsson's avatar Alexander Larsson
Browse files

Add xkeyboard-config

parent 4b3708a5
......@@ -35,7 +35,7 @@ PACKAGES = \
libXau xcb-proto libxcb libXdmcp xorg-x11-xtrans-devel libX11 libXrender \
libXfixes libXext libXft libXi libXinerama libICE libSM libXpm libXrandr libXtst libXt \
libXv libXvMC libXxf86vm libXdamage libXcursor libXcomposite libxkbfile libxshmfence \
libxkbcommon \
xkeyboard-config libxkbcommon \
dbus cairo dbus-glib \
libpciaccess libdrm mesa libepoxy wayland \
pulseaudio \
......@@ -37,6 +37,7 @@ BuildRequires: pulseaudio-libs-devel
BuildRequires: dconf-devel
BuildRequires: libsecret-devel
BuildRequires: webkitgtk4-devel
BuildRequires: xkeyboard-config-devel
Requires: gtk2-devel gtk2-immodules
Requires: gtk3-devel gtk3-immodules
......@@ -109,7 +110,8 @@ Requires: pulseaudio-libs-devel
Requires: libsecret-devel
Requires: webkitgtk4-devel
Requires: libxkbcommon-devel libxkbcommon-x11-devel
Requires: libwayland-client-devel libwayland-cursor-devel libwayland-egl-devel
Requires: libwayland-client-devel libwayland-cursor-devel mesa-libwayland-egl-devel
Requires: xkeyboard-config-devel
Meta package for Gnome SDK dependencies
......@@ -10,9 +10,9 @@ Source0:{name}-%{version}.tar.xz
BuildRequires: gnome-sdk-base
BuildRequires: xorg-x11-util-macros
BuildRequires: xorg-x11-proto-devel libX11-devel libxcb-devel
#BuildRequires: xkeyboard-config-devel
BuildRequires: xkeyboard-config-devel
#Requires: xkeyboard-config
Requires: xkeyboard-config
%{name} is the X.Org library for compiling XKB maps into formats usable by
# INFO: Package contains data-only, no binaries, so no debuginfo is needed
%define debug_package %{nil}
Summary: X Keyboard Extension configuration data
Name: xkeyboard-config
Version: 2.13
Release: 1%{?dist}
License: MIT
BuildArch: noarch
BuildRequires: gnome-sdk-base
BuildRequires: glib2-devel
BuildRequires: libX11-devel
BuildRequires: xorg-x11-util-macros
BuildRequires: xorg-x11-proto-devel
#BuildRequires: xkbcomp
This package contains configuration data used by the X Keyboard Extension (XKB),
which allows selection of keyboard layouts when using a graphical interface.
%package devel
Summary: Development files for %{name}
Requires: %{name} = %{version}-%{release}
%description devel
Development files for %{name}.
%setup -q -n %{name}-%{version}
AUTOPOINT="intltoolize --automake --copy" autoreconf -v --force --install || exit 1
%configure \
--enable-compat-rules \
--with-xkb-base=%{_datadir}/X11/xkb \
make %{?_smp_mflags}
make install DESTDIR=$RPM_BUILD_ROOT INSTALL="install -p"
# Remove unnecessary symlink
rm -f $RPM_BUILD_ROOT%{_datadir}/X11/xkb/compiled
%find_lang %{name}
# Create filelist
find .%{_datadir}/X11/xkb -type d | sed -e "s/^\./%dir /g" > $FILESLIST
find .%{_datadir}/X11/xkb -type f | sed -e "s/^\.//g" >> $FILESLIST
%files -f files.list -f %{name}.lang
%files devel
* Mon Jan 19 2015 Alexander Larsson <> - 2.13-1
- Initial version
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment