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