Change dbus service file name and user
authorWonkyu Kwon <wonkyu.kwon@samsung.com>
Tue, 23 Apr 2013 02:36:48 +0000 (11:36 +0900)
committerWonkyu Kwon <wonkyu.kwon@samsung.com>
Tue, 23 Apr 2013 02:37:25 +0000 (11:37 +0900)
Change-Id: I210150f6dc7059723677971a7c92ff10484b9939

packaging/smartcard-service.spec
server/CMakeLists.txt
server/org.tizen.smartcard_service.service [moved from server/smartcard-service.service with 89% similarity]

index 8c8af1a..4ba54b6 100644 (file)
@@ -1,7 +1,7 @@
 Name:       smartcard-service
 Summary:    Smartcard Service FW
-Version:    0.1.16
-Release:    1
+Version:    0.1.18
+Release:    0
 Group:      libs
 License:    Apache-2.0
 Source0:    %{name}-%{version}.tar.gz
@@ -136,6 +136,6 @@ cp -af %{_builddir}/%{name}-%{version}/packaging/smartcard-service-server %{buil
 #IFNDEF USE_AUTOSTART
 #/etc/init.d/smartcard-service-server
 #ELSE
-/usr/share/dbus-1/services/smartcard-service.service
+/usr/share/dbus-1/services/org.tizen.smartcard_service.service
 #ENDIF
 /usr/share/license/smartcard-service-server
index cfa626a..abcd35d 100644 (file)
@@ -56,5 +56,5 @@ TARGET_LINK_LIBRARIES(${PROJECT_NAME} ${pkgs_server_LDFLAGS} "-L../common" "-lsm
 
 INSTALL(TARGETS ${PROJECT_NAME} DESTINATION bin)
 IF("${USE_AUTOSTART}" STREQUAL "1")
-       INSTALL(FILES ${CMAKE_CURRENT_SOURCE_DIR}/smartcard-service.service DESTINATION share/dbus-1/services)
+       INSTALL(FILES ${CMAKE_CURRENT_SOURCE_DIR}/org.tizen.smartcard_service.service DESTINATION share/dbus-1/services)
 ENDIF()
similarity index 89%
rename from server/smartcard-service.service
rename to server/org.tizen.smartcard_service.service
index 30f31ed..204a686 100644 (file)
@@ -1,3 +1,4 @@
 [D-BUS Service]
 Name=org.tizen.smartcard_service
 Exec=/usr/bin/smartcard-daemon
+User=root
\ No newline at end of file