]>
Commit | Line | Data |
---|---|---|
ad5d2494 | 1 | Summary: X Keyboard Configuration Database |
f617bfcb | 2 | Summary(pl.UTF-8): Baza danych konfiguracji klawiatury pod X |
ad5d2494 | 3 | Name: xkeyboard-config |
d5cc54ad | 4 | Version: 2.37 |
d7f9304c | 5 | Release: 1 |
53ae8367 | 6 | License: MIT |
ad5d2494 | 7 | Group: X11/Development/Libraries |
6ea17b4a | 8 | Source0: https://xorg.freedesktop.org/releases/individual/data/xkeyboard-config/%{name}-%{version}.tar.xz |
d5cc54ad | 9 | # Source0-md5: eb133127bcf9da2df2dd4a0a9c92e387 |
655abf69 | 10 | URL: https://www.freedesktop.org/wiki/Software/XKeyboardConfig |
426ce506 | 11 | BuildRequires: gettext-tools >= 0.19.8 |
76abc6eb | 12 | BuildRequires: libxslt-progs |
6ea17b4a JB |
13 | BuildRequires: meson >= 0.54.0 |
14 | BuildRequires: ninja >= 1.5 | |
15 | BuildRequires: pkgconfig | |
76abc6eb | 16 | BuildRequires: python3 >= 1:3.0 |
d38aa89c | 17 | BuildRequires: rpmbuild(macros) >= 1.446 |
6ea17b4a | 18 | BuildRequires: tar >= 1:1.22 |
46e71f21 | 19 | BuildRequires: xorg-util-util-macros >= 1.12 |
6ea17b4a | 20 | BuildRequires: xz |
e0512e4d JB |
21 | # for sinhala layouts |
22 | Requires: xorg-lib-libX11 >= 1.4.3 | |
ad5d2494 | 23 | Provides: xorg-data-xkbdata |
40bd4001 | 24 | Obsoletes: xorg-data-xkbdata < 0.9 |
d7f9304c JB |
25 | # due to large maximum keycode handling |
26 | Conflicts: xorg-app-xkbcomp < 1.4.2 | |
56bae085 | 27 | BuildArch: noarch |
ad5d2494 AM |
28 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
29 | ||
30 | %description | |
af2141d4 JB |
31 | The non-arch keyboard configuration database for X Window System. The |
32 | goal is to provide the consistent, well-structured, frequently | |
33 | released open source of X keyboard configuration data for X Window | |
34 | System implementations (free, open source and commercial). The project | |
35 | is targeted to XKB-based systems. | |
36 | ||
f7271343 JR |
37 | %description -l pl.UTF-8 |
38 | Niezależna od architektury baza danych konfiguracji klawiatury dla | |
39 | systemu X Window. Celem jest dostarczenie spójnych, dobrze | |
40 | zbudowanych, często wydawanych danych konfiguracji klawiatury pod X z | |
41 | otwartymi źródłami dla implementacji X Window System (wolnodostępnych, | |
42 | mających otwarte źródła i komercyjnych). Projekt jest przeznaczony dla | |
43 | systemów opartych na XKB. | |
ad5d2494 AM |
44 | |
45 | %prep | |
46 | %setup -q | |
47 | ||
48 | %build | |
6ea17b4a | 49 | %meson build |
ad5d2494 | 50 | |
6ea17b4a | 51 | %ninja_build -C build |
ad5d2494 AM |
52 | |
53 | %install | |
54 | rm -rf $RPM_BUILD_ROOT | |
55 | ||
6ea17b4a | 56 | %ninja_install -C build |
ad5d2494 | 57 | |
9bdf2fba AM |
58 | ln -s /var/lib/xkb $RPM_BUILD_ROOT%{_datadir}/X11/xkb/compiled |
59 | ||
bb15b8e9 AM |
60 | %find_lang %{name} |
61 | ||
ad5d2494 AM |
62 | %clean |
63 | rm -rf $RPM_BUILD_ROOT | |
64 | ||
d6b565de | 65 | %pretrans |
45c3d987 JB |
66 | # it used to be directory in xkbdata |
67 | if [ -d %{_datadir}/X11/xkb/symbols/pc ]; then | |
ceb654be TP |
68 | mv -b %{_datadir}/X11/xkb/symbols/pc{,.dir} |
69 | %banner -e %{name} <<EOF | |
70 | Check out %{_datadir}/X11/xkb/symbols/pc.dir | |
71 | for your own files and remove it when done. | |
72 | EOF | |
45c3d987 | 73 | fi |
85930924 AM |
74 | if [ -d %{_datadir}/X11/xkb/compiled ]; then |
75 | rm -rf %{_datadir}/X11/xkb/compiled | |
76 | fi | |
45c3d987 | 77 | |
bb15b8e9 | 78 | %files -f %{name}.lang |
ad5d2494 | 79 | %defattr(644,root,root,755) |
6ea17b4a | 80 | %doc AUTHORS COPYING NEWS README docs/H* docs/R* |
ad5d2494 | 81 | %{_datadir}/X11/xkb |
d38aa89c | 82 | %{_npkgconfigdir}/xkeyboard-config.pc |
baf0f91f | 83 | %{_mandir}/man7/xkeyboard-config.7* |