Click the image for high resolution
As it is a library there are tonnes of books. However, I only used 2 meshes for all the books. Design of the books could be changed by the material settings, which I used to make it look like there are more variations more than there actually are.
As for the layout of the books, the thickness and colour are randomised to make them look less alike and more natural and realistic.