5 Summary: Wayland libxkbcommon library
6 Url: http://wayland.freedesktop.org/
7 Group: Development/Libraries
9 Source: %{name}-%{version}.tar.xz
10 #X-Vcs-Url: https://github.com/xkbcommon/libxkbcommon.git
11 Source1001: libxkbcommon.manifest
15 BuildRequires: libtool >= 2
16 BuildRequires: pkgconfig(xorg-macros) >= 1.8
18 BuildRequires: xkb-tizen-data
21 ## This BuildRequires is needed when an enable-wayland option is true.
22 #BuildRequires: pkgconfig(wayland-client)
23 #BuildRequires: wayland-protocols
25 %global TZ_SYS_RO_SHARE %{?TZ_SYS_RO_SHARE:%TZ_SYS_RO_SHARE}%{!?TZ_SYS_RO_SHARE:/usr/share}
28 Keyboard handling library using XKB data.
31 Summary: Development files for the Wayland libxkbcommon library
32 Group: Development/Libraries
33 Requires: %{name} = %{version}-%{release}
36 Keyboard handling library using XKB data.
38 This package contains the development headers for the library found
45 # Generate tizen keymap header
46 export TZ_SYS_RO_SHARE="%{TZ_SYS_RO_SHARE}"
47 chmod a+x ./make_tizen_keymap.sh
48 ./make_tizen_keymap.sh
49 chmod a+x ./gen_tables.sh
56 -Denable-wayland=false \
63 export DESTDIR=%{buildroot}
64 ninja -C builddir install
66 %post -p /sbin/ldconfig
68 %postun -p /sbin/ldconfig
71 %manifest %{name}.manifest
74 %{_libdir}/libxkbcommon.so.0*
77 %manifest %{name}.manifest
79 %{_includedir}/xkbcommon
80 %{_libdir}/libxkbcommon.so
81 %{_libdir}/pkgconfig/xkbcommon.pc