[Bug 477429] [myanmar3-unicode-fonts] Please convert to new font packaging guidelines

bugzilla at redhat.com bugzilla at redhat.com
Sat Mar 14 05:36:07 UTC 2009

Please do not reply directly to this email. All additional
comments should be made in the comments box of this bug.


Rajeesh <rajeeshknambiar at gmail.com> changed:

           What    |Removed                     |Added
                 CC|                            |rajeeshknambiar at gmail.com

--- Comment #5 from Rajeesh <rajeeshknambiar at gmail.com>  2009-03-14 01:36:06 EDT ---
Offering help, with respect to bug #477044.

The following changes are needed in the SPEC file:

1. Remove the "%define fontdir" and "%define fontconfdir" (line 2 & 3)
2. Add "%define fontconf 65-%{fontname}" at the top
3. Add "BuildRequires: fontpackages-devel > 1.13"
4. Replace all the remaining "%{fontdir}" with "%{_fontdir}"
5. Change "install -m 0755 -d %{buildroot}%{fontconfdir}
   install -m 0644 -p %{SOURCE1}
%{buildroot}%{fontconfdir}/65-%{fontname}.conf" to:

    install -m 0755 -d %{buildroot}%{_fontconfig_templatedir} \
    install -m 0644 -p ${SOURCE1}
    for fconf in %{fontconf}-fonts.conf ; do
        ln -s %{_fontconfig_templatedir}/$fconf \

6. Remove all the %post and %postun sections
7. Replace the whole %files section to:
   %_font_pkg -f 65-%{fontname}.conf *.ttf
   %dir %{_fontdir}

Configure bugmail: https://bugzilla.redhat.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.

More information about the fonts-bugs mailing list