From fb566a5dc4dd16d5da9adb66b8fff2d2db8b64fe Mon Sep 17 00:00:00 2001 From: "jk7744.park" Date: Sat, 24 Oct 2015 15:28:51 +0900 Subject: tizen 2.4 release --- packaging/libtbm-sprd7727.spec | 44 ++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 44 insertions(+) create mode 100644 packaging/libtbm-sprd7727.spec (limited to 'packaging') diff --git a/packaging/libtbm-sprd7727.spec b/packaging/libtbm-sprd7727.spec new file mode 100644 index 0000000..4921be6 --- /dev/null +++ b/packaging/libtbm-sprd7727.spec @@ -0,0 +1,44 @@ +Name: libtbm-sprd7727 +Version: 1.0.1 +Release: 0 +License: Samsung +Summary: Tizen Buffer Manager - sprd7727 backend +Group: System/Libraries +ExcludeArch: i586 +Source0: %{name}-%{version}.tar.gz + +%if ("%{tizen_target_name}" != "Z130H" && "%{tizen_target_name}" != "Z300H") +Excludearch: %arm +%endif + +%description +descriptionion: ${summary} + +%prep +%setup -q + +%build + +autoreconf -vfi +./configure --prefix=%{_prefix} --libdir=%{_libdir}/bufmgr + +make %{?jobs:-j%jobs} + +%install +mkdir -p %{buildroot}/usr/share/license +mkdir -p %{buildroot}%{_libdir} +cp -af COPYING %{buildroot}/usr/share/license/%{name} +%make_install + + +%post +if [ -f %{_libdir}/bufmgr/libtbm_default.so ]; then + rm -rf %{_libdir}/bufmgr/libtbm_default.so +fi +ln -s libtbm_sprd7727.so.0.0.0 %{_libdir}/bufmgr/libtbm_default.so + +%postun -p /sbin/ldconfig + +%files +/usr/share/license/%{name} +%{_libdir}/bufmgr/libtbm_*.so* -- cgit v1.2.3