I imagine that it will require the libraries to be touched up a bit and an overall code test will be required, but given that spark is 'arduino compatible' I believe most of it will work okay. I don't think I can test/compile without an actual device though so I can't tell for sure.
Remember...