How can I see if an OS X install disc is compatible with the computer I'm installing on? I have an old Mac Mini G4. I'm trying to do a fresh OS install on it. According to my searches, the last OS version that will run on it is 10.5.8. 
I have several install disks lying around, which came with various Macs I've bought over the years.  

I've been trying to install some of these on my Mini G4, but when I reboot from e.g. a 10.5.4 installation CD or DVD, I get a message that my Mac isn't supported by this installer. These disks are labeled with the OS version, but offer no indication of which Macs I can use them on. 

Is there a way to check which Macs can be installed from a given installation CD/DVD?
Here is a complete list of all OS X versions and builds included with Mac computers. To get the build number of a DVD check the /System/Library/CoreServices/SystemVersion.plist file that is on the Install Media.

The string value for the Key ProductBuildVersion is the information you are looking for.

Now you can either check all of the bundled DVDs for the proper build number of your Mac Mini G4 or you can hack any of the DVDs (which potentially could be installed on your Mac) and include your machine in the "allowed" targets.

As an alternative you may "search" for a proper retail version.