[Tizen-submit] 5893: Changes to Tizen/capi-ui-efl-util

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


Hi,
Prajwal Mohan have made the following changes to capi-ui-efl-util in project Tizen. Please review and accept ASAP.

Thank You,

[This message was auto-generated]

---

Request: #5893

  submit:       Tizen:build/capi-ui-efl-util(cleanup) -> Tizen


Message:
Submitter: Prajwal Mohan <prajwal.karur.mohan at intel.com>
Comments: submit/tizen/20130517.044629
Git project: platform/core/api/efl-util
Tag: submit/tizen/20130517.044629
Commit: e13a7df Fixed build on x86_64.

State:   accepted   2013-05-16T22:42:03 pkarurmo
Comment: Reviewed Ok

History: new        2013-05-16T21:43:49 tizenrobot
spec files:
-----------
--- capi-ui-efl-util.spec
+++ capi-ui-efl-util.spec
@@ -1,9 +1,8 @@
-#sbs-git:slp/api/efl-util capi-ui-efl-util 0.1.0 4d35c6180088e0d005081bf798ab6a20b05e9f14
 Name:       capi-ui-efl-util
 Summary:    An EFL utility library in SLP C API
 Version: 0.1.0
 Release:    1
-VCS:        platform/core/api/efl-util#submit/tizen/20130517.015132-0-gd130edf
+VCS:        platform/core/api/efl-util#submit/tizen/20130517.044629-0-ge13a7df
 Group:      TO_BE/FILLED_IN
 License:    TO BE FILLED IN
 Source0:    %{name}-%{version}.tar.gz
@@ -13,8 +12,6 @@
 BuildRequires:  pkgconfig(utilX)
 BuildRequires:  pkgconfig(elementary)
 BuildRequires:  pkgconfig(capi-base-common)
-Requires(post): /sbin/ldconfig
-Requires(postun): /sbin/ldconfig
 
 %description
 
@@ -32,15 +29,16 @@
 
 %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}
 %make_install
 
+# for license notification
+mkdir -p %{buildroot}/usr/share/license
+cp -a LICENSE.APLv2 %{buildroot}/usr/share/license/%{name}
+
 %post -p /sbin/ldconfig
 
 %postun -p /sbin/ldconfig
@@ -48,6 +46,7 @@
 
 %files
 %{_libdir}/libcapi-ui-efl-util.so.*
+/usr/share/license/%{name}
 
 %files devel
 %{_includedir}/ui/*.h

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

++++++ capi-ui-efl-util-0.1.0.tar.gz
--- CMakeLists.txt
+++ CMakeLists.txt
@@ -28,7 +28,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 "-Wl,--as-needed -Wl,--rpath=${LIB_INSTALL_DIR}")
 
 aux_source_directory(src SOURCES)
 ADD_LIBRARY(${fw_name} SHARED ${SOURCES})
@@ -42,7 +42,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/ui
         FILES_MATCHING
@@ -60,7 +60,7 @@
     ${CMAKE_CURRENT_SOURCE_DIR}/${fw_name}.pc
     @ONLY
 )
-INSTALL(FILES ${CMAKE_CURRENT_SOURCE_DIR}/${fw_name}.pc DESTINATION lib/pkgconfig)
+INSTALL(FILES ${CMAKE_CURRENT_SOURCE_DIR}/${fw_name}.pc DESTINATION ${LIB_INSTALL_DIR}/pkgconfig)

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


More information about the Tizen-submit mailing list