]>
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 |
412151f1 | 4 | Version: 2.15 |
73d16a53 | 5 | Release: 1 |
53ae8367 | 6 | License: MIT |
ad5d2494 | 7 | Group: X11/Development/Libraries |
21d38829 | 8 | Source0: http://xorg.freedesktop.org/releases/individual/data/xkeyboard-config/%{name}-%{version}.tar.bz2 |
412151f1 | 9 | # Source0-md5: 4af1deeb7c5f4cad62e65957d98d6758 |
d6b565de | 10 | URL: http://www.freedesktop.org/wiki/Software/XKeyboardConfig |
ad5d2494 AM |
11 | BuildRequires: autoconf >= 2.57 |
12 | BuildRequires: automake | |
412151f1 | 13 | BuildRequires: gettext-tools >= 0.17 |
d38aa89c JB |
14 | BuildRequires: intltool >= 0.30 |
15 | BuildRequires: rpmbuild(macros) >= 1.446 | |
df1f23f2 | 16 | BuildRequires: xorg-app-xkbcomp |
46e71f21 | 17 | BuildRequires: xorg-util-util-macros >= 1.12 |
e0512e4d JB |
18 | # for sinhala layouts |
19 | Requires: xorg-lib-libX11 >= 1.4.3 | |
ad5d2494 | 20 | Provides: xorg-data-xkbdata |
40bd4001 | 21 | Obsoletes: xorg-data-xkbdata < 0.9 |
56bae085 | 22 | BuildArch: noarch |
ad5d2494 AM |
23 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
24 | ||
25 | %description | |
af2141d4 JB |
26 | The non-arch keyboard configuration database for X Window System. The |
27 | goal is to provide the consistent, well-structured, frequently | |
28 | released open source of X keyboard configuration data for X Window | |
29 | System implementations (free, open source and commercial). The project | |
30 | is targeted to XKB-based systems. | |
31 | ||
f7271343 JR |
32 | %description -l pl.UTF-8 |
33 | Niezależna od architektury baza danych konfiguracji klawiatury dla | |
34 | systemu X Window. Celem jest dostarczenie spójnych, dobrze | |
35 | zbudowanych, często wydawanych danych konfiguracji klawiatury pod X z | |
36 | otwartymi źródłami dla implementacji X Window System (wolnodostępnych, | |
37 | mających otwarte źródła i komercyjnych). Projekt jest przeznaczony dla | |
38 | systemów opartych na XKB. | |
ad5d2494 AM |
39 | |
40 | %prep | |
41 | %setup -q | |
42 | ||
43 | %build | |
412151f1 | 44 | %{__intltoolize} |
d38aa89c JB |
45 | %{__aclocal} |
46 | %{__autoconf} | |
412151f1 | 47 | %{__automake} |
af2141d4 | 48 | %configure \ |
56bae085 ER |
49 | --host=%{_host} \ |
50 | --build=%{_host} \ | |
e0512e4d | 51 | --disable-runtime-deps \ |
ad5d2494 | 52 | --enable-compat-rules \ |
98aad1e4 | 53 | --with-xkb-rules-symlink=xorg \ |
ad5d2494 AM |
54 | --with-xkb-base=%{_datadir}/X11/xkb |
55 | ||
56 | %{__make} | |
57 | ||
58 | %install | |
59 | rm -rf $RPM_BUILD_ROOT | |
60 | ||
61 | %{__make} install \ | |
62 | DESTDIR=$RPM_BUILD_ROOT | |
63 | ||
9bdf2fba AM |
64 | ln -s /var/lib/xkb $RPM_BUILD_ROOT%{_datadir}/X11/xkb/compiled |
65 | ||
bb15b8e9 AM |
66 | %find_lang %{name} |
67 | ||
ad5d2494 AM |
68 | %clean |
69 | rm -rf $RPM_BUILD_ROOT | |
70 | ||
d6b565de | 71 | %pretrans |
45c3d987 JB |
72 | # it used to be directory in xkbdata |
73 | if [ -d %{_datadir}/X11/xkb/symbols/pc ]; then | |
ceb654be TP |
74 | mv -b %{_datadir}/X11/xkb/symbols/pc{,.dir} |
75 | %banner -e %{name} <<EOF | |
76 | Check out %{_datadir}/X11/xkb/symbols/pc.dir | |
77 | for your own files and remove it when done. | |
78 | EOF | |
45c3d987 | 79 | fi |
85930924 AM |
80 | if [ -d %{_datadir}/X11/xkb/compiled ]; then |
81 | rm -rf %{_datadir}/X11/xkb/compiled | |
82 | fi | |
45c3d987 | 83 | |
bb15b8e9 | 84 | %files -f %{name}.lang |
ad5d2494 | 85 | %defattr(644,root,root,755) |
387192ec | 86 | %doc AUTHORS COPYING ChangeLog NEWS README TODO docs/H* docs/R* |
ad5d2494 | 87 | %{_datadir}/X11/xkb |
d38aa89c | 88 | %{_npkgconfigdir}/xkeyboard-config.pc |
baf0f91f | 89 | %{_mandir}/man7/xkeyboard-config.7* |