diff options
author | SooChan Lim <sc1.lim@samsung.com> | 2016-03-11 14:08:12 +0900 |
---|---|---|
committer | SooChan Lim <sc1.lim@samsung.com> | 2016-03-11 14:08:34 +0900 |
commit | ed572e6c10dd9489833bf40706a99d88185eea7f (patch) | |
tree | 58b379f97ccaff55f129ab24e6eda96e10d44cb4 | |
parent | 06cf5498b864273a466a02418b8c45e6914a31c5 (diff) | |
download | libtdm-drm-ed572e6c10dd9489833bf40706a99d88185eea7f.tar.gz libtdm-drm-ed572e6c10dd9489833bf40706a99d88185eea7f.tar.bz2 libtdm-drm-ed572e6c10dd9489833bf40706a99d88185eea7f.zip |
use the tizen directory macros at spec filesubmit/tizen/20160311.061054accepted/tizen/wearable/20160311.145504accepted/tizen/tv/20160311.144657accepted/tizen/mobile/20160311.143101accepted/tizen/ivi/20160311.150140accepted/tizen/common/20160311.203451
Change-Id: Iddef3cde1a2fef97ce6cf6af3aee8e37e03bb03c
-rw-r--r-- | packaging/libtdm-drm.spec | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/packaging/libtdm-drm.spec b/packaging/libtdm-drm.spec index c06bcff..086110a 100644 --- a/packaging/libtdm-drm.spec +++ b/packaging/libtdm-drm.spec @@ -14,6 +14,8 @@ BuildRequires: pkgconfig(pixman-1) %description Back-End library of Tizen Display Manager DRM : libtdm-mgr DRM 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} . @@ -25,6 +27,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 @@ -36,7 +41,7 @@ ln -s libtdm-drm.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-drm.so |