score:8
If your flight is direct from Barcelona you can indeed buy a standard bottle of wine (or even several, depending on what country you go to.)
The limit to go through security is 100 ml per bottle, all bottles and other liquids have to go into the one liter bag.
After security you will find shops and they will seal the bottle in a bag to show you bought it from them.
This is not only Ryanair, this is common for all airlines which leave from European (and other) airports.
On the other end of your journey you will need to go through customs, (even when flying within Schengen.) Best check the information for your country (which you do not mention) to see how much you may bring home. If you want to buy more, you have to go through the red channel and declare what you bought.
I checked this site by IATA and it looks like you can bring twenty liters of wine or ten of stronger spirits. This is for Portugal but would also be the same for other EU countries. The 'within the EU' limits are so high you can not take them into the plane.
Upvote:2
This is no problem. Any liquids and gels you buy after passing through security, you can bring on board, and you can usually take a duty free shopping bag in addition to your other hand luggage.
While duty free spirits are usually sealed, you can also bring unsealed liquids (e.g. a bottle of water you bought at the airport for the flight), although most airline prohibit consumption of your own alcohol while on board.
Of course anything you bring is subject to customs (wether in hand luggage or checked in). This is not a problem within EU countries, but take care - Switzerland is "Europe", but not in the EU, and there are also regions with special customs rules (like the Canaries) - always check your customs allowance before passing through.