X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=packaging%2Flibxkbcommon.spec;h=94cc05cfd6a8d35dcee81d1cf55849a795f1ca75;hb=14d073e6e3861a3e41f17460b0a6ae460683763c;hp=b99d8c0a3f56d34823b518804042944079883abd;hpb=c38d72ed2da6f1c29143e6203f9251c4798fed90;p=platform%2Fupstream%2Flibxkbcommon.git diff --git a/packaging/libxkbcommon.spec b/packaging/libxkbcommon.spec index b99d8c0..94cc05c 100644 --- a/packaging/libxkbcommon.spec +++ b/packaging/libxkbcommon.spec @@ -1,5 +1,5 @@ Name: libxkbcommon -Version: 0.4.3.1 +Version: 0.4.3 Release: 0 License: MIT Summary: Wayland libxkbcommon library @@ -18,9 +18,11 @@ BuildRequires: pkgconfig(xorg-macros) >= 1.8 %if "%{?profile}" == "common" %else BuildRequires: python -BuildRequires: xkb-data +BuildRequires: xkb-tizen-data %endif +%global TZ_SYS_RO_SHARE %{?TZ_SYS_RO_SHARE:%TZ_SYS_RO_SHARE}%{!?TZ_SYS_RO_SHARE:/usr/share} + %description Keyboard handling library using XKB data. @@ -40,14 +42,12 @@ in %{name}. cp %{SOURCE1001} . # Generate tizen keymap header except common profile -%if "%{?profile}" == "common" -%else export TIZEN_PROFILE="%{?profile}" +export TZ_SYS_RO_SHARE="%{TZ_SYS_RO_SHARE}" chmod a+x ./make_tizen_keymap.sh ./make_tizen_keymap.sh chmod a+x ./gen_tables.sh ./gen_tables.sh -%endif %build %autogen --disable-static --disable-x11 --with-tizen-profile="%{?profile}" @@ -56,6 +56,10 @@ chmod a+x ./gen_tables.sh %install %make_install +#for license notification +mkdir -p %{buildroot}/%{TZ_SYS_RO_SHARE}/license +cp -a %{_builddir}/%{buildsubdir}/COPYING %{buildroot}/%{TZ_SYS_RO_SHARE}/license/%{name} + %post -p /sbin/ldconfig %postun -p /sbin/ldconfig @@ -63,7 +67,7 @@ chmod a+x ./gen_tables.sh %files %manifest %{name}.manifest %defattr(-,root,root) -%license COPYING +%{TZ_SYS_RO_SHARE}/license/%{name} %{_libdir}/libxkbcommon.so.0* %files devel