Funny this topic should come up, I just cooked myself some Spanish rice tonight. Although, tbh I sometimes can't tell the difference between Spanish and Mexican rice.
I cooked up some garlic, onion, jalapenos, and browned rice in a skillet. Then I added it to a pot and cooked it in vegetable broth. I also added in some tomatoes, green chilis, and red pepper flakes to make it extra spicy. After the rice is cooked I add lime juice and cilantro on top. Delicious!