Revise CMakeLists and spec file for sound_manager_test 41/74841/1 accepted/tizen/common/20160620.162520 accepted/tizen/common/20160707.172123 accepted/tizen/ivi/20160617.082458 accepted/tizen/mobile/20160617.082000 accepted/tizen/tv/20160617.082045 accepted/tizen/wearable/20160617.082145 submit/tizen/20160616.065630 submit/tizen/20160707.103558
authorSangchul Lee <sc11.lee@samsung.com>
Thu, 16 Jun 2016 00:29:50 +0000 (09:29 +0900)
committerSangchul Lee <sc11.lee@samsung.com>
Thu, 16 Jun 2016 00:34:26 +0000 (09:34 +0900)
 - use %{_bindir} instead of /usr/bin in spec file
 - use INSTALL command in CMakeLists file

[Version] Release 0.3.53
[Profile] Common
[Issue Type]

Change-Id: I5ad18b050d6dd424e27ddd1b5caa3453a3241856
Signed-off-by: Sangchul Lee <sc11.lee@samsung.com>
AUTHORS
packaging/capi-media-sound-manager.spec
test/CMakeLists.txt

diff --git a/AUTHORS b/AUTHORS
index b0dbe7a9b05bb955d5b5fbef7de668e6f188fd42..2b6b8b23ae75ef9d7d8983b56f82f6e629030751 100644 (file)
--- a/AUTHORS
+++ b/AUTHORS
@@ -1,2 +1,3 @@
 Seungbae Shin <seungbae.shin@samsung.com>
 Sangchul Lee <sc11.lee@samsung.com>
+Jeongho Mok <jho.mok@samsung.com>
index a499cdbc519b7fc3229c3464e3f61853bddba858..955c229bd4255017620f66512658f3d7f61b3bd2 100755 (executable)
@@ -1,6 +1,6 @@
 Name:       capi-media-sound-manager
 Summary:    Sound Manager library
-Version:    0.3.52
+Version:    0.3.53
 Release:    0
 Group:      Multimedia/API
 License:    Apache-2.0
@@ -42,9 +42,7 @@ MAJORVER=`echo %{version} | awk 'BEGIN {FS="."}{print $1}'`
 %install
 rm -rf %{buildroot}
 mkdir -p %{buildroot}/usr/share/license
-mkdir -p %{buildroot}/usr/bin
 cp LICENSE %{buildroot}/usr/share/license/%{name}
-cp test/sound_manager_test %{buildroot}/usr/bin
 
 %make_install
 
@@ -58,7 +56,7 @@ cp test/sound_manager_test %{buildroot}/usr/bin
 %manifest %{name}.manifest
 %{_libdir}/libcapi-media-sound-manager.so.*
 %{_datadir}/license/%{name}
-/usr/bin/sound_manager_test
+%{_bindir}/sound_manager_test
 
 %files devel
 %manifest %{name}.manifest
index 05a2f146bb68a01d06ec0ff9453db5a8579b5dd9..a27cf447cb531ba63c74b06db4360f8561ae87ca 100644 (file)
@@ -16,3 +16,5 @@ FOREACH(src ${sources})
     ADD_EXECUTABLE(${src_name} ${src})
     TARGET_LINK_LIBRARIES(${src_name} ${fw_name} ${${fw_test}_LDFLAGS})
 ENDFOREACH()
+
+INSTALL(TARGETS sound_manager_test DESTINATION bin)