This is a remix of a model made by SayersDesign on printables.
I had a few rails left over after removing a wardrobe that I decided to put to use.
This design uses a standard 30mm x 15mm wardrobe rail. It is attached to the wall using 5mm x 60mm wood screws.
The bar shown in the image is 860mm and the design with this length will hold 12 spools.
Notes
The opening for the hole is very tight, this is to ensure the pole sits snug. The end caps are also very tight as these will prevent the poles from being pushed out from the ends, I recommend using a hammer or similar to gently tap these into place once assembling