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 %if "%{?profile}" == "common"
47 export TIZEN_PROFILE="%{?profile}"
48 export TZ_SYS_RO_SHARE="%{TZ_SYS_RO_SHARE}"
49 chmod a+x ./make_tizen_keymap.sh
50 ./make_tizen_keymap.sh
51 chmod a+x ./gen_tables.sh
56 %autogen --disable-static --disable-x11 --with-tizen-profile="%{?profile}"
57 %__make %{?_smp_mflags} V=1;
62 #for license notification
63 mkdir -p %{buildroot}/%{TZ_SYS_RO_SHARE}/license
64 cp -a %{_builddir}/%{buildsubdir}/COPYING %{buildroot}/%{TZ_SYS_RO_SHARE}/license/%{name}
66 %post -p /sbin/ldconfig
68 %postun -p /sbin/ldconfig
71 %manifest %{name}.manifest
73 %{TZ_SYS_RO_SHARE}/license/%{name}
74 %{_libdir}/libxkbcommon.so.0*
77 %manifest %{name}.manifest
79 %{_includedir}/xkbcommon
80 %{_libdir}/libxkbcommon.so
81 %{_libdir}/pkgconfig/xkbcommon.pc