Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
SUSE:SLE-12:GA
xkeyboard-config
xkeyboard-config.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File xkeyboard-config.spec of Package xkeyboard-config
# # spec file for package xkeyboard-config # # Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany. # # 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. # Please submit bugfixes or comments via http://bugs.opensuse.org/ # Name: xkeyboard-config BuildRequires: fdupes BuildRequires: intltool BuildRequires: perl-XML-Parser BuildRequires: pkg-config BuildRequires: translation-update-upstream BuildRequires: xkbcomp BuildRequires: pkgconfig(xorg-macros) >= 1.12 Url: http://www.freedesktop.org/Software/XKeyboardConfig Provides: XFree86:/etc/X11/xkb/symbols/us Provides: xorg-x11:/etc/X11/xkb/symbols/us PreReq: /bin/ln /bin/rm Version: 2.11 Release: 0 Summary: The X Keyboard Extension License: GPL-2.0+ and LGPL-2.1+ and MIT and CDDL-1.0 Group: System/X11/Utilities Source: http://xorg.freedesktop.org/archive/individual/data/xkeyboard-config/xkeyboard-config-%{version}.tar.bz2 Patch0: n_rs-cyralpha-The-key-z-on-US-keyboard-should-give-dze.patch Patch1: U_Let-KPDL-key-on-it-fr-and-nl-keyboards-generate-KP_S.patch Patch100: n_suse.patch # PATCH-FIX-OPENSUSE disable-2xalt_2xctrl-toggle.diff fdo#4927 -- This is just a workaround until fdo#4927 is fixed Patch109: disable-2xalt_2xctrl-toggle.diff BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildArch: noarch Recommends: %{name}-lang %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. %lang_package %prep %setup -q translation-update-upstream %patch0 -p1 %patch1 -p1 -R %patch100 -p1 %patch109 -p1 %build %configure --with-xkb-rules-symlink=xfree86,xorg \ --with-xkb-base=/usr/share/X11/xkb \ --enable-compat_rules \ --disable-runtime-deps \ --disable-xkbcomp-symlink rm -f */*.dir make %install make install DESTDIR=$RPM_BUILD_ROOT mkdir -p $RPM_BUILD_ROOT/var/lib/xkb ln -snf /usr/bin/xkbcomp $RPM_BUILD_ROOT/usr/share/X11/xkb/xkbcomp # Bug 335553 mkdir -p $RPM_BUILD_ROOT/var/lib/xkb/compiled/ ln -snf /var/lib/xkb/compiled/ $RPM_BUILD_ROOT/usr/share/X11/xkb/compiled %find_lang %{name} %{?no_lang_C} %fdupes -s $RPM_BUILD_ROOT/usr/share/X11/xkb %clean rm -rf $RPM_BUILD_ROOT %post rm -rf /var/lib/xkb/compiled/server*.xkm %files %defattr(-,root,root) %doc AUTHORS COPYING README docs/HOWTO.* docs/README.* %dir /var/lib/xkb %dir /var/lib/xkb/compiled /usr/share/X11/xkb/ %{_datadir}/pkgconfig/*.pc %files lang -f %{name}.lang %changelog
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor