4 License: BSD-3-Clause and MIT
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 ## This BuildRequires is needed when an enable-xkbregistry option is true.
26 #BuildRequires: pkgconfig(libxml-2.0)
28 %global TZ_SYS_RO_SHARE %{?TZ_SYS_RO_SHARE:%TZ_SYS_RO_SHARE}%{!?TZ_SYS_RO_SHARE:/usr/share}
31 Keyboard handling library using XKB data.
34 Summary: Development files for the Wayland libxkbcommon library
35 Group: Development/Libraries
36 Requires: %{name} = %{version}-%{release}
39 Keyboard handling library using XKB data.
41 This package contains the development headers for the library found
48 # Generate tizen keymap header
49 export TZ_SYS_RO_SHARE="%{TZ_SYS_RO_SHARE}"
50 chmod a+x ./make_tizen_keymap.sh
51 ./make_tizen_keymap.sh
52 chmod a+x ./gen_tables.sh
59 -Denable-wayland=false \
60 -Denable-xkbregistry=false \
61 -Denable-tools=false \
68 export DESTDIR=%{buildroot}
69 ninja -C builddir install
71 %post -p /sbin/ldconfig
73 %postun -p /sbin/ldconfig
76 %manifest %{name}.manifest
78 %license COPYING LICENSE.BSD-3-Clause
79 %{_libdir}/libxkbcommon.so.0*
81 ## disable xkbregistry ##
82 #%{_libdir}/libxkbregistry.so.0*
86 #/usr/libexec/xkbcommon/*
87 #%doc %{_mandir}/man?/*
90 %manifest %{name}.manifest
92 %{_includedir}/xkbcommon
93 %{_libdir}/libxkbcommon.so
94 %{_libdir}/pkgconfig/xkbcommon.pc
96 ## disable xkbregistry ##
97 #%{_libdir}/libxkbregistry.so
98 #%{_libdir}/pkgconfig/xkbregistry.pc