[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.


https://bugzilla.redhat.com/show_bug.cgi?id=477429


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} \
                %{buildroot}%{_fontconfig_confdir}
    install -m 0644 -p ${SOURCE1}
%{buildroot}%{_fontconfig_templatedir}/%{fontconf}-fonts.conf
    for fconf in %{fontconf}-fonts.conf ; do
        ln -s %{_fontconfig_templatedir}/$fconf \
              %{buildroot}%{_fontconfig_confdir}/$fconf
    done

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 Fedora-fonts-bugs-list mailing list