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