A Taliban spokesman says Friday's suicide attack on a paramilitary academy was in revenge for the death of Osama bin Laden.