Regardless, spider beetles are also known as Ptinid beetles and are generally small and oval in shape, often resembling upon causal inspection a small spider. They are usually scavengers and tend to be resistant to cold. While found in museums and libraries, they are usually overshadowed by the dermestids and more commonly discussed pantry pests.
Control begins with sanitation.
Control also requires attention to where they are coming from. Many spider beetles are nocturnal, wandering about in search of food. Applying sprays in the hope that you will get to the problem area isn't a particularly good approach, although it seems to be used rather commonly by PCOs. Hope this is of some help.