summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjinhyung.jo <jinhyung.jo@samsung.com>2013-11-01 19:43:40 +0900
committerjinhyung.jo <jinhyung.jo@samsung.com>2013-11-01 19:43:40 +0900
commitdfa9548a6306a12781d82048a6bf75472898357b (patch)
treee76ae99ea553dd9f97187d5e16b1caa3ccbe2537
parent6ad44a9cdb8994b6da4732f9d2b1cd3d2e74a9cf (diff)
downloadlibtbm-vigs-dfa9548a6306a12781d82048a6bf75472898357b.tar.gz
libtbm-vigs-dfa9548a6306a12781d82048a6bf75472898357b.tar.bz2
libtbm-vigs-dfa9548a6306a12781d82048a6bf75472898357b.zip
libtbm-vigs : Add license install script & manifest file
Change-Id: I66491feab836ac96a074e320c4294e593d9dbd35 Signed-off-by: Jinhyung Jo <jinhyung.jo@samsung.com>
-rw-r--r--packaging/libtbm-emulator.manifest5
-rw-r--r--packaging/libtbm-emulator.spec7
2 files changed, 12 insertions, 0 deletions
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 @@
+<manifest>
+ <request>
+ <domain name="_"/>
+ </request>
+</manifest>
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*