This translation sounds weird to me. I can see using it in a conversation like "That movie? My uncle is the author of the book." but if it just means that my uncle wrote a book, then "My uncle is the author of a book" sounds more natural.
So is the Spanish sentence talking about a particular book, or is it just a way of saying "My uncle writes books"?