diff options
author | SooChan Lim <sc1.lim@samsung.com> | 2016-03-11 14:16:14 +0900 |
---|---|---|
committer | SooChan Lim <sc1.lim@samsung.com> | 2016-03-11 14:16:14 +0900 |
commit | 94954a9a049b750f3315ceb343ae8de4939d0aa4 (patch) | |
tree | 66f83434617a6f5ba86b304437e0352c03102c95 | |
parent | ef76344213f4ac699bdfeac43f1470e23a51492a (diff) | |
download | libtdm-fbdev-accepted/tizen/common/20160311.203531.tar.gz libtdm-fbdev-accepted/tizen/common/20160311.203531.tar.bz2 libtdm-fbdev-accepted/tizen/common/20160311.203531.zip |
use the tizen directory macros at spec filesubmit/tizen/20160311.061223accepted/tizen/wearable/20160311.145529accepted/tizen/tv/20160311.144728accepted/tizen/mobile/20160311.143128accepted/tizen/ivi/20160311.150205accepted/tizen/common/20160311.203531
Change-Id: Ibdd30d3f67238ff5d3679f0297d3c77b06cfafae
-rw-r--r-- | packaging/libtdm-fbdev.spec | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/packaging/libtdm-fbdev.spec b/packaging/libtdm-fbdev.spec index 2f251ce..150003c 100644 --- a/packaging/libtdm-fbdev.spec +++ b/packaging/libtdm-fbdev.spec @@ -13,6 +13,8 @@ BuildRequires: pkgconfig(libtdm) %description Back-End library of Tizen Display Manager FBDEV : libtdm-mgr FBDEV library +%global TZ_SYS_RO_SHARE %{?TZ_SYS_RO_SHARE:%TZ_SYS_RO_SHARE}%{!?TZ_SYS_RO_SHARE:/usr/share} + %prep %setup -q cp %{SOURCE1001} . @@ -24,6 +26,9 @@ cp %{SOURCE1001} . make %{?_smp_mflags} %install +rm -rf %{buildroot} +mkdir -p %{buildroot}/%{TZ_SYS_RO_SHARE}/license +cp -af COPYING %{buildroot}/%{TZ_SYS_RO_SHARE}/license/%{name} %make_install %post @@ -35,7 +40,7 @@ ln -s libtdm-fbdev.so %{_libdir}/tdm/libtdm-default.so %postun -p /sbin/ldconfig %files -%manifest %{name}.manifest -%license COPYING %defattr(-,root,root,-) +%manifest %{name}.manifest +%{TZ_SYS_RO_SHARE}/license/%{name} %{_libdir}/tdm/libtdm-fbdev.so |