These macs use a custom power supply, you cannot use any-old-power supply.
Inside Your Power Mac—Your Computer’s Internal Expansion Options 18. Information about using your monitor is available in Mac Help. To register a new Apple display with Apple, go to the Apple World Wide Web site. Power Mac G4 (Gigabit Ethernet): Setting Up (Manual). Fans for computer cooling.
You enter something like 'Mac-Pro-2010 power-supply' into a search. It brings up sellers who have similar parts available. Refine the search at one of those sites, and you get one or more of the Apple part numbers for that supply, like 661-5449.
Enter that part number in a search and you get vendors who feature that part, new and used, like this one used for $169:
Are you SURE the power supply went out? Did you replace the 3 Volt US$3 battery first?
Mar 3, 2016 7:21 PM
Customer safety is a top priority at Apple. That’s why all our products—including USB power adapters for iPhone, iPad, and iPod touch—undergo rigorous testing for safety and reliability and are designed to meet government safety standards around the world.
For more information about charging your iPhone, iPad, or iPod touch, refer to the Safety, Handling, and Support section of the iPhone User Guide, iPad User Guide, or iPod User Guide.
The Apple 18W USB-C power adapter can fast charge your iPhone 8 or later.
Every iOS device comes with an Apple USB power adapter that is certified to meet government safety standards in countries and regions where the device is available. Many of these countries and regions, including the United States, have adopted the Safety of Information Technology Equipment standard, IEC/UL 60950-1.
Apple USB power adapters are designed for use with power sources rated to provide 100V AC to 240V AC at 50Hz to 60Hz. The Type A (flat parallel-blade design) Apple 5W USB and 18W USB-C power adapters, as well as the 10W and 12W USB power adapters (with Type A AC plug attached) also comply with the IEC/UL 60950-1 standard for use with power sources rated to provide 115V AC at 400Hz.
These power adapters are also available separately from Apple and authorized Apple resellers.