It depends -
I have some developers who spend nearly all of their work-time writing code. I try to manage them directly so this is the case. They are happier, I am happier (since they're more productive), and things work more smoothly overall.
I have other developers who work better and who have other skills than writing code. I often have them do other work - whether its administrative, etc.
However, at some point, I recommend realizing that writing code includes maintenance, documentation, and other non-pure-code writing activities. I will not hire a dev. who refuses to maintain their own code - or who grumbles about documentation.
The time for pure code for the sake of code isn't necessarily at work. The programmers who I have always admired write code in their free time, and this is the time where they write code purely for the love of writing code, and tend to have little to no other activities. Programming professionally includes other activities.
I personally only write code probably 30-40% of the time, at this point. Most of my other time is spent in management and administration. When I do write code, it's typically OO or functional in nature, in a scientific analysis and visualization field.
As for the libraries question (which seems like a separate question) - more libraries, at this point, often means more work, not less. It's very tough to keep up with the pace that the world is changing. This means doing a lot of "coding" out of work, for fun, just to stay current.
-- Edit --
This question actually made me think - and one thing that came to mind:
It seems like the tone of the question is suggesting that not writing code 100% of the time is a bad thing. Meetings, administration, maintenance, and all of the "other" work that happens around writing code is important, too. I recognize that some companies manage their developers very poorly, and I'm not necessarily talking about those (which I refuse to do any work with if I can avoid it). I'm talking about a normal, reasonably healthy working environment. In a "normal" or "good" atmosphere, there is great value in the other activities.
For example, I regularly teach our software's end users. There is absolutely no code writing involved, but it's some of the most productive time I have in terms of developing and furthering our software. It teaches me how and where the end users of our software are struggling, and helps me think of new ways to continually improve.
There is a lot more to programming than the act of sitting down and typing. Time spent outside of the code, whether in meetings, trainings, adminstration, and particularly maintenance, help to illustrate the problems in your software. Illustrating the problems is the first step in the innovation of new solutions.
I highly recommend learning to appreciate the time spent doing other activities. As I mentioned originally, you can always code for fun, and that's incredibly rewarding and valuable. The time doing "other work" is valuable, and shouldn't be discounted.