1 Summary: X Keyboard Configuration Database
2 Summary(pl.UTF-8): Baza danych konfiguracji klawiatury pod X
7 Group: X11/Development/Libraries
8 Source0: http://xorg.freedesktop.org/releases/individual/data/xkeyboard-config/%{name}-%{version}.tar.bz2
9 # Source0-md5: 4af1deeb7c5f4cad62e65957d98d6758
10 URL: http://www.freedesktop.org/wiki/Software/XKeyboardConfig
11 BuildRequires: autoconf >= 2.57
12 BuildRequires: automake
13 BuildRequires: gettext-tools >= 0.17
14 BuildRequires: intltool >= 0.30
15 BuildRequires: rpmbuild(macros) >= 1.446
16 BuildRequires: xorg-app-xkbcomp
17 BuildRequires: xorg-util-util-macros >= 1.12
19 Requires: xorg-lib-libX11 >= 1.4.3
20 Provides: xorg-data-xkbdata
21 Obsoletes: xorg-data-xkbdata < 0.9
23 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
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.
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.
50 --host=%{_target_platform} \
51 --build=%{_target_platform} \
56 --disable-runtime-deps \
57 --enable-compat-rules \
58 --with-xkb-rules-symlink=xorg \
59 --with-xkb-base=%{_datadir}/X11/xkb
64 rm -rf $RPM_BUILD_ROOT
67 DESTDIR=$RPM_BUILD_ROOT
69 ln -s /var/lib/xkb $RPM_BUILD_ROOT%{_datadir}/X11/xkb/compiled
74 rm -rf $RPM_BUILD_ROOT
77 # it used to be directory in xkbdata
78 if [ -d %{_datadir}/X11/xkb/symbols/pc ]; then
79 mv -b %{_datadir}/X11/xkb/symbols/pc{,.dir}
80 %banner -e %{name} <<EOF
81 Check out %{_datadir}/X11/xkb/symbols/pc.dir
82 for your own files and remove it when done.
85 if [ -d %{_datadir}/X11/xkb/compiled ]; then
86 rm -rf %{_datadir}/X11/xkb/compiled
89 %files -f %{name}.lang
90 %defattr(644,root,root,755)
91 %doc AUTHORS COPYING ChangeLog NEWS README TODO docs/H* docs/R*
93 %{_npkgconfigdir}/xkeyboard-config.pc
94 %{_mandir}/man7/xkeyboard-config.7*