This file will generate a cut pattern for a laser cutter which will assemble into a spice rack. It was designed with 1/4" material in mind but it will adjust itself reasonably well if you use something else.
Cut out at least 2 sides and as many beams as needed to connect them. I used wood glue to ensure it all stays together.