From dfa9548a6306a12781d82048a6bf75472898357b Mon Sep 17 00:00:00 2001 From: "jinhyung.jo" Date: Fri, 1 Nov 2013 19:43:40 +0900 Subject: [PATCH] libtbm-vigs : Add license install script & manifest file Change-Id: I66491feab836ac96a074e320c4294e593d9dbd35 Signed-off-by: Jinhyung Jo --- packaging/libtbm-emulator.manifest | 5 +++++ packaging/libtbm-emulator.spec | 7 +++++++ 2 files changed, 12 insertions(+) create mode 100644 packaging/libtbm-emulator.manifest diff --git a/packaging/libtbm-emulator.manifest b/packaging/libtbm-emulator.manifest new file mode 100644 index 0000000..017d22d --- /dev/null +++ b/packaging/libtbm-emulator.manifest @@ -0,0 +1,5 @@ + + + + + diff --git a/packaging/libtbm-emulator.spec b/packaging/libtbm-emulator.spec index 5761aaf..008c527 100644 --- a/packaging/libtbm-emulator.spec +++ b/packaging/libtbm-emulator.spec @@ -5,6 +5,7 @@ License: MIT Summary: Tizen Buffer Manager - emulator backend Group: System/Libraries Source0: %{name}-%{version}.tar.gz +Source1001: libtbm-emulator.manifest BuildRequires: pkgconfig(pthread-stubs) BuildRequires: pkgconfig(libdrm) @@ -18,6 +19,7 @@ description: ${summary} %prep %setup -q +cp %{SOURCE1001} . %build autoreconf -vfi @@ -28,6 +30,8 @@ make %{?_smp_mflags} %install rm -rf %{buildroot} +mkdir -p %{buildroot}/usr/share/license +cp -af COPYING %{buildroot}/usr/share/license/%{name} %make_install @@ -40,4 +44,7 @@ ln -s libtbm_emulator.so %{_libdir}/bufmgr/libtbm_default.so %postun -p /sbin/ldconfig %files +%manifest %{name}.manifest +%defattr(-,root,root,-) +/usr/share/license/%{name} %{_libdir}/bufmgr/libtbm_*.so* -- 2.7.4