How to use SPI on Colibri VF-50 in LINUX (Not in win CE)

I want to write a C program to use SPI of colibri vf-50 (base board viola 1.1) in Linux (not in windows). I know hardware connections. But what i need is a simple step by step tutorial to do so. There are windows CE lib available for this but i want it on linux.,

Please have a look at the spidev test code. Devices connected over SPI are accessed using spidev in Linux. A SDK setup would be recommended. Also have a look at SPI Linux article.