There are two issues... first the SPF record itself. IF you SEND all mail for yourdomain.com thru your mail server mail.yourdomain.com then your SPF record can be as simple as (assuming you use BIND): IN TXT "v=spf1 mx" All that SPF record says is that all mail from yourdomain.com is sent thru a server listed as an MX server in yourdomain.com.
As far as clamping down on spam... if you mean incoming spam then the above will do nothing to help that. It will help recipients that receive mail from yourdomain.com validate that the message is not spoofed.
SPF alone does very little these days. It becomes more powerful when combined with DKIM. If you're sending out messages that pass both SPF and DKIM most all servers will accept your messages for further spam filtering.
Good luck,
-Joe
Thanks,
-Joe