add spire dependency