Apply DEP to libswconverter 82/76982/2 accepted/tizen/common/20160629.222523 accepted/tizen/wearable/20160629.020816 submit/tizen/20160628.080717
authorSejun Park <sejun79.park@samsung.com>
Tue, 28 Jun 2016 07:29:11 +0000 (16:29 +0900)
committerSejun Park <sejun79.park@samsung.com>
Tue, 28 Jun 2016 07:29:38 +0000 (16:29 +0900)
Change-Id: Id3f2b6dca1c7376f9636507f6cd0acd38c660c27

packaging/libomxil-e3250-v4l2.spec

index b7cfa8a..f801c16 100755 (executable)
@@ -1,7 +1,7 @@
 Name: libomxil-e3250-v4l2
 Summary: OpenMAX IL for e3250-v4l2
-Version: 0.1.0
-License: TO BE FILLED IN
+Version: 0.1.1
+License: Apache-2.0
 Group: Development/Libraries
 Release: 0
 ExclusiveArch: %arm
@@ -42,6 +42,8 @@ export CFLAGS+="\
  -DUSE_H264_PREPEND_SPS_PPS\
  -DGST_EXT_TIME_ANALYSIS"
 
+export LDFLAGS+="-Wl,--rpath=%{_prefix} -Wl,--as-needed,-z,noexecstack"
+
 %ifnarch aarch64
 %configure --prefix=%{_prefix} --disable-static --enable-dlog --enable-exynos3250 --enable-neon
 %else
@@ -54,8 +56,8 @@ make
 
 %install
 rm -rf %{buildroot}
-#mkdir -p %{buildroot}/usr/share/license
-#cp COPYING %{buildroot}/usr/share/license/%{name}
+mkdir -p %{buildroot}/usr/share/license
+cp COPYING %{buildroot}/usr/share/license/%{name}
 %make_install
 
 
@@ -68,6 +70,7 @@ rm -rf %{buildroot}
 %manifest libomxil-e3250-v4l2.manifest
 %{_libdir}/*.so*
 %{_libdir}/omx/*.so
+%{_datadir}/license/%{name}
 
 
 %files devel