| OLD | NEW |
| 1 # Introduction | 1 # `msttcorefonts` on Mandriva |
| 2 | 2 |
| 3 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 a
nd complete | 3 The `msttcorefonts` are needed to build Chrome but are not available for |
| 4 Mandriva. Building your own is not hard though and only takes about 2 minutes to |
| 5 set up and complete |
| 4 | 6 |
| 7 urpmi rpm-build cabextract |
| 5 | 8 |
| 6 # Details | 9 Download this script, make it executable and run it: |
| 10 http://wiki.mandriva.com/en/uploads/3/3a/Rpmsetup.sh |
| 7 | 11 |
| 8 ``` | 12 It will create a directory `~/rpm` and some hidden files in your home directory. |
| 9 urpmi rpm-build cabextract | |
| 10 ``` | |
| 11 | 13 |
| 12 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 | 14 open the file `~/.rpmmacros` and comment out the following lines by putting a # |
| 15 in front of them, eg like this (because most likely you won't have a gpg key set |
| 16 up and creating the package will fail if you leave these lines): |
| 13 | 17 |
| 14 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 u
p and creating the package will fail if you leave these lines): | 18 #%_signature gpg_ |
| 15 | 19 |
| 16 #%_signature gpg_ | 20 #%_gpg_name Mandrivalinux_ |
| 17 | 21 |
| 18 #%_gpg\_name Mandrivalinux_ | 22 #%_gpg_path ~/.gnupg_ |
| 19 | 23 |
| 20 #%_gpg\_path ~/.gnupg_ | 24 download the following file |
| 25 http://corefonts.sourceforge.net/msttcorefonts-2.0-1.spec and save it to |
| 26 `~/rpm/SPECS` |
| 21 | 27 |
| 22 download the following file http://corefonts.sourceforge.net/msttcorefonts-2.0-1
.spec and save it to ~/rpm/SPECS | 28 cd ~/rpm/SPECS |
| 29 rpmbuild -bb msttcorefonts-2.0-1.spec |
| 23 | 30 |
| 24 ``` | 31 the rpm will be build and be put in `~/rpm/RPMS/noarch` ready to install |
| 25 cd ~/rpm/SPECS | |
| 26 | |
| 27 rpmbuild -bb msttcorefonts-2.0-1.spec | |
| 28 ``` | |
| 29 | |
| 30 the rpm will be build and be put in ~/rpm/RPMS/noarch ready to install | |
| OLD | NEW |