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
12 BuildRequires: autoconf >= 2.60
13 BuildRequires: automake
16 BuildRequires: libtool >= 2
17 BuildRequires: pkgconfig(xorg-macros) >= 1.8
18 %if "%{?profile}" == "common"
21 BuildRequires: xkb-tizen-data
24 %global TZ_SYS_RO_SHARE %{?TZ_SYS_RO_SHARE:%TZ_SYS_RO_SHARE}%{!?TZ_SYS_RO_SHARE:/usr/share}
27 Keyboard handling library using XKB data.
30 Summary: Development files for the Wayland libxkbcommon library
31 Group: Development/Libraries
32 Requires: %{name} = %{version}-%{release}
35 Keyboard handling library using XKB data.
37 This package contains the development headers for the library found
44 # Generate tizen keymap header except common profile
45 export TIZEN_PROFILE="%{?profile}"
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
53 %autogen --disable-static --disable-x11 --with-tizen-profile="%{?profile}"
54 %__make %{?_smp_mflags} V=1;
59 #for license notification
60 mkdir -p %{buildroot}/%{TZ_SYS_RO_SHARE}/license
61 cp -a %{_builddir}/%{buildsubdir}/COPYING %{buildroot}/%{TZ_SYS_RO_SHARE}/license/%{name}
63 %post -p /sbin/ldconfig
65 %postun -p /sbin/ldconfig
68 %manifest %{name}.manifest
70 %{TZ_SYS_RO_SHARE}/license/%{name}
71 %{_libdir}/libxkbcommon.so.0*
74 %manifest %{name}.manifest
76 %{_includedir}/xkbcommon
77 %{_libdir}/libxkbcommon.so
78 %{_libdir}/pkgconfig/xkbcommon.pc