2007-01-16 00:42:43 +01:00
|
|
|
#
|
2011-02-07 22:12:18 +01:00
|
|
|
# spec file for package xkeyboard-config
|
2007-01-16 00:42:43 +01:00
|
|
|
#
|
2024-03-18 02:52:41 +01:00
|
|
|
# Copyright (c) 2024 SUSE LLC
|
2007-01-16 00:42:43 +01:00
|
|
|
#
|
2008-09-15 15:56:49 +02:00
|
|
|
# All modifications and additions to the file contributed by third parties
|
|
|
|
# remain the property of their copyright owners, unless otherwise agreed
|
|
|
|
# upon. The license for this file, and modifications and additions to the
|
|
|
|
# file, is the same license as for the pristine package itself (unless the
|
|
|
|
# license for the pristine package is not an Open Source License, in which
|
|
|
|
# case the license is the MIT License). An "Open Source License" is a
|
|
|
|
# license that conforms to the Open Source Definition (Version 1.9)
|
|
|
|
# published by the Open Source Initiative.
|
|
|
|
|
2019-10-11 19:30:16 +02:00
|
|
|
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
2007-01-16 00:42:43 +01:00
|
|
|
#
|
|
|
|
|
2008-03-06 02:29:04 +01:00
|
|
|
|
2007-01-16 00:42:43 +01:00
|
|
|
Name: xkeyboard-config
|
2024-06-12 15:12:42 +02:00
|
|
|
Version: 2.42
|
2012-04-13 12:34:59 +02:00
|
|
|
Release: 0
|
2007-01-16 00:42:43 +01:00
|
|
|
Summary: The X Keyboard Extension
|
2023-04-20 11:41:59 +02:00
|
|
|
License: GPL-2.0-or-later AND LGPL-2.1-or-later AND MIT
|
2012-04-13 12:34:59 +02:00
|
|
|
Group: System/X11/Utilities
|
2021-07-17 20:08:54 +02:00
|
|
|
URL: https://www.freedesktop.org/Software/XKeyboardConfig
|
2022-06-02 09:47:08 +02:00
|
|
|
Source: https://xorg.freedesktop.org/archive/individual/data/%{name}/%{name}-%{version}.tar.xz
|
2012-04-13 12:34:59 +02:00
|
|
|
# PATCH-FIX-OPENSUSE disable-2xalt_2xctrl-toggle.diff fdo#4927 -- This is just a workaround until fdo#4927 is fixed
|
2015-10-21 12:08:13 +02:00
|
|
|
Patch109: n_disable-2xalt_2xctrl-toggle.diff
|
2016-06-08 11:00:25 +02:00
|
|
|
BuildRequires: fdupes
|
|
|
|
BuildRequires: intltool
|
2022-06-02 09:47:08 +02:00
|
|
|
BuildRequires: meson
|
2016-06-08 11:00:25 +02:00
|
|
|
BuildRequires: pkgconfig
|
2022-10-06 15:06:11 +02:00
|
|
|
BuildRequires: python3-base
|
2016-06-08 11:00:25 +02:00
|
|
|
BuildRequires: xsltproc
|
|
|
|
BuildRequires: perl(XML::Parser)
|
|
|
|
BuildRequires: pkgconfig(xorg-macros) >= 1.12
|
|
|
|
Requires(post): coreutils
|
2007-04-09 11:44:32 +02:00
|
|
|
BuildArch: noarch
|
2007-01-16 00:42:43 +01:00
|
|
|
|
|
|
|
%description
|
|
|
|
The X Keyboard Extension essentially replaces the core protocol
|
|
|
|
definition of keyboard. The extension makes possible to clearly and
|
|
|
|
explicitly specify most aspects of keyboard behaviour on per-key basis
|
|
|
|
and to more closely track the logical and physical state of the
|
|
|
|
keyboard. It also includes a number of keyboard controls designed to
|
|
|
|
make keyboards more accessible to people with physical impairments.
|
|
|
|
|
2012-07-22 16:10:39 +02:00
|
|
|
%lang_package
|
2016-06-08 11:00:25 +02:00
|
|
|
|
2007-01-16 00:42:43 +01:00
|
|
|
%prep
|
2024-02-26 14:55:50 +01:00
|
|
|
%autosetup -p1
|
2007-01-16 00:42:43 +01:00
|
|
|
|
|
|
|
%build
|
2022-06-02 09:47:08 +02:00
|
|
|
%{meson} \
|
|
|
|
-Dxkb-base=%{_datadir}/X11/xkb \
|
|
|
|
-Dcompat-rules=true \
|
|
|
|
-Dxorg-rules-symlinks=true
|
|
|
|
%{meson_build}
|
2007-01-16 00:42:43 +01:00
|
|
|
|
|
|
|
%install
|
2022-06-02 09:47:08 +02:00
|
|
|
%{meson_install}
|
2016-06-08 11:00:25 +02:00
|
|
|
mkdir -p %{buildroot}%{_localstatedir}/lib/xkb
|
2008-04-06 09:17:29 +02:00
|
|
|
# Bug 335553
|
2016-06-08 11:00:25 +02:00
|
|
|
mkdir -p %{buildroot}%{_localstatedir}/lib/xkb/compiled/
|
|
|
|
ln -snf %{_localstatedir}/lib/xkb/compiled/ %{buildroot}%{_datadir}/X11/xkb/compiled
|
|
|
|
%find_lang %{name}
|
|
|
|
%fdupes -s %{buildroot}%{_datadir}/X11/xkb
|
2007-01-16 00:42:43 +01:00
|
|
|
|
2013-08-27 14:25:30 +02:00
|
|
|
%post
|
2016-06-08 11:00:25 +02:00
|
|
|
rm -rf %{_localstatedir}/lib/xkb/compiled/server*.xkm
|
2013-08-27 14:25:30 +02:00
|
|
|
|
2012-07-22 16:10:39 +02:00
|
|
|
%files
|
2021-07-17 20:08:54 +02:00
|
|
|
%license COPYING
|
|
|
|
%doc AUTHORS README docs/HOWTO.* docs/README.*
|
2016-06-08 11:00:25 +02:00
|
|
|
%dir %{_localstatedir}/lib/xkb
|
|
|
|
%dir %{_localstatedir}/lib/xkb/compiled
|
|
|
|
%dir %{_datadir}/X11
|
|
|
|
%{_datadir}/X11/xkb/
|
2010-09-04 19:32:56 +02:00
|
|
|
%{_datadir}/pkgconfig/*.pc
|
2015-12-28 21:37:07 +01:00
|
|
|
%{_mandir}/man7/*
|
2008-01-30 20:49:53 +01:00
|
|
|
|
2012-07-22 16:10:39 +02:00
|
|
|
%files lang -f %{name}.lang
|
|
|
|
|
2007-04-09 11:44:32 +02:00
|
|
|
%changelog
|