Revert "Fixed build on x86_64."
authorwootak.jung <wootak.jung@samsung.com>
Sun, 24 Mar 2013 05:57:37 +0000 (14:57 +0900)
committerwootak.jung <wootak.jung@samsung.com>
Sun, 24 Mar 2013 08:22:53 +0000 (17:22 +0900)
This reverts commit d4526cb97305b553006233f80fefc0ae638ed3ca

CMakeLists.txt
packaging/tel-plugin-packetservice.spec

index 71a4479..db07791 100644 (file)
@@ -79,5 +79,5 @@ ADD_DEPENDENCIES(${PROJECT_NAME} ps-iface-context-glue.h)
 INSTALL(FILES ${CMAKE_SOURCE_DIR}/src/ps-plugin.conf DESTINATION ${SYSCONFDIR}/dbus-1/system.d)
 INSTALL(FILES ${CMAKE_SOURCE_DIR}/resources/dnet_db.sql DESTINATION ${DATAROOTDIR}/ps-plugin)
 INSTALL(FILES ${CMAKE_SOURCE_DIR}/resources/dnet_db_data.sql DESTINATION ${DATAROOTDIR}/ps-plugin)
-INSTALL(TARGETS ps-plugin LIBRARY DESTINATION ${LIB_INSTALL_DIR}/telephony/plugins)
+INSTALL(TARGETS ps-plugin LIBRARY DESTINATION lib/telephony/plugins)
 INSTALL(FILES ${CMAKE_SOURCE_DIR}/LICENSE DESTINATION /usr/share/license RENAME tel-plugin-packetservice)
index 4719d6e..9b3987e 100644 (file)
@@ -1,6 +1,7 @@
+#sbs-git:slp/pkgs/t/tel-plugin-packetservice
 Name:       tel-plugin-packetservice
 Summary:    Telephony Packet Service library
-Version:    0.1.34
+Version: 0.1.34
 Release:    1
 Group:      System/Libraries
 License:    Apache
@@ -21,7 +22,7 @@ Telephony Packet Service library
 %setup -q
 
 %build
-%cmake . -DSYSCONFDIR=%{_sysconfdir}
+cmake . -DCMAKE_INSTALL_PREFIX=%{_prefix} -DSYSCONFDIR=%{_sysconfdir}
 make %{?jobs:-j%jobs}
 
 %post 
@@ -42,12 +43,12 @@ rm -f /usr/share/ps-plugin/dnet_db_data.sql
 #change file permission
 if [ -f /opt/dbspace/.dnet.db ]
 then
-  chmod 660 /opt/dbspace/.dnet.db
+       chmod 660 /opt/dbspace/.dnet.db
 fi
 
 if [ -f /opt/dbspace/.dnet.db-journal ]
 then
-  chmod 664 /opt/dbspace/.dnet.db-journal
+       chmod 664 /opt/dbspace/.dnet.db-journal
 fi
 
 %postun -p /sbin/ldconfig
@@ -59,6 +60,7 @@ mkdir -p %{buildroot}/usr/share/license
 %files
 %manifest tel-plugin-packetservice.manifest
 %defattr(-,root,root,-)
+#%doc COPYING
 /usr/share/ps-plugin/dnet_db.sql
 /usr/share/ps-plugin/dnet_db_data.sql
 %{_sysconfdir}/dbus-1/system.d/*