I haven't tried this myself, but it might be useful if your books are in a room that gets a lot of sunlight. (I still wouldn't leave a bookcase direct sunlight.)
It's not tinted, so you could put it on the glass in your bookcase doors instead of the room's windows for a little added protection.
Clear UV Window Film
Amazon Listings