one more question: for font packages which do not have any fontconfig
files, how should I formulate the %_font_pkg line? One of the examples is
wqy-unibit-fonts, I kept only the font file following -f but rpm failed when
compiling.

Qianqian

Qianqian Fang wrote:
it works! thank you

Qianqian

Caius "kaio" Chance wrote:
Yes, I have experienced same thing before. :)

%setup -q -n %{name}-%{version}.devel

You could set the directory extracted from tarball with any name. In
above example, %{name}-%{version}.devel

i.e. '%setup -q -n wqy-zenhei-fonts-0.8.34' should works for you, but it
should be better to have %{fontname}-fonts-%{version} like naming.

Best Regards,
kaio


- --
Caius Chance, Soft Eng, I18N, Red Hat APAC, cchance AT redhat DOT com
JP (Qual), RHCE, MCSE, CCNA, JLPT4, http://apac.redhat.com/disclaimer
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org

iEYEARECAAYFAkmQyRAACgkQmo+B7bGj5dIryQCdE82uCgvJjc+QTDP3nfUUw0NX
bdgAnji03KKWc+ofU2yF3wdaEqEFR++E
=Vw+W
-----END PGP SIGNATURE-----


_______________________________________________
Fedora-fonts-list mailing list
Fedora-fonts-list@redhat.com
https://www.redhat.com/mailman/listinfo/fedora-fonts-list


_______________________________________________
Fedora-fonts-list mailing list
Fedora-fonts-list@redhat.com
https://www.redhat.com/mailman/listinfo/fedora-fonts-list

Reply via email to