-
-%files common-devel
-%manifest %{name}-common-devel.manifest
-%defattr(-,root,root,-)
-%{_includedir}/%{name}-common/*
-%{_libdir}/lib%{name}-common.so
-%{_libdir}/pkgconfig/%{name}-common.pc
-
-
-################################################################################
-# package : smartcard-service-server #
-################################################################################
-%global bindir /usr/apps/%{name}-server
-
-%package server
-Summary: server smartcard service
-Group: Development/Libraries
-Requires: %{name}-common = %{version}-%{release}
-
-
-%description server
-smartcard service server
-
-
-%post server
-/usr/bin/signing-client/hash-signer-client.sh -a -d -p platform %{bindir}
-%if 0%{!?use_autostart:1}
- ln -sf /etc/init.d/%{name}-server /etc/rc.d/rc3.d/S79%{name}-server
- ln -sf /etc/init.d/%{name}-server /etc/rc.d/rc5.d/S79%{name}-server
-%endif
-ln -sf /usr/apps/%{name}-server/bin/smartcard-daemon /usr/bin/smartcard-daemon
-%if 0%{?test_client:1}
- ln -sf /usr/apps/%{name}-server/bin/smartcard-test-client /usr/bin/smartcard-test-client
-%endif
-
-
-%postun server
-%if 0%{!?use_autostart:1}
- rm -f /etc/rc.d/rc3.d/S79%{name}-server
- rm -f /etc/rc.d/rc5.d/S79%{name}-server
-%endif
-rm -f /usr/bin/smartcard-daemon
-
-
-%files server
-%manifest %{name}-server.manifest
-%defattr(-,root,root,-)
-%{bindir}/bin/smartcard-daemon
-%if 0%{?test_client:1}
- %{bindir}/bin/smartcard-test-client
-%endif
-%if 0%{?use_autostart:1}
- %{_datadir}/dbus-1/system-services/org.tizen.SmartcardService.service
-%else
- %{_sysconfdir}/init.d/%{name}-server
-%endif
-%{bindir}/%{name}-server
-%{bindir}/author-signature.xml
-%{bindir}/signature1.xml
-/etc/dbus-1/system.d/org.tizen.SmartcardService.conf
-
-################################################################################
-# common... #
-################################################################################