[Tizen-submit] 5915: Changes to Tizen/capi-system-runtime-info

noreply at tizen.org noreply at tizen.org
Mon May 20 11:36:12 GMT 2013


Hi,
Prajwal Mohan have made the following changes to capi-system-runtime-info in project Tizen. Please review and accept ASAP.

Thank You,

[This message was auto-generated]

---

Request: #5915

  submit:       Tizen:build/capi-system-runtime-info(cleanup) -> Tizen


Message:
Submitter: Prajwal Mohan <prajwal.karur.mohan at intel.com>
Comments: submit/tizen/20130517.044717
Git project: platform/core/api/runtime-info
Tag: submit/tizen/20130517.044717
Commit: 08ed71a Fix for x86_64 compatibility.

State:   accepted   2013-05-16T22:41:00 pkarurmo
Comment: Reviewed Ok

History: new        2013-05-16T21:44:36 tizenrobot
old:
----
  capi-system-runtime-info-0.0.1.tar.gz

new:
----
  capi-system-runtime-info-0.0.3.tar.gz

spec files:
-----------
--- capi-system-runtime-info.spec
+++ capi-system-runtime-info.spec
@@ -1,10 +1,10 @@
 Name:       capi-system-runtime-info
 Summary:    A Runtime Information library in Tizen Native API
-Version:    0.0.1
-Release:    9
-VCS:        platform/core/api/runtime-info#submit/tizen/20130517.015230-0-g9957a7f
-Group:      TO_BE/FILLED_IN
-License:    TO BE FILLED IN
+Version:    0.0.3
+Release:    0
+VCS:        platform/core/api/runtime-info#submit/tizen/20130517.044717-0-g08ed71a
+Group:      System/Libraries
+License:    Apache License, Version 2.0
 Source0:    %{name}-%{version}.tar.gz
 BuildRequires:  cmake
 BuildRequires:  pkgconfig(dlog)
@@ -32,13 +32,17 @@
 
 %build
 MAJORVER=`echo %{version} | awk 'BEGIN {FS="."}{print $1}'`  
-cmake . -DCMAKE_INSTALL_PREFIX=/usr -DFULLVER=%{version} -DMAJORVER=${MAJORVER} 
+%cmake . -DFULLVER=%{version} -DMAJORVER=${MAJORVER}
 
 
 make %{?jobs:-j%jobs}
 
 %install
 rm -rf %{buildroot}
+
+mkdir -p %{buildroot}/usr/share/license
+cp -f LICENSE.APLv2 %{buildroot}/usr/share/license/%{name}
+
 %make_install
 
 %post -p /sbin/ldconfig
@@ -48,6 +52,8 @@
 
 %files
 %{_libdir}/lib*.so.*
+/usr/share/license/%{name}
+%manifest runtime-info.manifest
 
 %files devel
 %{_includedir}/system/*.h

other changes:
--------------

++++++ capi-system-runtime-info-0.0.1.tar.gz -> capi-system-runtime-info-0.0.3.tar.gz
--- CMakeLists.txt
+++ CMakeLists.txt
@@ -29,7 +29,7 @@
 ADD_DEFINITIONS("-DPREFIX=\"${CMAKE_INSTALL_PREFIX}\"")
 ADD_DEFINITIONS("-DSLP_DEBUG")
 
-SET(CMAKE_EXE_LINKER_FLAGS "-Wl,--as-needed -Wl,--rpath=/usr/lib")
+SET(CMAKE_EXE_LINKER_FLAGS "-fvisibility=hidden -Wl,--as-needed -Wl,--rpath=${LIB_INSTALL_DIR}")
 
 aux_source_directory(src SOURCES)
 ADD_LIBRARY(${fw_name} SHARED ${SOURCES})
@@ -43,7 +43,7 @@
      CLEAN_DIRECT_OUTPUT 1
 )
 
-INSTALL(TARGETS ${fw_name} DESTINATION lib)
+INSTALL(TARGETS ${fw_name} DESTINATION ${LIB_INSTALL_DIR})
 INSTALL(
         DIRECTORY ${INC_DIR}/ DESTINATION include/system
         FILES_MATCHING
@@ -61,7 +61,7 @@
     ${CMAKE_CURRENT_SOURCE_DIR}/${fw_name}.pc
     @ONLY

Please refer to OBS webUI for more details about this SR.


More information about the Tizen-submit mailing list