Margin req for a spread should be it's maximum loss. No matter how fancy it is.
http://individuals.interactivebrokers.com/en/index.php?f=marginnew&p=opt
(Select call spread or put spread)
One more thing: broker does not need you to allocate more cash than spread's maximum loss to be safe...