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