The spell prestidigitation can light a pipe if one's willing to look to Pathfinder's antecedent
Pathfinder is unable to use material from Tome and Blood (July 2001), one of the earliest Dungeons & Dragons, Third Edition supplements that was authored by Third Edition co-designer Skip Williams. In Tome and Blood in the section Fun with Prestidigitation, many common uses of the spell are detailed, including firefinger:
You cause a jet of flame up to 1/2 foot long to shoot forth from your finger. The flame is hot and ignites combustible materials. Lighting a torch with this effect is a standard action (rather than a full-round action), but lighting any other fire with it takes at least a standard action (DM's discretion). (80)
(Emphasis mine.) One-and-a-half inches, I think, should be just about right for pipe-lighting.
The Wizards of the Coast Excerpts Web column "Tome and Blood: A Guidebook to Wizards and Sorcerers" includes the section Fun with Prestidigitation. (Readers can compare the Dungeons & Dragons 3.5 spell prestidigitation here with the Pathfinder version here; they're nearly identical.)
Note: The Pathfinder spell spark has a significant advantage over the firefinger use of the prestidigitation spell: the spark spell's range is 25 ft. +5 ft./2 levels compared to the prestidigitation spell's unchanging 10 ft.