Fixed build submit/tizen/20130619.060219
authorAnas Nashif <anas.nashif@intel.com>
Wed, 19 Jun 2013 05:52:22 +0000 (01:52 -0400)
committerAnas Nashif <anas.nashif@intel.com>
Wed, 19 Jun 2013 05:57:23 +0000 (01:57 -0400)
AUTHORS [changed mode: 0755->0644]
CMakeLists.txt [changed mode: 0755->0644]
LICENSE [changed mode: 0755->0644]
capi-messaging-email.pc.in [changed mode: 0755->0644]
include/email.h [changed mode: 0755->0644]
include/email_error.h [changed mode: 0755->0644]
include/email_private.h [changed mode: 0755->0644]
include/email_types.h [changed mode: 0755->0644]
packaging/capi-messaging-email.changes [new file with mode: 0644]
packaging/capi-messaging-email.spec [changed mode: 0755->0644]
src/email.c [changed mode: 0755->0644]

diff --git a/AUTHORS b/AUTHORS
old mode 100755 (executable)
new mode 100644 (file)
old mode 100755 (executable)
new mode 100644 (file)
index 3d71d97..c3c3000
@@ -42,7 +42,7 @@ SET_TARGET_PROPERTIES(${fw_name}
     CLEAN_DIRECT_OUTPUT 1
 )
 
-INSTALL(TARGETS ${fw_name} DESTINATION lib)
+INSTALL(TARGETS ${fw_name} DESTINATION ${LIB_INSTALL_DIR})
 INSTALL(
     DIRECTORY ${INC_DIR}/ DESTINATION include/messaging
     FILES_MATCHING
@@ -60,7 +60,7 @@ CONFIGURE_FILE(
     ${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)
 
 IF(UNIX)
 
diff --git a/LICENSE b/LICENSE
old mode 100755 (executable)
new mode 100644 (file)
old mode 100755 (executable)
new mode 100644 (file)
index 9dc94c8..39f5cdb
@@ -3,7 +3,7 @@
 
 prefix=@PREFIX@
 exec_prefix=/usr
-libdir=/usr/lib
+libdir=@LIB_INSTALL_DIR@
 includedir=/usr/include
 
 Name: @PC_NAME@
old mode 100755 (executable)
new mode 100644 (file)
old mode 100755 (executable)
new mode 100644 (file)
old mode 100755 (executable)
new mode 100644 (file)
old mode 100755 (executable)
new mode 100644 (file)
diff --git a/packaging/capi-messaging-email.changes b/packaging/capi-messaging-email.changes
new file mode 100644 (file)
index 0000000..e593bca
--- /dev/null
@@ -0,0 +1,4 @@
+* Wed Jun 19 2013 Anas Nashif <anas.nashif@intel.com> accepted/tizen/20130520.100653@bdf7e97
+- Fixed build on 64bit
+- Fixed license and package groups
+
old mode 100755 (executable)
new mode 100644 (file)
index c8f923c..afe8328
@@ -2,8 +2,8 @@ Name:       capi-messaging-email
 Summary:    Email library in Tizen Native API
 Version:    0.1.14
 Release:    3
-Group:      TO_BE/FILLED_IN
-License:    TO BE FILLED IN
+Group:      Messaging/API
+License:    Apache-2.0
 Source0:    %{name}-%{version}.tar.gz
 BuildRequires:  cmake
 BuildRequires:  pkgconfig(dlog)
@@ -12,18 +12,17 @@ BuildRequires:  pkgconfig(edbus)
 BuildRequires:  pkgconfig(email-service)
 BuildRequires:  pkgconfig(capi-base-common)
 BuildRequires:  pkgconfig(capi-appfw-application)
-Requires(post): /sbin/ldconfig  
-Requires(postun): /sbin/ldconfig
 
 %description
+Email library in Tizen Native API.
 
 
 %package devel
 Summary:  Email library in Tizen Native API (Development)
-Group:    TO_BE/FILLED_IN
 Requires: %{name} = %{version}-%{release}
 
 %description devel
+%devel_desc
 
 
 
@@ -33,13 +32,11 @@ Requires: %{name} = %{version}-%{release}
 
 %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
 
 %post -p /sbin/ldconfig
@@ -48,6 +45,7 @@ rm -rf %{buildroot}
 
 
 %files
+%license LICENSE
 %{_libdir}/libcapi-messaging-email.so.*
 
 %files devel
old mode 100755 (executable)
new mode 100644 (file)