msttcorefonts on Mandriva

The msttcorefonts are needed to build Chrome but are not available for Mandriva. Building your own is not hard though and only takes about 2 minutes to set up and complete

urpmi rpm-build cabextract

Download this script, make it executable and run it: http://wiki.mandriva.com/en/uploads/3/3a/Rpmsetup.sh

It will create a directory ~/rpm and some hidden files in your home directory.

open the file ~/.rpmmacros and comment out the following lines by putting a # in front of them, eg like this (because most likely you won't have a gpg key set up and creating the package will fail if you leave these lines):

#%_signature             gpg_

#%_gpg_name              Mandrivalinux_

#%_gpg_path              ~/.gnupg_

download the following file http://corefonts.sourceforge.net/msttcorefonts-2.0-1.spec and save it to ~/rpm/SPECS

cd ~/rpm/SPECS
rpmbuild -bb msttcorefonts-2.0-1.spec

the rpm will be build and be put in ~/rpm/RPMS/noarch ready to install