Packaged bakery foods company Flowers Foods has entered a contract to acquire Royal Cake Company a Winston-Salem based bakery currently operating in Chapter 11 bankruptcy. The contract is subject to approval by the bankruptcy court, it said.