Bookmaker is a Blender addon for generating a random-looking collection of books, in either a horizontal row or a vertical stack. I currently support two styles of book, softcover and hardcover, in any mixture. I also allow randomization of sizes and orientations, to make for a less “tidy” look. It can generate a collection of basic Cycles materials that you can customize later, or it can reuse materials assigned to an existing object.
You can get it here: