Spanish police say they have detained 57 fans suspected of participating in a fight before a second-division match in October.