Change-Id: Ic0b40317abc154e6689fac300e692241084786fe
Signed-off-by: Jihoon Jung <jh8801.jung@samsung.com>
mkdir -p %{buildroot}/etc/dbus-1/system.d/
cp -af %{_builddir}/%{name}-%{version}/packaging/org.tizen.SmartcardService.conf %{buildroot}/etc/dbus-1/system.d/
-install -D -m 0644 server/org.tizen.SmartcardService.service %{buildroot}/%{_unitdir}/org.tizen.SmartcardService.service
%files
%manifest %{name}.manifest
%defattr(-,root,root,-)
%{_bindir}/smartcard-daemon
%{_sysconfdir}/dbus-1/system.d/org.tizen.SmartcardService.conf
-%{_unitdir}/org.tizen.SmartcardService.service
+%{_datadir}/dbus-1/system-services/org.tizen.SmartcardService.service
%if 0%{?gtests:1}
%{_bindir}/gtest*
%endif
TARGET_LINK_LIBRARIES(${PROJECT_NAME} ${pkgs_LDFLAGS} "-L../common" "-lsmartcard-service-common" "-pie -ldl")
INSTALL(TARGETS ${PROJECT_NAME} DESTINATION /usr/bin)
+INSTALL(FILES ${CMAKE_CURRENT_SOURCE_DIR}/org.tizen.SmartcardService.service DESTINATION share/dbus-1/system-services)