Error estimates for spectral approximation of flow optimal control problem with $ L^2 $-norm control constraint