modified spec for copying linecse file
authorGilbok Lee <gilbok.lee@samsung.com>
Tue, 8 Oct 2013 05:45:36 +0000 (14:45 +0900)
committerGilbok Lee <gilbok.lee@samsung.com>
Tue, 8 Oct 2013 05:45:36 +0000 (14:45 +0900)
packaging/libmm-player.spec

index 66147fd..c51813e 100644 (file)
@@ -46,6 +46,8 @@ LDFLAGS+="-Wl,--rpath=%{_libdir} -Wl,--hash-style=both -Wl,--as-needed"; export
 make -j1 
 
 %install
+mkdir -p %{buildroot}/usr/share/license
+cp LICENSE.APLv2 %{buildroot}/usr/share/license/%{name}
 %make_install
 
 %post -p /sbin/ldconfig
@@ -57,7 +59,7 @@ make -j1
 %manifest libmm-player.manifest
 %defattr(-,root,root,-)
 %{_libdir}/*.so.*
-
+/usr/share/license/%{name}
 
 %files devel
 %defattr(-,root,root,-)