2007-01-15 23:42:43 +00:00
|
|
|
#
|
2011-02-07 21:12:18 +00:00
|
|
|
# spec file for package xkeyboard-config
|
2007-01-15 23:42:43 +00:00
|
|
|
#
|
2019-10-11 17:30:16 +00:00
|
|
|
# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
|
2007-01-15 23:42:43 +00:00
|
|
|
#
|
2008-09-15 13:56:49 +00: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 17:30:16 +00:00
|
|
|
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
2007-01-15 23:42:43 +00:00
|
|
|
#
|
|
|
|
|
2008-03-06 01:29:04 +00:00
|
|
|
|
2007-01-15 23:42:43 +00:00
|
|
|
Name: xkeyboard-config
|
2019-10-11 17:30:16 +00:00
|
|
|
Version: 2.27
|
2012-04-13 10:34:59 +00:00
|
|
|
Release: 0
|
2007-01-15 23:42:43 +00:00
|
|
|
Summary: The X Keyboard Extension
|
2019-10-11 17:30:16 +00:00
|
|
|
License: GPL-2.0-or-later AND LGPL-2.1-or-later AND MIT AND CDDL-1.0
|
2012-04-13 10:34:59 +00:00
|
|
|
Group: System/X11/Utilities
|
2016-06-08 09:00:25 +00:00
|
|
|
Url: http://www.freedesktop.org/Software/XKeyboardConfig
|
|
|
|
Source: http://xorg.freedesktop.org/archive/individual/data/%{name}/%{name}-%{version}.tar.bz2
|
2015-10-21 10:08:13 +00:00
|
|
|
Patch100: n_suse-ctrl-alt-bksp-terminate.patch
|
2012-04-13 10:34:59 +00:00
|
|
|
# PATCH-FIX-OPENSUSE disable-2xalt_2xctrl-toggle.diff fdo#4927 -- This is just a workaround until fdo#4927 is fixed
|
2015-10-21 10:08:13 +00:00
|
|
|
Patch109: n_disable-2xalt_2xctrl-toggle.diff
|
2016-06-08 09:00:25 +00:00
|
|
|
BuildRequires: fdupes
|
|
|
|
BuildRequires: intltool
|
|
|
|
BuildRequires: pkgconfig
|
|
|
|
BuildRequires: translation-update-upstream
|
|
|
|
BuildRequires: xsltproc
|
|
|
|
BuildRequires: perl(XML::Parser)
|
|
|
|
BuildRequires: pkgconfig(xorg-macros) >= 1.12
|
|
|
|
Requires(post): coreutils
|
|
|
|
Recommends: %{name}-lang
|
2007-01-15 23:42:43 +00:00
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
2007-04-09 09:44:32 +00:00
|
|
|
BuildArch: noarch
|
2007-01-15 23:42:43 +00: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 14:10:39 +00:00
|
|
|
%lang_package
|
2016-06-08 09:00:25 +00:00
|
|
|
|
2007-01-15 23:42:43 +00:00
|
|
|
%prep
|
|
|
|
%setup -q
|
2019-10-11 17:30:16 +00:00
|
|
|
#translation-update-upstream
|
2013-10-07 13:28:10 +00:00
|
|
|
%patch100 -p1
|
2008-05-16 13:05:57 +00:00
|
|
|
%patch109 -p1
|
2007-01-15 23:42:43 +00:00
|
|
|
|
|
|
|
%build
|
2016-06-08 09:00:25 +00:00
|
|
|
%configure \
|
|
|
|
--disable-silent-rules \
|
|
|
|
--with-xkb-rules-symlink=xorg \
|
|
|
|
--with-xkb-base=%{_datadir}/X11/xkb \
|
2007-01-15 23:42:43 +00:00
|
|
|
--enable-compat_rules \
|
2016-06-08 09:00:25 +00:00
|
|
|
--disable-runtime-deps
|
|
|
|
make %{?_smp_mflags}
|
2007-01-15 23:42:43 +00:00
|
|
|
|
|
|
|
%install
|
2016-06-08 09:00:25 +00:00
|
|
|
make %{?_smp_mflags} DESTDIR=%{buildroot} install
|
|
|
|
mkdir -p %{buildroot}%{_localstatedir}/lib/xkb
|
2008-04-06 07:17:29 +00:00
|
|
|
# Bug 335553
|
2016-06-08 09:00:25 +00: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-15 23:42:43 +00:00
|
|
|
|
2013-08-27 12:25:30 +00:00
|
|
|
%post
|
2016-06-08 09:00:25 +00:00
|
|
|
rm -rf %{_localstatedir}/lib/xkb/compiled/server*.xkm
|
2013-08-27 12:25:30 +00:00
|
|
|
|
2012-07-22 14:10:39 +00:00
|
|
|
%files
|
2007-01-15 23:42:43 +00:00
|
|
|
%defattr(-,root,root)
|
|
|
|
%doc AUTHORS COPYING README docs/HOWTO.* docs/README.*
|
2016-06-08 09:00:25 +00:00
|
|
|
%dir %{_localstatedir}/lib/xkb
|
|
|
|
%dir %{_localstatedir}/lib/xkb/compiled
|
|
|
|
%dir %{_datadir}/X11
|
|
|
|
%{_datadir}/X11/xkb/
|
2010-09-04 17:32:56 +00:00
|
|
|
%{_datadir}/pkgconfig/*.pc
|
2015-12-28 20:37:07 +00:00
|
|
|
%{_mandir}/man7/*
|
2008-01-30 19:49:53 +00:00
|
|
|
|
2012-07-22 14:10:39 +00:00
|
|
|
%files lang -f %{name}.lang
|
2016-06-08 09:00:25 +00:00
|
|
|
%defattr(-,root,root)
|
2012-07-22 14:10:39 +00:00
|
|
|
|
2007-04-09 09:44:32 +00:00
|
|
|
%changelog
|