]> git.pld-linux.org Git - packages/xkeyboard-config.git/blob - xkeyboard-config.spec
- explict symlink for compiled
[packages/xkeyboard-config.git] / xkeyboard-config.spec
1 Summary:        X Keyboard Configuration Database
2 Name:           xkeyboard-config
3 Version:        0.9
4 Release:        0.3
5 License:        BSD
6 Group:          X11/Development/Libraries
7 Source0:        http://xlibs.freedesktop.org/xkbdesc/%{name}-%{version}.tar.bz2
8 # Source0-md5:  52afe60101ace8532881e70f6c2dc020
9 URL:            http://www.freedesktop.org/wiki/Software_2fXKeyboardConfig
10 BuildRequires:  autoconf >= 2.57
11 BuildRequires:  automake
12 BuildRequires:  xorg-app-xkbcomp
13 BuildArch:      noarch
14 Obsoletes:      xorg-data-xkbdata
15 Provides:       xorg-data-xkbdata
16 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
17
18 %description
19 The non-arch keyboard configuration database for X Window. The goal is
20 to provide the consistent, well-structured, frequently released open
21 source of X keyboard configuration data for X Window System
22 implementations (free, open source and commercial). The project is
23 targetted to XKB-based systems.
24
25 %prep
26 %setup -q
27
28 %build
29 %configure  \
30         --enable-xkbcomp-symlink \
31         --enable-compat-rules \
32         --with-xkb-rules-symlink=xorg \
33         --with-xkb-base=%{_datadir}/X11/xkb
34
35 %{__make}
36
37 %install
38 rm -rf $RPM_BUILD_ROOT
39
40 %{__make} install \
41         DESTDIR=$RPM_BUILD_ROOT
42
43 rm -rf $RPM_BUILD_ROOT%{_datadir}/X11/xkb/compiled
44 ln -s /var/lib/xkb $RPM_BUILD_ROOT%{_datadir}/X11/xkb/compiled
45
46 %clean
47 rm -rf $RPM_BUILD_ROOT
48
49 %files
50 %defattr(644,root,root,755)
51 %doc AUTHORS CREDITS ChangeLog NEWS README TODO docs/H* docs/R*
52 %{_datadir}/X11/xkb
This page took 0.066683 seconds and 4 git commands to generate.